LINUX Basics
Introduction To Linux
Linux but is an operating system just like Windows, Mac OS, iOS but Linux is an open source OS i.e. many of its flavors are free to use while some takes just nominal charges.
Features of Linux
1. Open Source :- It is free to use but on the other hand microsoft windows and other operating systems are not free people have to buy license which are costly.
2. Secure :- Virus from corrupt files do not attack easily on Linux and if some folder contains virus is in linux so it an easily be removed just by deleting the file that contain virus and on the other hand in windows virus spreads easily and sometimes even antivirus fails we have to again install windows and all data will be lost.
3. Lite Weight :- Size of Linux OS is small so RAM consumption is less.
4. Multuser-Multitask :- Multiusers and Multitasking can be used from linux server.
5. Multiple Distribution:- RedHat, Debian, Fedora, Ubuntu etc. i.e. we have many options to use.
Basic Linux Commands
1. pwd :- this is the linux command used to check the present working directory.
2. clear :- this command is used to clear the screen.
3. sort :- To sort the content of the file.
4. locate :-find a file in database.
5. whoami :-To display the name of the user logged in.
6. mkdir :-To create a folder/directory.
if a user wants to create nested directories we can do with the help of mkdir command : e.g.
(root .. ....... )# mkdir -p A/B/C
7. ls :-List all the files in directory.
8. ls -a :- List all the files including hidden files and directories.
9. ls -l :- to show the long list of all the files and directories along with the permission assigned to a file or a directory.
Comments
Post a Comment