diff --git a/cheatsheets/df b/cheatsheets/df new file mode 100644 index 0000000..c91f6e4 --- /dev/null +++ b/cheatsheets/df @@ -0,0 +1,2 @@ +# Printout disk free space in a human readable format +df -h diff --git a/cheatsheets/iwconfig b/cheatsheets/iwconfig new file mode 100644 index 0000000..e8e4538 --- /dev/null +++ b/cheatsheets/iwconfig @@ -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} diff --git a/cheatsheets/ls b/cheatsheets/ls new file mode 100644 index 0000000..d93b0d8 --- /dev/null +++ b/cheatsheets/ls @@ -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 \ No newline at end of file diff --git a/cheatsheets/rm b/cheatsheets/rm new file mode 100644 index 0000000..114c02f --- /dev/null +++ b/cheatsheets/rm @@ -0,0 +1,5 @@ +# Remove files and subdirs +rm -r path/to/the/target/ + +# Ignore non existent files +rm -f path/to/the/target