I’ve put in CentOS 7 on VirtualBox
In case you don’t have CentOS 7 put in, observe the hyperlink to put in it on VirtualBox
How To Install Virtual Box in Windows 10
How To Install Centos 7 in VirtualBox
Energy on CentOS 7 and login to the system
rmdir
Utilization
- To take away empty listing
Syntax
contact
Utilization
- To create an empty file
- To replace the entry and modification time of current file or listing
Syntax
- contact file-name
- contact dir-name
stat
Utilization
- To view the standing of a file or listing
Syntax
file
Utilization
- To find out the kind of a file
Synatx
file sorts are mentioned in previous article
rm
Utilization
- To take away file or listing
Syntax
- rm file-name
- rm -r dir-name
Choices
- rm -f (to take away a file forcefully)
- rm -r (to take away a listing recursively)
- rm -rf (to take away a listing recursively forcefully)
mv
Utilization
- To maneuver file or listing from one location to an different location
- Additionally used to rename file and listing
Syntax
- mv file-name /location
- mv old-name new-name
cat
Utilization
- To view contents of file
- To create new textual content file
Syntax
- cat file-name (to view the file contents)
- cat > file-name (to create new textual content file or over write current one)
- cat >> file-name (to append the textual content to current file)
- Ctrl+d (to avoid wasting contents of the file)
Choices
- cat -n file_name (to view contents of file with line numbers)
cp
Utilization
- To repeat the recordsdata and directories
Syntax
Choices
- cp -v file1 file2 (to repeat file verbosely )
- cp -r dir1 dir2 (to repeat listing recursively)
uname
Utilization
- To point out the kernel identify and different info
Synatx
Choices
- uname -o (to point out OS identify)
- uname -r (to point out kernel model)
- uname -v (to point out kernel launch)
- uname -n (to point out hostname)
echo
Utilization
- To print the string on the display screen
- To create file
Syntax
- echo string to print
- echo “string to avoid wasting” > file-name
- echo “string to append” >> file-name
Hope you loved the article. Let’s transfer on to the subsequent article.
<< How To Install Centos 7 in VirtualBox
How To Work With Linux Command Line Interface (CLI) Half 02 >>