less: You might be familiar with ‘cat’. ‘less’ is a much better way to inspect large files on the command line. You’ll get a screen-full of text at a time, but no more. You can move a line or window up or down. You can search for a pattern by typing /pattern. When you’re done, hit q to exit the less viewer.
touch: ‘touch’ is basically for changing file access and modification times. But it’s a bonus that if the file doesn’t exist, it will create it.
history, !!, and !$: ‘history’ shows a numbered list of many of your recent commands on console. Then, to execute one of them, just type an exclamation mark and the history number. It’s even quicker to access the last command and last argument you used. For the latest command, use !!; the usual use case given for this is adding sudo to the front of a command. For the latest argument, use !$;
yes: ‘yes’ outputs argument forever. By default, it prints ‘y’ forever.
cal: Displays a very nice calendar with current date highlighted.
seq: This command prints sequences of numbers. User can define start number, interval, end number and many other options.
bc: A very precise calculator. Really useful for performing calculations on large numbers.
factor: A very good mathematical utility for finding prime integer factors.
stat: display file or file system status
tac: reverse of 'cat', print a file line by line in reverse order.
iostat: CPU and disk usage stats
lsof: List Open Files
netstat: show network status
PS: I've not given examples but linked to man pages on purpose, so that readers can learn by experiment.
Subscribe - To get an automatic feed of all future posts subscribe here, or to receive them via email go here and enter your email address in the box. You can also like us on facebook and follow me on Twitter @akashag1001.
+less and more both take you to editor mode on pressing 'v'.
Nice compilation...
Nice sharing.Very beneficial information.Thanks for spending time to share your knowledge.
Thank you so much for your post; it has given us a terrific idea.Custom Websites For Small Businesses
This Article is Awesome. It’s help me a lot. Sir,Please keep up your good work. We always with you and Waiting for your new interesting articles. Custom Web Development
Thank you for providing such an insightful perspective; the written content is rigorous, which is why I read it carefully.
Best Custom Website Design Company