Tags:
/,
CLI,
command,
command line,
command prompt,
cp,
GNU,
howto,
Linux,
Mac OS,
Mac OS X,
mv,
nano,
recursive,
remote access,
rm,
SSH,
tunnelling,
Ubuntu,
Unix,
X,
X11 Posted under
General,
Server,
Technology,
Tutorial by
Zebedee Pedersen on May 19th, 2011.
4 Comments »
Last week, I published a seven part series of posts introducing some of the key concepts, commands and techniques of the Linux/Unix command line. Here’s an index of the topics covered to help you find what you’re after.
Tags:
*nix,
-r,
cp,
cp -r,
Linux,
Mac OS,
Mac OS X,
mkdir,
mv,
recursion,
recursive,
rm,
rm -r,
rmdir,
tab,
tab complete,
Terminal,
Ubuntu,
Unix,
X Posted under
Server,
Technology,
Tutorial by
Zebedee Pedersen on May 14th, 2011.
1 Comment »
Knowing basic *nix terminal commands is an absolute must for any computer pro. Whether you use Windows, Mac OS or Linux, you’re bound to face the command prompt at some stage, so here’s my crash course in CLI. In Part 3, I’ll be covering creation, deletion and manipulation of files and directories.
File Operations
cp
‘cp’ is Unix’s copy file command. It takes two arguments – source & destination. If no directory is specified, cp assumes that the files are contained in the working directory, however you can explicitly specify the source, destination or both without having to navigate to either location. In the example below, the user has copied the existing file ‘presentation.ppt’ to a new file ‘old-presentation.ppt’ in the folder ‘Archive’.

Copying 'presentation.ppt' to a new file in a different folder
(more…)