-
-
-
-
Hard link and Soft link
What is the difference between hard link and soft link?
-
Portable UNIX
Why is UNIX more portable than other operating systems?
-
Find Open Ports
What UNIX command do you use to find out the open ports in a system?
-
-
-
Boot cdrom -s
when we give Boot cdrom -s which CD should be there inside cdrom ?
-
What does the command “ $who | sort ‚logfile > newfile‚do?
The input from a pipe can be combined with the input from a file . The trick is to use the special symbol “-“ (a hyphen) for those commands that recognize the hyphen as std input.In the above command the output from who becomes the std input to sort , meanwhile sort opens the file logfile, the contents of this file is sorted together with the output of who (rep by the hyphen) and the sorted output...
-
-
What is the command one can use to list only the directory names?
Before answering this question it is important one should know about ls command in detail in UNIX or LINUX operating system. ls command without any option is used to list files and this command list files generally in alphabetical order. That is the command list the files present in a directory with one file per line displayed on the screen. Simply using s command without any option display all files...
-
-
-
UNIX Password change issue
Hi,While trying to change the password of a normal user [ I logged in as root], I am getting the following message :-[root@localhost root]# passwd someuserChanging password for user someuser.passwd: Authentication information cannot be recovered[root@localhost root]#-------------------Think there's some issue in PAM configuration for password policy, please guide me for the same. Its urgent. Thanks...
-
Rollback command
What is rollback command in unix?
-
How to concatenate two strings in UNIX
Please give me in detail the command for concatenating two strings in UNIX
-
-
Echo command
in unix what is the purpose to use echo with the option "-e"??
i.e echo -e -
What is a pipe and give an example?
A pipe is two or more commands separated by pipe char '|'. That tells the shell to arrange for the output of the preceding command to be passed as input to the following command. Example : ls -l | prThe output for a command ls is the standard input of pr. When a sequence of commands are combined using pipe, then it is called pipeline.
UNIX Interview Questions
Ans