How to Find out linux distribution name and version
The lsb_release command displays certain LSB (Linux Standard Base) and distribution-specific information. Type the following command: $ lsb_release -a
The lsb_release command displays certain LSB (Linux Standard Base) and distribution-specific information. Type the following command: $ lsb_release -a
To find out where disk space is being used: Get to the root of your machine by running cd / Run sudo du -h –max-depth=1 Note which directories are using a lot of disk space. cd into one of the big directories. Run ls -l to see which files are using a lot of…
If you install Ubuntu as a traditional dual-boot with Windows, Ubuntu will make itself the default operating system to boot up (you get a few seconds to switch to Windows with the arrow keys). If you would like to change the boot order, you can do so by editing the Grub boot menu. Edit…
Copy the pfx file (Exported SSL Cert) in the Open SSL Bin folder. Look for C:Program Files (x86)GnuWin32bin Export the private key file from the pfx file openssl pkcs12 -in filename.pfx -nocerts -out key.pem Export the certificate file from the pfx file openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem Remove the passphrase from the private key openssl rsa…
Datto Agent Reinstall: sudo apt-get remove dattobd-dkms sudo apt-get install linux-headers-$(uname -r) apt-get install apt-transport-https sudo apt-get install dlad nc -v <ip address of Datto appliance> 3260 (Sonicwall May Block This Command and shows failed , go ahead Install the Agent anyway and test) curl -sS https://cpkg.datto.com/getLinuxAgent.txt | sudo bash
Limit ssh access by IP address linux ssh To limit ssh access to a linux box based on originating IP address, edit /etc/hosts.allow: sshd : localhost : allow sshd : 192.168.0. : allow sshd : 99.151.250.7 : allow sshd : mydomain.net : allow sshd : ALL : deny The above entry will allow ssh access…