Shell Access: Difference between revisions
No edit summary |
No edit summary |
||
| Line 55: | Line 55: | ||
|touch | |touch | ||
|Creates a file with no content | |Creates a file with no content | ||
| | |<code>touch my_file.txt</code> | ||
|- | |- | ||
|rm | |rm | ||
|Deletes a file | |Deletes a file | ||
| | |<code>rm secrets.txt</code> | ||
|- | |- | ||
|cp | |cp | ||
|Create a copy of a file | |Create a copy of a file | ||
| | |<code>cp a.txt b.txt</code> | ||
|- | |- | ||
|mv | |mv | ||
|Move a file to a new location | |Move a file to a new location | ||
| | |<code>mv a.txt b.txt</code> | ||
|- | |- | ||
|mkdir | |mkdir | ||
|Create a new directory (folder) | |Create a new directory (folder) | ||
| | |<code>mkdir wacky_folder</code> | ||
|- | |- | ||
|clear | |clear | ||
|Clear the screen | |Clear the screen | ||
| | |<code>clear</code> | ||
|- | |- | ||
|ls | |ls | ||
|List files in the current directory | |List files in the current directory | ||
| | |<code>ls</code> | ||
|- | |- | ||
|cd | |cd | ||
|Move into a directory | |Move into a directory | ||
| | |<code>cd wacky_folder</code> | ||
|} | |} | ||
[[Category:Pages with some amount of information in them]] [[Category:Pages that need things added to them]] | [[Category:Pages with some amount of information in them]] [[Category:Pages that need things added to them]] | ||