Entered into a Linux projects to work on.

Linux Workshop(Day 1)

Entered into a Linux projects to work on.

Hello everyone!! This is Arya Karade. I'm very glad to share with you that I'm attending the Linux Workshop conducted by our alumnus@Pranav Jambare sir.

Here is my overall review of the topics that are covered on Day-1.


Content :

  • Linux Introduction.

  • Benefits of Linux.

  • The architecture of Linux.

  • Hierarchy of Linux files.

  • Modes.

  • Yanking

  • Redirection.


Linux Introduction :

  • Short points on the operating system.
  1. Operating System is an Interface between Computer users & Hardware.

  2. It manages all the programs and processes that run inside the computer.

  3. Examples of Operating Systems: Windows, Linux, macOS, Android, etc.


Benefits of Linux:-

  1. Free:-[The biggest advantage of Linux systems is that it is free to use.]

  2. Open Source code to modify:-[Its source code is easily available.]

  3. Reliable:-[Linux reliable due to strong stability.]

  4. Low-level resource support:-[Linux provides low-level resource support.]

  5. Secure:-[It is more secure than Windows.]

  6. Privacy:-[Linux is extensionless.]

  7. Perfect for Programming:-[Linux offers a versatile and robust environment for programmers.]

  8. Updates:-[The software updates are in user control.]

  9. Customization:-[We can customize our system according to our needs.]

  10. Community:-[Linux provides large community support.]


The architecture of Linux:-

  1. Applications & Utilities :-

    Application is a type of Software that performs a task. A computer's utility software includes components that assist the operating system to optimize, maintain, organize and manage how it functions in all situations.

  2. Shell:-

    The interface between the user and the kernel is called the shell.it is a command line interpreter. Is like a Terminal. It can be used to run commands. shell is a powerful tool because it can communicate with the kernel.

  3. Kernel:-

    The kernel is a terminal used to run commands. It acts as an interpreter between hardware and shell. It is the heart of any operating system. when the kernel crashes the operating system crashed.

  4. Hardware:-

    Hardware refers to the physical elements of a computer. That category contains components such as RAM, HDD, etc.


Hierarchy of Linux files:

  1. /bin/ - [binary related information stored.]

  2. /boot/ - [booting related information stored.]

  3. /dev/ - [device-related information stored.]

  4. /etc/ - [configuration files.]

  5. /home/ - [user home directory]

  6. /lib/ - [libraries are stored.]

  7. /media/ - [stored photos and videos.]

  8. /mnt/ - [mounting.]

  9. /root/ - [Administrative user.]

  10. /opt/ - [optional settings.]

  11. /sbin/ - [system binary.]

  12. /tmp/ - [temporary files.]

  13. /srv/ - [server related.]

  14. /usr/ - [user related.]

  15. /var/ - [variable related.]

  16. /cache/ - [cache files.]

  17. /log/ - [tracing process.]

  18. /spool/ - [mail related info.


Modes :

  1. Insert Mode.

  2. Esc Mode.

  3. Wq! (Save and Quite.)

  4. V (Visual mode)


Yanking (Pull) :

Yanking refers to the action of pasting or inserting previously copied or cut operations.

The specific Commands are given in below:-

  1. yy - [copy current line ]

  2. p - [paste ]

  3. dd -[delete]

  4. cc -[goes to insert mode on current line.]

  5. gg -[goes to the beggining.]

  6. G -[goes to the end.]

  7. : !<Command> -[to run specific command in the file.]

  8. : set nu -[set numbers to line.]

  9. : Linenumber -[goes to specific line.]

  10. /word -[search specific word.]

  11. : % s /xyz/abc -[replace word xyz to abc.]


Redirection

In Linux, redirection refers to the process of changing the input or output of a command or program.

Commands :

find / -user <username> 

find / -user 2> <username> <errorfile>

find / -user > <username> <o/p file>

find / -user > <username> <o/p file>2> <filename>

find / -user <username> & > /dev/null(output will be nullfilled)

find / -user <username>|tee <filename>

THANK YOU FOR READING THIS BLOG.