Lab1.2-Introduction-Reminder
Lab1.2-Introduction-Reminder
Exercice 1 :
1. Create a directory "rep1" in your home directory and move it to the directory “Desktop”.
2. Copy all files with extension ".xpm" (X11 Pixmap Graphic) from /usr/share/pixmaps to " rep1 ".
3. List the files in "rep1" in reverse alphabetical order.
4. Access your home directory. Create a new directory "rep2" and copy the entire content of the /etc
directory into it. Make sure to copy also the files and directories that are in the subdirectories of
/etc! (Recursive copy)
5. Go to "rep2" and create two directories "rep3" and "rep4". Move the files starting with a lowercase
letter to "rep3" and the files starting with an uppercase letter to "rep4". Use as few commands as
possible.
6. Delete the remaining files in "rep2".
7. Change the permissions of the "adduser.conf" file in "rep3" such that its owner can execute it.
8. Change your "umask" so that the new files created in "rep3" cannot be read by the others.
9. Create a symbolic link "s_link" for "adduser.conf" file in /var/tmp. Check that it works.
Exercice 2 :