Scripting

Bash cheatsheet - Bash shortcuts you have to master

In this article I will present what are in my opinion the most useful and worth learning BASH shortcuts. Learning this bash cheatsheet can substantially make you more productive and work faster with the terminal. This is not intended to be a full list of all possible BASH shortcuts, and if you need it you better check the bash documentation. You can also download a printer-friendly BASH cheat sheet PDF that you can print and keep on your desk. You will find a link to it at the end of the article. Command Editing Shortcuts Shortcut Description Ctrl + a go to the start of… Read More »Bash cheatsheet - Bash shortcuts you have to master

Dynamic Message of the Day - motd - Fedora Linux

HOW-TO: Dynamic Message of the day

This article is  about setting up a dynamic message of the day (possibly informative and fun) as header of each newly opened shell.

The final result will be something like the following:

header_shell

It mixes a fun message using fortune and cowsay which you can install using


sudo dnf install fortune-mod cowsay

utility and some informative info about the status of the system as:

  • System load
  • Ram and Swap available and used
  • Disk space
  • Ip address

 

The script file can be easily configured and extended to suits the your needs. Colors can also be easily customized.

Read More »Dynamic Message of the Day - motd - Fedora Linux