Have you ever wanted to know how good or bad is your battery health? You do not want to install complex programs to get that info. Think no more, because Upower comes to the rescue. This nice tool allows you to get information about your battery, showing you a very nice report about it. Just […]
Gnu – swapoff/on
This nice tool is capable of disabling the swap system of your computer (file, partition or dedicated device). For instance typing: swapoff path/to/file will disable your swap file or : swapoff /dev/sdbx will disable your partition swap. You can revert the changes by writting swapon and the same arguments. As allways read the man manual […]
GNU -less
This is an impressive cli command. It does a simple task: show a file content progressively, that is to say, one page at a time. If the file is big this utility is faster than more because it does not have to load the entire file at once, just the first page. You can acces […]
GNU- Uname
This is a simple command. It give us the system information. It has a few options, as: uname -a -> shows all info uname – v -> shows kernel version uname – o -> shows operating system version There are many options, so as always, check the man pages for more info.
GNU – touch
This simple command is able to do a few things. If you read the man description it will tell you this: touch – change file timestamps so basically this tool changes the timestamp of a file, but it can also do: A FILE argument that does not exist is created empty, unless -c or -h […]
Ncdu
Have you ever wondered what is taking so much space in your hard drives? You have thousands of files but you dont know what is what or where are the biggest files. Well, sometimes you need a way to know what is inside your hard drive. You can achieve this with a beautiful and useful […]
The !! bash command
There is a not very well known bash command that allows you to repeat the last input you typed in the shell. Behold the «!!» command. This simply allows us to retype the last input. For instance: If I type: (to list files in the local directory): ls -lh and after that I type: !! […]
GNU – Shred
Have you ever wanted to delete «permanently» a file from your file system?. Well, you can do it with this command: shred . First, a litle about how a file system works. Simply put, the system keeps a table with references to each file. When you delete a file what really happens is that the […]
About e-readers devices
This text is a litle rant about e-readers. First, I would like to state the pros: Not having to carry my books everywhere is very convenient, I can have my administration/programming/whatever books easily accesible in a single weightless device. Battery last weeks (depends on usage) Able to write notes, which is also very convenient Many […]
GNU – duf
This can be seen as an improvement of the classical command df, that allows us to show the file system disk space usage. If you type df -h (the h option is for human readable) it will show you something like this: tmpfs 1,6G 2,8M 1,6G 1% /run/dev/nvme0n1p2 468G 222G 223G 50% /tmpfs 7,8G 0 […]