Filesystem Utilities

mv

Submitted by admin on Thu, 03/29/2007 - 13:47.

mv (short for move) is a Unix command that moves a file or directory from one place to another. The original file is deleted, and the new file may have the same or a different name. If possible (i.e. when the original and new files are on the same file system), mv will rename the file instead

ls

Submitted by admin on Thu, 03/29/2007 - 13:41.

ls when invoked without any arguments, lists the files in the current working directory. A directory that is not the current working directory can be specified and ls will list the files there. The user also may specify any list of files and directories. In this case, all files and all contents of specified directories will be listed.Files whose names start with "." are not listed, unless the -a flag is specified or the files are specified explicitly.