Working on a terminal is so much fine, to add up on this fun here are 6 clever Linux commands that are a must to know, that takes less time on your part to display information in interesting and useful ways.
This can run a command at a specific time
example: Send a OOO email at 10:00 AM on Friday
at 10:00 AM Fri
at> python sendmail.py “I will be out of office today.”
at> CTRL + D
This command monitors a command and returns any changes to it’s result and displays the result. By default it runs every 2 seconds.
example: Watch for date changes every 5 seconds
watch -n 5 date
Every 2.0s: date
Fri Aug 2 07:18:05 2019
This might look similar to watch but it is totally different. This command searches for words that begin with a particular string
example: Find all files beginning with bot
This command displays the vital statistics for a file like size, owner, group, permissions etc. This is very useful command which shows detailed info than a simple ls -less
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 803h/2051d Inode: 2123429 Links: 4
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2019-08-01 07:27:18.012597872 -0500
Modify: 2019-07-31 05:53:43.877389276 -0500
Change: 2019-07-31 05:53:43.877389276 -0500
This command can be used to change a files access and modified timestamp
example: If you want to create a file that shows it was created in a older date than today
touch -a -m -t 201907290930.09 secret.ext
You are really missing on a very useful trick if you are not using tab command for file completion. This command provides filename completion along with directories, when used with cd.