rev file.txt
factor 100
cowsay we are LW
espeak-ng "i love you"
user1:pass1 user2:pass2 user3:pass3
ctrl +d
ctrl + s unhide ctrl + q
Alt+Backspace: Deletes the previous word. Alt+F: Skips ahead to the next space. Alt+B: Skips back to the previous space. Ctrl+U: Cuts all text up to the cursor. Ctrl+K: Cuts all text after the cursor until end of line. Ctrl+A: Moves the cursor to the start of line. Ctrl+E: Moves the cursor to the end of line. CTRL, and U It can remove the complete command (line).
Use !{command} for executing the previous instance of command quickly Use !! for Executing the Last Command Use “CTRL+R” for Repeating the Last Matching Command
mtr www.google.com
“nl command” to list them in a numbered fashion.
how do you obtain your External IP address
$ ac -d $ ac -p
type dir rather than ls because you've worked with the Microsoft Windows command line and can't break the habit
ls -la /usr/bin/dir ls -la /usr/bin/ls
$ zipcloak zipfile.zip $ unzip zipfile.zip
~]# grep -i faillock /etc/sysconfig/authconfig FAILLOCKARGS="deny=3 unlock_time=600" USEFAILLOCK=yes
~]# authselect enable-feature with-faillock ~]# grep -vE '^#|^$' /etc/security/faillock.conf silent deny = 3 unlock_time = 600 ~]# authselect disable-feature with-faillock
~]# faillock --reset --user user1
passwd -l {username} passwd -u {username}
sudo !! alias gerp=grep
ps auxf | sort -nr -k 4 | head -10
https://github.com/nvbn/thefuck?ref=hackernoon.com
grep -Pri Search_Term path_to_directory
find /home/user -type f sensetive_data.txt find. -type f -size 100M
find /home/user/sensetive_files/ -type f -exec chmod 644 {}
cd !$