YOUSEF RABAH CS256, Spring 2002 Lab 3, 1/Feb Answer the following questions: o How do you change your password? You change password with command yppasswd. o What is the name or your shell program? name is /bin/bash o What does apropos do? It searchs the what is data base files containing short descriptions of system commands for keywords and displays the result on the standard out- put. o What does pwd do? return working directory name. ex:/clients/users/rabahyo/cs256 o What is the absolute pathname of your home directory? /clients/users/rabahyo/ o What is the difference between cp and mv? cp - copy files and mv - move files. o What is the difference between cp and ln? cp - copy files, and ln ==> link - make links o How do you rename a file? mv source_name target_name o What does rm do? rm, unlink - remove directory entries. o How can you remove a group of files with the system asking you, for each file, whether to remove it or not? rm -i file_name o How can you remove a directory? rm -d file_name o What happens if you try to remove a directory that has files in it? It tells you that directory is not empty. Does not delete until you delete files first. o How can you remove a directory along with all of the files in it, all of the directories in it, all of the files in those directories, etc.? rm -R o How do you create a directory? With command mkdir o How do you rename one? mv name_of_directory new_name o What does ls -l do? -l(The lowercase letter ``ell.'') List in long format. If the output is to a terminal, a total sum for all the file sizes is output on a line before the long listing. o What does the the stuff in the first column of the ls -l listing mean? tells you if people have access to read, write ...etc o Who can read the files in your home directory? Who can write to them? o What does chmod do? chmod - change file modes o How do you make it so others can not access the files in one of your directories? o How can you tell what your disk quota is? What is a disk quota? o How can you find out who is logged into the machine you are on? o How can you find out who you are logged in as? o What are lpr and lpq? o What does a2ps do?