Linux Commands: File Administration
#ls [Option] [Filename] :Used to list the contents of a directory.
Options
-l -To show detailed list.
-a -To show hidden files.
#cp [Option] Sourcefile Targetfile :Used to copy file/directory..
Options
-r -Copies recursively (Including Sub directory).
#mv [Option] Sourcefile Targetfile :Used to move/rename file/directory..
Options
-b -Create backup copy of the sourcefile before moving.
#rm [Option] Sourcefile Targetfile :Used to remove file/directory.
Options
-r -Remove recursively (Including Sub directory)
#cd Directory :Used for change directory.
#mkdir Directoryname :To create a new Directory.
#rmdir [Option] Directoryname :To remove a directory.
Options
-r -Remove non-empty directory.
No comments:
Post a Comment