Useful Linux commands for getting uptime and other information.

Very useful Linux commands Another way to get the uptime of the system. awk ‘{printf("Uptime: %d:%02d days, %02d minutes, %02d seconds.\n",($1/60/60/24),($1/60/60%24),($1/60%60),($1%60))}’ /proc/uptimeawk ‘{printf("Uptime: %d:%02d days, %02d minutes, %02d seconds.\n",($1/60/60/24),($1/60/60%24),($1/60%60),($1%60))}’ /proc/uptime Find the actual device name of the drive that contains your root partition. ip-172-31-20-16:~> findmnt -n -o SOURCE / /dev/xvda1ip-172-31-20-16:~> findmnt -n -o SOURCE / … Read more

How to customize your GRUB configuration in a graphical window on Fedora.

The GRUB configuration on Fedora is editable with the VIM text editor, but what if the user wishes to edit it with a graphical program? Well you can. The grub-customizer utility allows a superuser to edit the GRUB file with a GUI window. Install it like this. [root@localhost Documents]# dnf install grub-customizer-5.0.6-1.fc25.x86_64[root@localhost Documents]# dnf install … Read more

Some very useful Linux tips for the desktop and terminal user.

Very useful Linux tips and tricks for the terminal userVery good find command trickInstall a very nice slim desktop on Linux Mint and UbuntuSet a locale on a Debian systemChange the Plymouth theme on ubuntuList only directories in a directory listing with ls Very useful Linux tips and tricks for the terminal user Very good … Read more

Funny and strange UNIX happenings and C programming tips.

Funny and cool Linux tips 1337 or Leet in the UNIX time. -01:44:57– gordon@deusexmachina [~]$ date +%s 1337096699-01:44:57– gordon@deusexmachina [~]$ date +%s 1337096699 The missing days in 1752. I have mentioned this before, but it is worth mentioning again. -01:45:31– gordon@deusexmachina [~]$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 … Read more

New ransomware attack overstated by the media, here is how to stop it.

The new ransomware threat in the wild is quite amazing, but it relies on your machine having ports open to the web and the SMB service running in Windows. A lot of existing machines might have this service running and they might not be patched at all. Since this was known about for many months, … Read more

Very useful Firefox tips for speeding up the browser and improving your experience.

Very useful Linux tips and tricks for the terminal userVery good find command trickInstall a very nice slim desktop on Linux Mint and UbuntuSet a locale on a Debian systemChange the Plymouth theme on ubuntuList only directories in a directory listing with lsSpeed up and tweak Firefox with these tipsSpeed up the Firefox browserDisable Firefox … Read more

Internet security tips for staying safe online in a modern world.

Very useful Linux tips and tricks for the terminal userVery good find command trickInstall a very nice slim desktop on Linux Mint and UbuntuSet a locale on a Debian systemChange the Plymouth theme on ubuntuList only directories in a directory listing with lsSpeed up and tweak Firefox with these tipsSpeed up the Firefox browserDisable Firefox … Read more

Some very important Linux tips for new and advanced users.

Very useful Linux tips and tricks for the terminal userVery good find command trickInstall a very nice slim desktop on Linux Mint and UbuntuSet a locale on a Debian systemChange the Plymouth theme on ubuntuList only directories in a directory listing with lsSpeed up and tweak Firefox with these tipsSpeed up the Firefox browserDisable Firefox … Read more

Install Ubuntu from a mini ISO image over the Internet.

How to install Ubuntu from a mini.iso over the Internet Download the ISO image here: http://archive.ubuntu.com/ubuntu/dists/zesty/main/installer-amd64/current/images/netboot/mini.iso. Installing Ubuntu minimal from a mini.iso is very easy, the netinstall option downloads and installs all packages from the repositories on the Internet. Boot the installer and then select your installation language. Then set your location, this is important, … Read more

Installing Gentoo on a laptop. My experiences with this distro.

I have just installed Gentoo hardened Linux on my laptop. This distribution is far more hands-on than Ubuntu and Linux Mint, but it was enjoyable to install. I have not built and installed a desktop environment yet, I am just using the framebuffer console and this suits me fine. Once the system is installed, the … Read more