mkatari-bioinformatics-august-2013-introlinuxnotes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
mkatari-bioinformatics-august-2013-introlinuxnotes [2015/06/11 09:01] – [Wildcards] mkatari | mkatari-bioinformatics-august-2013-introlinuxnotes [2015/06/11 09:07] – [File manipulation] mkatari | ||
---|---|---|---|
Line 161: | Line 161: | ||
===== File manipulation ===== | ===== File manipulation ===== | ||
- | Useful commands for manipulating files and directories. | + | Useful commands for manipulating files and directories. |
- | + | ||
+ | ^Command ^Action ^ | ||
+ | |mkdir | make a directory | | ||
+ | |rmdir | remove a directory (only works if the directory is empty ) | | ||
+ | |cd | change directory | | ||
+ | |pwd | present working directory | | ||
+ | |ls | list of files and directories in the directory. You can use wild card to look for specific files. You can also use -l to see details such as permission for files and directories | | ||
+ | |cp | copy a file and/or directories. Use -r to recursively copy. | | ||
+ | |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 | | ||
mkatari-bioinformatics-august-2013-introlinuxnotes.txt · Last modified: 2015/06/11 11:50 by mkatari