Create new SSH key pair
For reference to create an RSA key. ssh-keygen -t rsa -b 4096 -C “your_email@example.com”
For reference to create an RSA key. ssh-keygen -t rsa -b 4096 -C “your_email@example.com”
When greping a file you get this error message. grep: (standard input): binary file matches It means it is detecting binary in the file. use […]
To dump a database on a plesk server from the command line without having to faff about with the password file. MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u […]
systemctl is-enabled SERVICE-NAME Check if a service is enabled or disabled. systemctl status SERVICE-NAME Check if a service is running, stopped, enabled, or masked, and […]
When using crontab -e I get this error message. E319: Sorry, the command is not available in this version: syntax on To fix it run […]
Update Apt and install a bunch of utilities I use a lot. apt update apt install vim net-tools neofetch mlocate curl rsync git cron postfix […]
If you are logged into multiple servers it is quite useful to have CLEAR text in the title bar showing which server is which. In […]
In ~/.vimrc add this line set mousemodel=popup
I have never used joe as an editor so when I ran visudo on a fresh install of Debian 11 I got stuck. I didn’t […]
Copyright © 2024 | WordPress Theme by MH Themes