What is LILO?
LILO stands for Linex boot loader. It will load the MBR, master boot record, into the memory, which tell the system which partition and harddrive to boot.
What is the main advantage of creating links to a file instead of copies of the file?
A: The main advantage is not really that it saves disk space (though it does that too) but, rather, that a change of permissions on the file is applied to all the link access points. The link will show permissions of lrwxrwxrwx but that is for the link itself and not the access to the file to which the link points. Thus if you want to change the permissions for a command, such as su, you only have to do it on the original. With copies you have to find all of the copies and change permission on each of the copies.
Write a command to find all of the files which have been accessed within the last 30 days.
A: find / -type f -atime -30 > December.files &
This command will find all the files under root, which is '/', with file type is file. '-atime -30' will give all the files accessed less than 30 days ago. And the output will put into a file call December.files.
What is the most graceful way to get to run level single user mode?
A: The most graceful way is to use the command init s.
If you want to shut everything down before going to single user mode then do init 0 first and from the ok prompt do a boot -s.
What does the following command line produce? Explain each aspect of this line.
$ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l ) >> Activi
(Post Written on: 11/01/2008)