You are on page 1of 1

Eva Campos – Networking Services 1.3.

Basic commands in Linux

1.3. Basic Commands in Linux

1. Show the current working directory


2. From your working directory, go to the tmp directory. It is placed in the var directory.
3. Go back to the default directory (home)
4. Create a directory called SVXmyName
5. Create with vim a new file named “proofMyName”
6. Show current working directory again
7. Copy “proofMyName” to another file named “copyMyName”
8. Go to the root directory (“/”)
9. Create a new directory named SVXmyName2 in the root directory
10. Move the content of SVXmyName to SVXmyName2
11. List the content of SVXmyName and SVXmyName2
12. Delete SVXmyName directory
13. Show the content of the file proofMyName in the console window
14. Create a symbolic link to the file “proofMyName”. Named “softlinkMyName”. Show it.
15. Modify the “proofMyName” file. See what has happened in the softlinkMyName.
16. Delete the “proofMyName” file. See what has happened in the softlinkMyName.
17. Create a new file named “delete” in SVXmyName2
18. Delete SVXmyName2 and its content in only one command.
19. Display the current working processes.
20. Show memory and swap usage
21. Show the use of the “file” command and what are its parameters.
22. Display the name of the user that is logged
23. Display the disk usage and interpret its output
24. Show /etc directory space usage. Show all its content in a readable way.
25. Research what is the output of these commands, paste a display capture and explain the result.
◦ df
◦ df /etc/
◦ df -h
◦ df -i
26. Show the current date.

Micro informatics Systems and Networks 1

You might also like