Monday, November 13, 2017

Basic Linux Commands


Command
How To Use
Description

cat

cat
Cat command used to list the contents of small files to the screen.
cd
cd
cd command is used to change the directory from to directory.
cp
cp
cp command used to copy files source to destination.
clear
clear
Clear command will clear the Linux CLI.
dd
dd
dd command is used to convert and copy a file.
df
df
df command is used to show the space of  mounted filesystem.
less
less test
less command is used to page up and down in a file
ln
ln test symlink
Ln command is used to create a symbolic links to file.
locate
locate test
locate command is used to locate a file.
logout
logout
logout  command logs off the current user
ls
ls
ls command used to list the files in directories
man
man test
man command used to show information about the command test
mkdir
mkdir tes
mkdir command used to create a new directory
more
more test/index
more command is used to list the content of a file to the screen
mv
mv
mv command used to move or rename a file
pwd
pwd
pwd command used to find the current directory name.
rm
rm test.txt
rm command used to delete files in directories.
rmdir
rmdir testdirectory
rmdir command used to delete the directories.
shutdown
shutdown
shutdown command used to turn off the system.
whereis
whereis
whereis command used to show the binary,source and manual page for command.

No comments:

Post a Comment