Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

C-Shell > Command: mv - Pg. 446

446 AppendixA·UNIXBasics with the advanced features of this shell. The C-Shell was created by Bill Joy at the University of California at Berkeley as an alternative to the original UNIX shell, the Bourne shell. Command: mv The mv command is used to rename a file or move it from one directory to another directory. You can do this by entering the following at the console prompt: mv file.txt directory/ This command moves the file file.txt to the directory named directory. Command: cp The cp command is simply used to copy files: cp file.txt dir/ This command copies the file file.txt to the dir directory. Command: cat Using the cat command lets you look at, modify, or combine one or more files in your