add cheatsheet for df iwconfig ls and rm

This commit is contained in:
ashernor 2013-10-06 19:47:15 +02:00
parent 545c35722a
commit d9bce2f3c4
4 changed files with 26 additions and 0 deletions

2
cheatsheets/df Normal file
View File

@ -0,0 +1,2 @@
# Printout disk free space in a human readable format
df -h

8
cheatsheets/iwconfig Normal file
View File

@ -0,0 +1,8 @@
# Display wireless settings of the first wireless adapter
iwconfig wlan0
# Take down / up the wireless adapter
iwconfig wlan0 txpower {on|auto|off}
# Change the mode of the wireless adapter
iwconfig wlan0 mode {managed|ad-hoc|monitor}

11
cheatsheets/ls Normal file
View File

@ -0,0 +1,11 @@
# Displays everything in the target directory
ls path/to/the/target/directory
# Displays everything including hidden files
ls -a
# Displays all files, along with the size (with unit suffixes) and timestamp
ls -lh
# Display files, sorted by size
ls -S

5
cheatsheets/rm Normal file
View File

@ -0,0 +1,5 @@
# Remove files and subdirs
rm -r path/to/the/target/
# Ignore non existent files
rm -f path/to/the/target