Software Development Degree BTO120 Lecture Notes - Lecture 1: Hidden File And Hidden Directory, Mkdir, Rmdir

149 views2 pages

Document Summary

Show information of a file inside a folder : ls -l. Create a directory with all new sub folder : mkdir -p dir4/subdir/dir1. Move command : mv xxx yyy (mv from to ) Copy command (not use for directory) : cp xxx yyy (cp from to ) Copy/move and change name command : mv/cp xxx yyy/zzz (mv/cp from to/new name ) copy/move back to the current directory : mv/cp zzz xxx or mv/cp zzz . /xxx. Remove file from directory : rm xxx yyy zzz. Remove file from directory (only delete empty file): rmdir dir1. Remove complete directory with file : rm -r dir1. Read the content inside a file, move forward or go back : more name file , space to go forward and b to go back. Find a word inside a text: /word want to search. Find out what type of file (. exe, . doc, . mp3,) : file file name .

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers