chrislynch.link

command line

close up view of system hacking

Find (and delete) old files in Linux

I’ve got a confession to make – I’m a log file addict. I love a good log file and I’ll hold on to those bad boys for way longer than I should sometimes. Even I need to clear down the odd /logs directory every now and then though, and that’s

Read More »
black and gray laptop computer

Find files that have changed in Linux

I’ll confess, I stole this from somewhere on Stack Overflow and I’m posting it here just because it’s so flipping useful I know I will need it again some day. Yes, this little bit of command-line voodoo will tell you all the files that have changed in the current directory

Read More »
close up view of system hacking

Find Biggest Files and Directories on Linux

Here’s a handy command for tracking down which part of your file system has the largest files in Linux. Linux can be a tricky beast sometimes and it only takes one rogue process, one giant log file, or one run away user upload to eat your disc and bring the

Read More »
black and gray laptop computer

Monitor MySQL Processes at the Command Line

Here are two ways you can get a rolling view on MySQL processes from the Linux command line. mysqladmin Replace root in the above example with your MySQL username and, after giving your password when prompted, you will see the processlist being output over and over again on screen. You

Read More »