yup just installation is nt enough you want to learn something else to work on this platform so try these simple basic commands which is essential for even you become a big stream adm
in
first let me write about some important terms that compared to windows
Directories - folders
root / - administrator
For a more details about that particular command use the man pages available in the linux itelf .(eg: man ls)
1.COMMAND
2.COMMAND
in
first let me write about some important terms that compared to windows
Directories - folders
root / - administrator
For a more details about that particular command use the man pages available in the linux itelf .(eg: man ls)
1.COMMAND
- ls - To list the directory content -To list the contents of available directories
SYNTAX
-a -shows all files that are hidden (hidden files starts with .(dot))
-l -shows all information with permission too
-r -reverse the order of file display
-s -gives size in blocks
-x -Displays files in columns
EXAMPLE
ls -l <directory name or file name>
this command will display the files information with permission too
drwxr----- 2 root 4025 nov 8 19:51 mail/
in the above example first drwxr----- is a permission lets we discuise about permission in new post just know about it d -directory r -read w -write x -execute
then 2 denote no.of directoris
4025 is size
and followed by date and time
mail/ is diretory name
Comparing with windows
ls command - in windows we open folders to view that files and we use folder option to view that hidden file orelse we use properties of that folder to view the permission and size and all but ina single command we can see all its :-)
2.COMMAND
- cd - Change directories - to move from one directory to another
SYNTAX
cd <directory name>
EXAMPLE
cd /home
in this if you are in root directory it will move on to /home directory
Comparing with windows
cd command works as like that we use oru mouse and keyboard to choose or move from one folder to another that will be done here by just typing
3.COMMAND
- mkdir - make directory - to make a new directory
SYNTAX
mkdir <directory name>
EXAMPLE
mkdir /test
fr this command system will create a new directory on / -root's home directory
Comparing with windows
mkdir command works as like creating a new folder by right click on the mouse and selecting
NEW - FOLDER(here in linux directories refers folder in windows nothing more than that)
4.COMMAND
- rm - Remove - to remove a file
SYNTAX
rmdir <file name>
rmdir -rf <file name>
EXAMPLE
rm file
rm -rf file1
in the first one rm file the command only remove the empty file
while in the second one it will delete whole file even its written
Comparing with windows
rm command works as deleting a files in the system
5.COMMAND
- rmdir - Remove directories - to remove directory
SYNTAX
rmdir <directory name>
rmdir -rf <dirctory name>
EXAMPLE
rmdir test
rmdir -rf test1
in the first one rmdir test the command only remove the empty directory if test directory has some other files inside it then it will prompt a message that the directory cannot be removed while it has parent directory
while in the second one it doesn't prompt it will delete the whole tree structure
Comparing with windows
rmdir command works as deleting a folder in the system
6.COMMAND
- touch - to create empty file
SYNTAX
touch <file name>
EXAMPLE
touch test
this cmmand will create a new empty file
Comparing with windows
touch command works as creating blank notepad or wordpad file in the system
7.COMMAND
- cp - copy - to copy file or directory
SYNTAX
cp <source file> <destination file>
EXAMPLE
cp test test1
this cmmand will copy test file info into test1 and create a dublicate file test1 as test
Comparing with windows
cp command works as same as copy command in windows
8.COMMAND
- mv - to move a file(thats renaming)
SYNTAX
mv <source file> <destination file>
EXAMPLE
mv test guest
this cmmand will rename test file into guest and move that file to the specified location
Comparing with windows
mv command works as a rename option in the windows and also it will move the file like drag and drop in windows
FOR FURTHER INFO ABOUT THESE COMMANDS USE MAN PAGES THAT IS AVAL ON THE LINUX SYSTEM ITSELF