Knowing which version of Ubuntu you’re using is essential for system maintenance, software compatibility, and troubleshooting. Like any software, it’s important to keep your system updated to protect against known vulnerabilities and exploits.
.bashrc is a script that runs whenever a new Bash session is started. Its purpose is to configure the Bash environment by defining aliases, functions, environment variables, and executing commands. This file is located in a user’s home directory, as it
Managing files in Linux often requires more than simple copying or secure copying. This is where the rsync command comes in, unlike the cp command, rsync is designed for synchronisation and complex transfer. Mostly utilised for backup tasks that might require
Copying files and directories is a core task for Linux administrators. And the cp command provides a fast, reliable way to do it, whether backing up important documents or duplicating system files, understanding the cp command in it entirety can make a real
Unfortunately, securing your VPS against multiple attack vectors is essential. Limiting the overall attack surface and securing ports including the ssh port is just one way to achieve this. Changing the default SSH port from 22 to a different port enhances
When you switch users in Linux you can seamlessly transitions between accounts without logging out, this is useful for administrative tasks or when you need to access files with different owners. When switching users, always ensure the target user has the
SCP (Secure Copy) is a Linux command that allows secure file transfers between two networked systems. It uses SSH for authentication and encryption, ensuring data is protected during transit. Compared to FTP, SCP is usually considered more efficient for
The transfer tool enables the easy connection and transfer of accounts between two cPanel-enabled servers. It works by initiating an SSH connection between the two servers and then scanning the accounts on a server. If you want a quick technical overview, in
Using chown a system administrator (you) can control file and directory ownership. This is in turn sets who or what can modify those files – preventing unauthorised access whilst enabling any applications. In a Linux environment, ensuring file ownership
You can use the psql utility to interact with your PostgreSQL database directly from the terminal. With psql similar to the mysql you can run queries, manage databases and automate tasks with scripts over the command-line. Connect to PostgreSQL with psql