Linux commands ➧
Mostly linux os commands are common very few may differ.
mostly they are the two types of linux
- debian
- server
we will see basic commands of linux
the mostly used basic commands are :-)
1. ls
this is the command. that used to list the directories and folders
eg:ls /applications
will show the user all of the folders stored in the overall applications folder. The ls command is used for viewing files, folders and directories.
2. cd
this is the command to open the directory
eg: cd home/user/pictures
the main problem is linux are k sensible if we did any small mistake command doesnt work
3. mv
The mv command is used to move the files and folders
if we want to use before the user had a permission
eg; mv home/user/pictures /home/user/music
first check ur current directory if ur in same directory
jst use file and destination oly
eg:mv filename /media/disk
4. man
The man command - the manual command - is used to show the manual of the inputted command. Just like a film on the nature of film, the man command is the meta command of the Linux CLI. Inputting the man command will show you all information about the command you are using.
5. mkdir
simply mkdir command is used to create a directory
eg: mkdir testdirectory
6. rmdir
The rmdir remove directory command allows the user to remove an existing command using the Linux CLI. An example of the rmdir command:
rmdir testdirectory
7. touch
touch command is used to create a empty file
eg: touch dg
is create a empty file name dg
rm command is used to delete the files directory folders
eg: rm dg
previous command i create a file dg in this command delete the file dg
9. pwd
pwd is the command that used to find ur current directory
eg: pwd
10. clear
The clear command does exactly what it says. When your Linux CLI gets all mucked up with various readouts and information, the clear command clears the screen and wipes the board clean.
Comments
Post a Comment