Mount a share on UbuntuMounting a Samba share on Linux allows you to access files and directories shared from a Windows machine or another Linux machine running Samba. This can be done temporarily or persistently. 1. Install CIFS Utilities: First, ensure you have the neces...Aug 14, 2025·2 min read·11
Beautify Your Terminal ExperienceA developer works from the terminal most of the times because it is faster and more productive. If you haven’t started using the terminal as much, Bruuh you should! Two things greatly inspire me to code at any time of the day and on weekends. They ar...May 7, 2021·2 min read·634
Bash Command FixSometimes when you run a bash/shell command and you get errors, it might be that your shell is using dash. We have a script to check and install npm modules: if [[ ${NPM_INSTALL} == 'YES' ]] then echo "$(tput setaf 4)Doing NPM Install...$(tput sg...May 7, 2021·1 min read·84
How do you see what packages are available for update in UbuntuOn managing a Ubuntu server in production you do not always want to just run update and upgrade etc as this will sometimes break your installed or configured sites, systems. So to get a good idea what packages will be upgraded and for you then to mak...May 7, 2021·3 min read·46
Backup (mysql dump) all your MySQL databases in separate filesSometimes we would like to dump all the MySQL databases. MySQL provides an easy solution to this problem: mysqldump -u root -p --all-databases > all_dbs.sql However this will dump stuff into one file. How to dump all databses into separate files? Wel...May 7, 2021·1 min read·38
FreeTDS on Ubuntu with PHPConnecting to MSSql form a linux environment is a very common thing now a days especially in the business/work environment. But run into more and more situations where I need this. Setting this up was a pain every time, and you would think this would...May 5, 2021·2 min read·180