|
If the owner doesn’t have write permission on a file,
but his/her group has, can he/she edit it?
No. He/she can't,because the owner's permission overrides the group's. To see list of files and directories, what permission required? Read permission What are PIDs? They are process IDs given to processes. A PID can vary from 0 to 65535. How do you list currently running process?
How do you stop a background process? kill pid How do you find out about all running processes? ps -ag How do you stop all the processes, except the shell window? kill 0 How do you fire a process in the background? ./process-name & What does the command "kill -9 $! " do? kills the last background process If there is a process you want to run even after exiting the shell what is the command used? Nohup Which command will get executed even after you log out? Nohup Which signal cannot be trapped? kill –9 How to redirect standard error to a file? Answer
What does the top command display? top command displays the current ammount of memory occupied by the currently executing processes and the details. In addition to memory usage top command displays cpu usage and process details What is the command to send message to all users who are logged in? Wall What is the command to send mail to other user? Mail username How to open secondary mail box? Mail -f What do you do if you don't want to be interrupted by other users' messages? Ans. mesg n |
|
Have a Unix Problem
Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|