User Tools

Site Tools


mkatari-bioinformatics-august-2013-introlinuxnotes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mkatari-bioinformatics-august-2013-introlinuxnotes [2015/06/11 09:07] – [File manipulation] mkatarimkatari-bioinformatics-august-2013-introlinuxnotes [2015/06/11 09:11] – [File manipulation] mkatari
Line 172: Line 172:
 |mv    | move a file. It will copy and then delete the source. This can be used to rename files as well. | |mv    | move a file. It will copy and then delete the source. This can be used to rename files as well. |
 |rm    | remove a file | |rm    | remove a file |
 +
 +<code>
 +[mkatari@hpc ~]$ mkdir temp
 +[mkatari@hpc ~]$ cd temp/
 +[mkatari@hpc temp]$ ls
 +[mkatari@hpc temp]$ cp ../allusers.txt ./
 +[mkatari@hpc temp]$ ls
 +allusers.txt
 +[mkatari@hpc temp]$ mv allusers.txt allusers.backup
 +[mkatari@hpc temp]$ ls
 +allusers.backup
 +[mkatari@hpc temp]$ rm allusers.backup
 +[mkatari@hpc temp]$ ls
 +[mkatari@hpc temp]$ cd ../
 +[mkatari@hpc ~]$ rmdir temp/
 +
 +</code>
  
  
mkatari-bioinformatics-august-2013-introlinuxnotes.txt · Last modified: 2015/06/11 11:50 by mkatari