Posts

Showing posts with the label cd

Basic Commands

cat:  Sends file contents to standard output. This is a way to list the contents of short files to the screen. It works well with piping. Syntax:  cat FILENAME. Ex: cat abc (Tells you the content of file abc). cd:  Change directory. Syntax: cd /PATH. Ex:  cd /home (Change the current working directory to /home. The '/' indicates relative to root, and no matter what directory you are in when you execute this command, the directory will be changed to "/home"). cd ..:  Move to the parent directory of the current directory. This command will make the current working directory "/home". cd ~:  Move to the user's home directory which is "/home/username". The '~' indicates the users home directory. cp:  Copy files. Syntax: cp SOURCE DESTINATION. Ex: cp abc def (This will copy a file abc to def in the same folder). cp -i abc def: (With the "-i" option, if the file "def" exists, you will be prompted befor...

RHEL6 Installation ?

Image
RHEL6 installation is very simple you just need to do some clicks and few selections and your operating system is ready. Assuming you have a RHEL6 disk and a system in which you can install RHEL6. Boot your machine and select the boot device a DVD. You will see a screen like the given below: Select the installation type as "Install system with basic video driver". If your disk is a new one then you can skip this check otherwise do check your disk for any errors. Here I did skip this step, as I was aware that this will not give any issues while installing the machine. After this you will see a screen somewhat like this, Just press Next. Choose a language as per your requirements. Choose the keyboard layout as per your requirements. Select the storage device in which you want to install your OS. Type the hostname of your machine(as per your requirements). Select the time-zone. Give root password for ...