Some cool quick Linux command line tricks

Filed under

If you’ve used Linux long enough, you know there are some seriously cool tricks you can pull from the command line. Some of these tricks are just for fun, but the vast majority of them actually serve a purpose. It is the latter type of trick I want to highlight here. The purpose they serve will all vary so you might only find one or two that are of use to you. But no matter if you find a command you can use immediately, you might be able to find one that you can modify to fit some need or other. With that said, let’s dig in.

Monitor changing files in real time

This command is fairly useful to watch your file system as it changes. It is more useful in just watching where changing files and percentages of drive space are critical. The command uses watch, df, and ls like so:

rest here