RedHat All Basic Command
In this video you can learn all RedHat Basic command in One Video
=====================Basic Commands===============
Present working directory
# pwd
See contents of the current directory
# ls
See contents of the current directory in list
# ls –l
See contents of the current directory in long list
# ls –ll
See contents of the current directory including hidden files
# ls –la
See contents of /var directory
# ls /var
See all contents of /home directory
# ls –la /home
To view system date
# date
To See hardware clock
# hwclock
To view task manager
# top
Switch to another directory
# cd /opt
switch to /var directory
# cd /var
Switch to ftp directory under /var directory
# cd /var/ftp
switch to user home directory
# cd or # cd ~
Create a new directory in current location
# mkdir directory
Create multiple directories in current location
# mkdir directory1 directory2 directory3
Create a new directory with two word names in current location
# mkdir “New Folder” or # mkdir New Folder
Create Parent directories in /opt location
# mkdir /opt/dir1/dir2/dir3 -p
Create a new file
# touch filename
Create multiple files in current location
# touch filename1 filename2 filename3
Create a new file with two word names in current location
# mkdir “File Name” or # mkdir File Name
Delete file or Directory
# rm filename
# rmdir directory name
Join With Us:
Facebook: https://www.facebook.com/ints.net
LinkedIn: https://www.linkedin.com/company/ints-net/
by INTS Official
redhat openstack