Author Archives: bitmolnar.com
Useful Bash aliases
An alias is nothing but the shortcut to command or group of commands. It allows to use options and filenames. You can add your own user-defined aliases to ~/.bashrc file. You can cut down typing time with these aliases, work smartly, and increase productivity at the command prompt. More about aliases Use alias command without… Read More »
Best practices for Bash scripts
Some best practices hint page for bas scripting. Best Practices for Writing Bash Scripts from Kevin van Zonneveld Bash3 Boilerplate from Kevin van Zonneveld 10 Tips for Writing Efficient Bash Scripts SHELLdorado Tips & Tricks
Microsoft Buys Canonical And Shuts Down Ubuntu Linux OS
Short Bytes: The day 2 of Microsoft Build 2016 came as a shock to the tech world when Microsoft announced that it has bought Canonical, the parent company of Ubuntu Linux, and shut down Ubuntu Linux forever. More info at FossBytes.com.
How to make password asterisks visible in the terminal window at sudo
When you run a command using sudo in Linux, the Terminal prompts you to type in your password with no visual feedback as you type. We’ll show a quick tweak that will show asterisks (*) when you type in your password in the Terminal. Just run visudo and set the row Defaults env_reset to Defaults … Read More »
MySQL benchmark on Debian server
Prerequisites installed sysbench package installed MySQL server root access to MySQL server (for creating and dropping database) Create test database root@server:~# mysql -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2544 Server version: 5.6.28-1 (Debian) Copyright (c) 2000, 2015, Oracle and/or its affiliates. All… Read More »
Reduce Firefox memory usage
Firefox can consume a heavy amount of memory and slow down your system. Here is some tips to reduce the memory usage of Firefox. Tip 1: Check the memory usage To get some info about memory usage type about:cache?device=memory into the address bar and hit Enter. Tip 2: Keep your number of open tabs and… Read More »
How to run a command or script after running apt-get command on a Debian or Ubuntu Linux
How do I run custom command after ‘apt-get upgrade‘ or ‘apt-get dist-upgrade‘ on a Debian or Ubuntu Linux based system? How do I hook a script to apt-get command on my Ubuntu Linux server? You can configure the apt-get command using /etc/apt/apt.conf file or place configuration in a special directory at /etc/apt/apt.conf.d/. More in nixCraft.… Read More »
Real man’s keyboard
Since 1999
htop version 2.0 released
htop version 2.0 released for Linux, OS X, FreeBSD and Unix-like system.