Important Linux Questions with Answers


What is the difference between Telnet and SSH?

Answer:  

SSH using PORT 22 and telnet using Port 23 ssh is a secured shell, where telnet is not a secured one.when you ssh to trasnfer data between a system, the data will be send in the encrypted form, where the hacker cannot encode or decode it. While you telnet,the data send between the system is alphabetical format(ASCII), where every one can understand. More over as per network security, telnet and ftp are prohibited. Always, trust SSL based data transfer.

How to recover a deleted file in linux ?

Answer:

Determine the partition in which the file you wish to recover was located by using the command pwd (present work directory) and unmount the current directory by using the command umount. Use the "debugfs" command. The "debugfs" command is used to handle most major errors and bugs that can occur in Linux by using #debugfs /usr/directory name.Use the "lsdel" once you have begun the debug of the file system.  Recover those files you wish to undelete and take backup of that file.

What is the difference between home directory and working directory?

Answer:

Home directory is one over which user have complete control and it is its default working directory when its logs in.  While the working directory is the users current directory which may or may not be his home directory.

What is the minimum number of partitions you need to install Linux?

Answer:

Well in my opinion is case if minimum nukber of partition is asked then better answer would be
/
/boot
/swap
You can install linux with minimum of three partitions.





Comments

Popular posts from this blog

ORACLE FORMS AND REPORTS 12C INSTALLATION DOCUMENT LINUX

Microsoft Office 2019 Installation Instructions for Windows

installation of Oracle BI Publisher 10.1.3.4.1

Configure physical standby database Oracle Database 11G release 2 (11.2)