Linux commands: Difference between revisions

Jump to navigation Jump to search
375 bytes added ,  18 February 2013
Line 36: Line 36:




delete (move) files or directory
delete files or directory
* {{kbd | key=rm -rf ''/Name_of_directory''}} ({{Linux}})<ref><nowiki>[OPTION]</nowiki>
* {{kbd | key=rm -rf ''/Name_of_directory''}} ({{Linux}})<ref><nowiki>[OPTION]</nowiki>
* -r  remove directories and their contents recursively;  
* -r  remove directories and their contents recursively;  
Line 45: Line 45:
** After executed ''del Name_of_directory'' but the empty directory directory_name will be left.  
** After executed ''del Name_of_directory'' but the empty directory directory_name will be left.  
** Command delete is not available in Win XP
** Command delete is not available in Win XP
* [http://ubuntuforums.org/showthread.php?t=1139660 linux alternative to dos command ren - Ubuntu Forums]
 
rename (move) files or directory
* {{kbd | key=mv ''old_folder_name new_folder_name''}} ({{Linux}})<ref>[http://www.liamdelahunty.com/tips/linux_rename_directory.php Linux Rename Files, Folders or Directories]</ref><ref>[http://ubuntuforums.org/showthread.php?t=1139660 linux alternative to dos command ren - Ubuntu Forums]</ref>
* {{kbd | key=rename ''old_folder_name new_folder_name''}} ({{Win}})<ref>[http://www.computerhope.com/renamehl.htm MS-DOS ren and rename command help]</ref>


list directory or files /  list directory contents
list directory or files /  list directory contents

Navigation menu