An bash alias is nothing but the shortcut to commands. The alias command allows the user to launch any command or group of commands (including options and filenames) by entering a single word. Use alias command to display a list of all defined aliases. You can add user-defined aliases to ~/.bashrc file. You can cut down typing time with these aliases, work smartly, and increase productivity at the command prompt.
It happens all the time. Sooner or later, every organization may run out of qualified admin staff because of various issues. So how do you deal with fresh out of school admins or other helping people in your organization?
This is easy to use Linux command line index. Linux commands divided into categories such as:
=> System information
=> Files and Directory
=> File search
=> Mounting a Filesystem
=> Disk Space
=> Users and Groups and others
Linux Commands Line list
Vmware server comes with the nifty vmware-cmd utility. It allows an administrator to perform various operations on a virtual machine from Linux command line / shell prompt such as:
=> Stop / Start VM
=> Get VM status
=> Setup variables
=> Powerdown VM and much more
Task: Lists the virtual machines on the local server
You can list all servers and config file, enter:
# vmware-cmd -l
Turn on VM / Power up VPS
Just pas start option to vmware-cmd,
# vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx start
To stop VM/VPS, enter:
# vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx stop
To reset VM/VPS, enter:
# vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx reset
To suspend VM/VPS, enter:
# vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx suspend
Find out if OpenBSD VM is on or off:
# vmware-cmd /disk2.vmware/vms/OpenBSD/OpenBSD.vmx getstate
getstate() = off
vmware-cmd offers other options, please consult VMWARE documentation for more information.
A quick way to get locale-specific information is use locale command. The locale program writes information about the current locale environment such as:
=> Character classification and case conversion.
=> Date and time formats.
=> Numeric formats
=> Currency symbols
=> Measurement units and much more
When invoked without arguments, locale summarizes the current locale environment for each locale category defined by the LC_* environment variables.
You can print the coded character sets known using following command:
$ iconv --list
Explains how to make a backup (track by track) using dd command under UNIX / Linux operating system.