All about Linux - Free Programming World

Latest

Saturday, January 22, 2022

All about Linux


What is Linux?
Linux is an open-source operating system (OS). An operating system is software that directly manages a system’s hardware and resources, like CPU, memory, and storage. The OS sits between applications and hardware and makes the connections between all of your software and the physical resources that do the work. Linux is an open-source operating system. It is like Windows, Mac, Android, etc
Linux Operating system was developed by Linus Torvalds in 1991.



Structure of Linux Operating System: Kernal, System Library, System tools, Development tools, End-User Tools.
Why we use or choose  Linux Operating System: It is a virus-free operating system, loads very fastly, Good Security.
How to use Linux: We can use Linux using the terminal.
Linux Feature:
  • Portable 
  • Open Source
  • Multi-User
  • Multiprogramming 
  • Security 
  • Shell
User Management in Linux: There are 3 types of accounts in the Linux system.
  • Root Account
  • System Account
  • User Account
File System in Linux: In Linux top directory is called Root Directory(/).
  • /
  • /bin
  • /dev
  • /etc
  • /lib
  • /boot
  • /home
  • /mnt
  • /proc
  • /tmp
  • /usr
  • /var
  • /sbin
  • /skernel
Simple Directory command: 
  • chmod: Changing the access the permission for file and directory.
  • chown: Changing the file owner.
  • chgrp: Changing the group owner.
  • date: display the date.
  • cal : display the calendar.
  • man: It provides a manual for help purposes.
  • cat : It is used to create a file.
  • cp : It is used to copy the content of a file.
  • mv : It is used for rename of the file.
  • who : It displays the data who logged into the system.
  • ls : list the content.
  • touch : This command is used to create a file.
  • head: It is used to display the top ten lines in the file.
  • tail: It is used to display the last ten-line in the file.
  • pwd : Display the present working directory.
  • grep: Globally search a regular expression and print it.
  • sort : sort the content of the file.
  • mkdir: it is used to create a directory.
  • rmdir : It is used for removing the directory.
  • cd : It is used to change the directory.
  • exit : This command is used to suspend the session.
  • clear: clear the screen.
  • echo : This command is used to display the message in the terminal.
  • finger: login details of a user.
  • ps : It is showing process status.
  • kill : It is used for killing the process.
  • df : disk free .
  • du : disk usage .
  • cancel: It is used to cancel any job.
  • passwd: it is used to change the password.
  • logname: display the login name of a user.







                           



No comments:

Post a Comment