LINUX
What is a Linux?
Linux is a Unix-like, open source and community-developed operating system (OS) for computers,
servers, mainframes, mobile devices and embedded devices. It is supported on almost every major
computer platform, including x86, ARM and SPARC, making it one of the most widely supported
operating systems.
Introduction to Linux :
Linux is one of the most important technology advantages of the twenty-first century. Besides its
impact on the growth of the internet and its place as an enabling technology for a range of computer
driven devices, Linux development has been model for how collaborative projects can surpass what
single individuals and companies can do alone.
Google runs thousands upon thousands of Linux servers to power its search technology. Its android
phones are based on Linux. Like wise, when you download and run Google’s chrome O.S, you get a
browser that is backed by a Linux operating system.
Face book builds and deploys its site using what is refered to as a LAMP stack (Linux, Apache web
server, MYSQL data base, and PHP web scripting language)-all open source projects.
Linux was originally developed for personal computers based on the Intel x86 architecture, but has
since been ported to more platforms than any other operating system. ]Because of the dominance of
Linux-based Android on smart phones, Linux, including Android, has the largest installed base of
all general-purpose operating systems as of May 2022.
Linux is one of the most prominent examples of free and open-source software collaboration.
The source code may be used, modified, and distributed commercially or non-commercially by
anyone under the terms of its respective licenses, such as the GNU General Public License (GPL).
The Linux kernel, for example, is licensed under the GPLv2, with an exception for system calls that
allows code that calls the kernel via system calls not to be licensed under the GPL.
Some Linux Commands :
Linux Commands Functions
Displays information about files
1. Is
in the current directory.
Displays the current working
2. pwd
directory.
3. mkdir Creates a directory.
To navigate between different
4. cd
folders.
Removes empty directories
5. rmdir
from the directory lists.
Copy files from one directory to
6. cp
another.
7. mv Rename and Replace the files
8. rm Delete files
Command to get basic
9. uname
information about the OS
10. locate Find a file in the database.
11. touch Create empty files
12. ln Create shortcuts to other files
Display file contents on
13. cat
terminal
14. clear Clear terminal
15. ps Display the processes in
terminal
Access manual for all Linux
16. man
commands
Search for a specific string in an
17. grep
output
Display active processes on the
18. echo
terminal
download files from the
19. wget
internet.
Create or update passwords for
20. whoami
existing users
21. sort sort the file content
22. cal View Calendar in terminal
View the exact location of any
23. whereis command typed after this
command
Check the details of the file
24. df
system
Check the lines, word count,
25. wcn and characters in a file using
different options
- Prepared by
Nathin Prasath.
23IT028.