To resize or expand an LVM partition on a Linux server, you can perform the following steps: 1. umount /mount-point 2. e2fsck...
To set up an NFS mount on a Solaris 10 server, perform the following steps: 1. svcadm -v enable -r network/nfs/server 2....
To use a MySQL query in a script, you can do so like this: #!/bin/bash echo “use testdb; select Name, Address from...
To rsync files in a directory from server A to server B, perform the following steps: 1. ssh to server A 2....
To create a LVM file system on a Linux server, use the procedure listed below. 1. Login as root or run the...
To disable selinux on a RedHat server, you can run the following command: setenforce 0 To disable after reboot edit the file...
To encrypt your root password for use in a Kickstart config, you can use a command like this: perl -e ‘print crypt(“newpasswd”,...
To download and install packages from www.sunfreeware.com, perform the following steps: 1. Use wget to download the package directly to the server....
To upgrade from Ubuntu 9.10 to 10.04, you need to perform the following steps: 1. Install update-manager-core if it is not already...
To print yesterday’s date, you can use the date command like this: date –date=”1 days ago” or date –date=”yesterday”