Page 1

Ubuntu From Dummy to Diploma Renaming, Copying, Pasting, and Deleting Files

This book is under construction and will be updated in the future. Please check back often for more updates and topics.


File Tasks

Rename a File Copy a File Pasting a File Deleting a File

PAGE

3 PAGE

10 PAGE

17 PAGE

20


Renaming Files

Mouse Keyboard Terminal

PAGE

4 PAGE

6 PAGE

8


How To Rename A File Using A Mouse

Step 1 » • Select the file you want to rename.


How To Rename A File Using A Mouse

Step 2 » • Right-click on the file you want to rename. • Click on Rename…. • Rename your file. • Press ⏎ Enter when done.


How To Rename A File Using A Keyboard

Step 1 » • Select the file you want to rename.


How To Rename A File Using A Keyboard

Step 2 » • Press F2. • Rename the file. • Press ⏎ Enter when done.


How To Rename A File Using Terminal

Step 1 » • Change to the directory of where the file is stored. • To change the name of the file from Test to Testy type mv Test Testy. › The command to use is mv. › Example: mv (current name of file) (name you want to rename the file to) • Press ⏎ Enter to finalize.


How To Rename A File Using Terminal

Step 2 » • To confirm the change did take place, first find the file you want to rename. › Dir lists all files in the directory you are currently in. • Next rename that file using the mv command. • Finally use dir to list all files in the directory again. • Notice the file name has changed from Test to Testy.


Copying Files

Mouse Keyboard Terminal

PAGE

11 PAGE

13 PAGE

15


How To Copy A File Using A Mouse

Step 1 » • Select the file you want to copy.


How To Copy A File Using A Mouse

Step 2 » • Right-click the file and select Copy.


How To Copy A File Using A Keyboard

Step 1 » • Select the file you want to copy.


How To Copy A File Using A Keyboard

Step 2 » • Press Ctrl + V to copy the file.


How To Copy A File Using Terminal

Step 1 » • Navigate to where the file is stored. • To copy the file from Documents to the Public folder, type cp /home/(user)/Documents/Test /home/ (user)/Public/Testy, where (user) is the username of the computer. • Press ⏎ Enter.


How To Copy A File Using Terminal

Step 2 » • As you can see, the file was copied to the Public folder and the file name was changed to Testy. › The command to use is cp. › Example: cp (path where the file currently resides) (path where you want the file).


Pasting Files

Mouse Keyboard

PAGE

18 PAGE

19


How To Paste A File Using A Mouse

Step 1  • Right-click any blank area inside the folder you want to paste and select Paste.


How To Paste A File Using A Keyboard

Step 1  • Press Ctrl + V inside the folder you want to paste the file in.


Deleting Files

Mouse Keyboard Terminal

PAGE

21 PAGE

22 PAGE

24


How To Delete A File Using A Mouse

Step 1  • Right-click the file you want to delete and select Move to Trash.


How To Delete A File Using A Keyboard

Step 1 » • Select the file you want to delete.


How To Delete A File Using A Keyboard

Step 2 » • Press Delete to delete the file into the Trash. OR • Press Shift + Delete to delete the file permanently.


How To Delete A File Using Terminal

Step 1 » • Navigate to the directory where the file is stored. • To delete the file type rm test. › The command to use is rm. › To delete a directory use the -r switch. › Example: rm (filename) (switches). • Press ⏎ Enter.

File Tasks in Ubuntu  

This books shows you how to rename, copy, paste, and delete files in Ubuntu.

Read more
Read more
Similar to
Popular now
Just for you