Experiment No: 6                                        Date: 10/1/2022
Familiarization of Linux Operating system and Commands
Aim: To familiarize the features of Linux Operating system and study basic
Linux OS commands
Software: PC with Ubuntu OS
Operating System: An operating system is a collection of software that
manages computer hardware resources and provides common services for
computer programs. Some popular operating systems include Linux
operating system, Windows operating systems, VMS, OS/400, MAC
operating system, Apple iOS, Android etc
Linux Operating System: Linux is a Unix-like computer operating system
assembled under the model of free and open source software development
and distribution. The defining component of Linux is the Linux kernel, an
operating system kernel first released on 5 October 1991, by Linus Torvalds.
Because it considers Linux to be a variant of the GNU operating system,
initiated in 1983 by Richard Stallman, the Free Software Foundation prefers
the name GNU/Linux when referring to the operating system as a whole.
      The development of Linux is one of the most prominent examples of
free and open source software collaboration: the underlying source code may
be used, modified, and distributed—commercially or non-commercially—by
anyone under licenses such as the GNU General Public License. Typically
Linux is packaged in a format known as a Linux distribution for desktop
and server use. Some popular mainstream Linux distributions include
         o Debian(and its derivatives such as Ubuntu and LinuxMint),
         o Fedora (and its derivatives such as the commercial Red Hat
            Enterprise Linux and its open equivalentCentOS),
         o Mandriva/Mageia, openSUSE (and its commercial derivative
            SUSE Linux Enterprise Server), \
         o Arch Linux.
      Applications commonly used with desktop Linux systems include the
Mozilla Firefox web browser, the LibreOffice office application suite, and the
GIMP image editor
Basic Linux Commands:
1. Date command
Print or set the system date
Syntax: date
Eg: date
2. Time command
Used to print the system time
Syntax: time
Eg: time
3. Man command
Used to get manual page (help) Syntax: man keyword
Eg: man date
4. Echo command
Used to display a line of text
Syntax: echo “ ”
Eg: echo “welcome”
5. pwd command
Used to display full path name for current working directory
Syntax: - pwd
Eg: pwd
6. ls command
To list all directory contents
7. cal command
To display calendar
Syntax: - cal
8. who command
Display who is logged on Linux
Syntax: - who
Eg: who
9. exit command
To quit Linux
10. clear Command
Clear the terminal screen
     11. mkdir command
     Create a directory
     Syntax: - mkdir folder/directory_ name eg :- mkdir AAA
     12. cd command
     To change directory S
     Syntax: - cd directory_name
     Eg:-cd AAA
     13. rmdir command
     To remove a directory
     Syntax: - rmdir folder/directory_name
     Eg :rmdir AAA
     14. cat command
     Used to create a file
     Syntax: - cat > file name
     To display the content of a file
     Syntax: - cat filename
     15. rm command
     To delete files
     Syntax: - rm filename
     16. cp command
     Copy content of a file to another file
     Syntax: - copy source destination
     Eg: cp file1 file2
     17. mv command
     Move a file from one to another
     Syntax: - mv source destination
     eg:- mv /home/user/AAA/test /home/user
Result: Understood features of Linux operating system and studied basic
Linux commands.