---
# System prepended metadata

title: Shell beginners' cheatsheet
tags: [epfl]

---

---
###### tags: `epfl`
---

Shell beginners' cheatsheet
===

| Command | Meaning | (Use your own words to define the command) |
| :------ | :------ | :----------------------------------------- |
| ls<br/><br/>   | list    |  |
| pwd<br/><br/> | print current directory |  |
| man <command><br/><br/> | manual |  |
| cd <directory> or <path> | change directory |  |
| touch <filename><br/><br/> | touch |  |
| rm <filename><br/><br/> | remove     |  |
| mkdir <filename><br/> | make directory|  |
| mv <filename> <directory> | move     |  |
| cp<br/><br/>   | copy    |  |
| cat  <filename1> <filename2> | concatenate |  |
| grep <criteria> <directory>       | globally seatch a regular expression and print |  |
| wc [‐l ‐w –c] <file><br/><br/> | word count |  |
| find <directory> <criteria>     | find     |  |
| $<br/><br/>     |      |  |
| $<br/><br/>     |      |  |
| $<br/><br/>     |      |  |
| $<br/><br/>     |      |  |
| $<br/><br/>     |      |  |

Add more commands at the end of the table (if needed)


Link to this cheatsheet: https://hackmd.io/s/r1oh3Shp7#

To dig deeper into the command line: https://dpt-info.u-strasbg.fr/~mathis/Friends/poly_commandes_unix.pdf
