Kindly request you to post the solutions too for the above questions, which would help us all to succeed in facing interviews..Am eagerly looking forward for my career in Unix Administration( linux and Solaris )…
To recover a system when the root password is lost— During reboot of the system, press ‘e’, with the help of arrow keys, highlight the second option which tells Kernel, and the append the line with ‘S’ at the end of the sentence, which would go into Single User Mode, then after entering, it wud ask you for root password, there-in you can create a new password for the root—— or —– u can type init S which would take you to the Single user Mode and then continue typing the new password for the root user…
1. crontab - to run a job(in background) at regular intervals of time.
crontab -l -> lists all the cronjobs running under ur login.
crontab -e -> to edit the cronjobs running under ur login.
crontab -r -> to remove all the cronjobs running under ur login.
at - command is for running a job at some point of time(given)
{at
list of jobs/scripts}
3. A symbolic (soft) linked file and the targeted file can be located on the same or different file system while for a hard link they must be located on the same file system.
8. to move it to background, bg
to bring it to foreground, fg
12. grep - searching for a pattern in a file (or some files).
find - searching for a file and executing some commands on it.
13. egrep - to search for multiple - patterns or expressions(stored in a file).
15. pipe - redirection operator, the output of a command will be provided as an input to another.
forgotten root password for redhat ws ?
At the login screen, choose single session at right bottom of login screen. Wait, it will take to command prompt then type ‘passwd’. Change your password then type ‘exit’.
1)batch
executes commands when system load levels permit; in other words, when the load average drops below 0.8, or the value specified in the invocation of atrun.
2)Ufsdump is a flavour specific command for backup in Solaris where as tar is a general unix command for the backup.With ufsdump we have incremental backup and we take offline backup also where as with tar we cant do it.
12 Comments on Topics for a Unix sysadmin interview
your interview questions are very good.I want linux interview questions and answers. thank you.
I want GOOD LINUX INTERVIEW quastions.. if possible provide with answer.
Kindly request you to post the solutions too for the above questions, which would help us all to succeed in facing interviews..Am eagerly looking forward for my career in Unix Administration( linux and Solaris )…
Deamons are background running applications…
Default permissions for Others for a file would be r–( only read permssion )
To recover a system when the root password is lost— During reboot of the system, press ‘e’, with the help of arrow keys, highlight the second option which tells Kernel, and the append the line with ‘S’ at the end of the sentence, which would go into Single User Mode, then after entering, it wud ask you for root password, there-in you can create a new password for the root—— or —– u can type init S which would take you to the Single user Mode and then continue typing the new password for the root user…
1. crontab - to run a job(in background) at regular intervals of time.
crontab -l -> lists all the cronjobs running under ur login.
crontab -e -> to edit the cronjobs running under ur login.
crontab -r -> to remove all the cronjobs running under ur login.
at - command is for running a job at some point of time(given)
{at
list of jobs/scripts}
3. A symbolic (soft) linked file and the targeted file can be located on the same or different file system while for a hard link they must be located on the same file system.
8. to move it to background, bg
to bring it to foreground, fg
12. grep - searching for a pattern in a file (or some files).
find - searching for a file and executing some commands on it.
13. egrep - to search for multiple - patterns or expressions(stored in a file).
15. pipe - redirection operator, the output of a command will be provided as an input to another.
forgotten root password for redhat ws ?
At the login screen, choose single session at right bottom of login screen. Wait, it will take to command prompt then type ‘passwd’. Change your password then type ‘exit’.
Q> Which command would you use to trace system calls
used by current processes?
A> truss
eg. truss cat /etc/resolv.conf
to put a job in background we have to press ctrl+Z not bg..bg and fg is to resume the process in background and fore ground respectively
1)batch
executes commands when system load levels permit; in other words, when the load average drops below 0.8, or the value specified in the invocation of atrun.
2)Ufsdump is a flavour specific command for backup in Solaris where as tar is a general unix command for the backup.With ufsdump we have incremental backup and we take offline backup also where as with tar we cant do it.