Have you ever wished to have a tool like WinDirStat, SequoiaView, SpaceSniffer, TreeSize or similar for the linux console? ncdu to the rescue!
Sometimes I have to delete files before or after a specific date. Here is a one liner to do this:
Today a simple one liner for synchronizing a remote website to another server. In my case I just wanted to get the file data from a production website to a local website using the according user and group of the…
Sometimes you may want to change the output language of commands. E.g. if you have to google for error messages or need the output for further use in scripts.
Sometimes one needs to know the exact capacity of a drive (e.g. for bash scripts). Here is a one liner for this with lsblk which has the advantage that it doesn’t need root permission:
Sometimes one needs to know the exact capacity of a drive (e.g. for bash scripts). Here is a one liner for this with fdisk:
Sometimes you just want to know the name and version of the linux distribution you are currently working on (very useful when working on many different systems or if you are logged in a customers system). Well, to find out…
Sometimes you just want to know which block devices are currently known to your linux system. Well, there are multiple choices for getting this information. Try one of these one liners.