SlideShare una empresa de Scribd logo
1 de 15
WHAT IS LINUX? Linux was developed by Linux Torvalds at the University of Helsinki in Finland. He started his work in 1991. The effort expanded with volunteers contributing code and documentation over the internet. It is currently developed under the GNU public license and is freely available in source and binary form.
[object Object],1. Virtual memory, allowing the system to use disk  room the same as RAM memory. 2. Networking with TCP/IP and other protocols. 3. Multiple user capability. 4. Protected mode so programs or user's can't  access unauthorized areas. 5. Shared libraries 6. True multitasking 7. X - A graphical user interface similar to windows,  but supports remote sessions over a network.
Advanced server functionality * FTP server * Telnet server * BOOTP server * DHCP server * Samba server * DNS server * SNMP services * Mail services * Network file sharing
Reasons to use: 1. Free 2. Runs on various machine architectures 3. Works well on machines that are not  "modern". Recommended 8MB RAM, with 16MB  swap drive space. It will run in hard drives as  small as 500MB or less. 4. Linux is stable and even if a program crashes, it  won't bring the OS down. 5. Source code is available.
BASIC LINUX COMMANDS: 1.Show who is logged on and what they are doing. $ w 2.Show who is logged on. $ who 3.Create empty file of 0 byte $ touch
4. Remove file $ rm 5. List files. $ ls 6. Create/Make a new directory. $ mkdir 7. Clear the terminal screen. $clear
8.Display information on free and used memory. $ free 9.Check current date and time. $ date 10.Compare two files. $ cmp file1 file2 11.To save and exit. Ctrl -d
Short listing of directory contents $ls - -a  list hidden files -d  list the name of the current directory -F  show directories with a trailing '/' executable files with a trailing '*' -g  show group ownership of file in long listing -i  print the inode number of each file -l  long listing giving details about files  and directories -R  list all subdirectories encountered -t  sort by time modified instead of name
12.Prints a calendar for the specified month of the  specified year . $cal month year  13.It will show you the full path to the directory you are currently in. $pwd ( print working directory) 14.Type mv followed by the current name of a directory and the new name of the directory. $mv( change the name of a directory)
LINUX DIRECTORY STRUCTURE
LINUX DIRECTORIES: < / > ,[object Object]
The starting point of your directory structure.
This is where the Linux system begins.
Every other file and directory on your system is under the root directory.
Usually the root directory contains only subdirectories .

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

File_Management_in_C
File_Management_in_CFile_Management_in_C
File_Management_in_C
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Data Structures used in Linux kernel
Data Structures used in Linux kernel Data Structures used in Linux kernel
Data Structures used in Linux kernel
 
File management in C++
File management in C++File management in C++
File management in C++
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Linux Basics
Linux BasicsLinux Basics
Linux Basics
 
Ldap
LdapLdap
Ldap
 
Linux commands
Linux commandsLinux commands
Linux commands
 
R brownbag seminar 2.2
R brownbag seminar  2.2R brownbag seminar  2.2
R brownbag seminar 2.2
 
Recognizing C Code Constructs in Assembly
Recognizing C Code Constructs in AssemblyRecognizing C Code Constructs in Assembly
Recognizing C Code Constructs in Assembly
 
File Management
File ManagementFile Management
File Management
 
File Management in C
File Management in CFile Management in C
File Management in C
 
Deletion of a Record from a File - K Karun
Deletion of a Record from a File - K KarunDeletion of a Record from a File - K Karun
Deletion of a Record from a File - K Karun
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Directory Commands - R.D.Sivakumar
Directory Commands - R.D.SivakumarDirectory Commands - R.D.Sivakumar
Directory Commands - R.D.Sivakumar
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Mesics lecture files in 'c'
Mesics lecture   files in 'c'Mesics lecture   files in 'c'
Mesics lecture files in 'c'
 
Unix training session 2
Unix training   session 2Unix training   session 2
Unix training session 2
 

Destacado

lamp technology
lamp technologylamp technology
lamp technologyDeepa
 
Social networking ppt
Social networking pptSocial networking ppt
Social networking pptpatricia
 
Social networking PPT
Social networking PPTSocial networking PPT
Social networking PPTvarun0912
 
Social Networking Presentation
Social Networking PresentationSocial Networking Presentation
Social Networking PresentationAnusorn Kansap
 

Destacado (7)

LAMP PCR
LAMP PCRLAMP PCR
LAMP PCR
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
lamp technology
lamp technologylamp technology
lamp technology
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
Social networking ppt
Social networking pptSocial networking ppt
Social networking ppt
 
Social networking PPT
Social networking PPTSocial networking PPT
Social networking PPT
 
Social Networking Presentation
Social Networking PresentationSocial Networking Presentation
Social Networking Presentation
 

Similar a Linux basics

Similar a Linux basics (20)

Lamp1
Lamp1Lamp1
Lamp1
 
Lamp1
Lamp1Lamp1
Lamp1
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
Ppt
PptPpt
Ppt
 
Raspberry pi introduction
Raspberry pi introductionRaspberry pi introduction
Raspberry pi introduction
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
File system discovery
File system discovery File system discovery
File system discovery
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
Linux
LinuxLinux
Linux
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
 
Linux training
Linux trainingLinux training
Linux training
 
linux-file-system01.ppt
linux-file-system01.pptlinux-file-system01.ppt
linux-file-system01.ppt
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 

Linux basics

  • 1. WHAT IS LINUX? Linux was developed by Linux Torvalds at the University of Helsinki in Finland. He started his work in 1991. The effort expanded with volunteers contributing code and documentation over the internet. It is currently developed under the GNU public license and is freely available in source and binary form.
  • 2.
  • 3. Advanced server functionality * FTP server * Telnet server * BOOTP server * DHCP server * Samba server * DNS server * SNMP services * Mail services * Network file sharing
  • 4. Reasons to use: 1. Free 2. Runs on various machine architectures 3. Works well on machines that are not &quot;modern&quot;. Recommended 8MB RAM, with 16MB swap drive space. It will run in hard drives as small as 500MB or less. 4. Linux is stable and even if a program crashes, it won't bring the OS down. 5. Source code is available.
  • 5. BASIC LINUX COMMANDS: 1.Show who is logged on and what they are doing. $ w 2.Show who is logged on. $ who 3.Create empty file of 0 byte $ touch
  • 6. 4. Remove file $ rm 5. List files. $ ls 6. Create/Make a new directory. $ mkdir 7. Clear the terminal screen. $clear
  • 7. 8.Display information on free and used memory. $ free 9.Check current date and time. $ date 10.Compare two files. $ cmp file1 file2 11.To save and exit. Ctrl -d
  • 8. Short listing of directory contents $ls - -a list hidden files -d list the name of the current directory -F show directories with a trailing '/' executable files with a trailing '*' -g show group ownership of file in long listing -i print the inode number of each file -l long listing giving details about files and directories -R list all subdirectories encountered -t sort by time modified instead of name
  • 9. 12.Prints a calendar for the specified month of the specified year . $cal month year 13.It will show you the full path to the directory you are currently in. $pwd ( print working directory) 14.Type mv followed by the current name of a directory and the new name of the directory. $mv( change the name of a directory)
  • 11.
  • 12. The starting point of your directory structure.
  • 13. This is where the Linux system begins.
  • 14. Every other file and directory on your system is under the root directory.
  • 15. Usually the root directory contains only subdirectories .
  • 17. The place where Linux keeps information that it needs when booting up.
  • 19. The /bin directory contains the most important programs that the system needs to operate, such as the shells, ls, grep, and other essential things.
  • 20. < /usr/bin > / usr/bin in turn contains applications for the system's users. < /dev > The devices that are available to a Linux system.In Linux, devices are treated like files and you can read and write devices like they were files. < /etc > The configuration files for the Linux system. Most of these files are text files and can be edited by hand. < /home > This is where users keep their personal files are allowed to write files.
  • 21. < /lib > The shared libraries for programs that are dynamically linked. The shared libraries are similar to DLL's on Winblows. < /mnt > This directory is used for mount points. The different physical storage devices (like the hard disk drives, floppies, CD-ROM's) must be attached to some directory in the file system tree before they can be accessed. This attaching is called mounting, and the directory where the device is attached is called the mount poin t. < /sbin, /usr/sbin > Most system administration programs are stored in these directories. In many cases you must run these programs as the root user.
  • 22. < /var > This directory contains variable data that changes constantly when the system is running. Some interesting subdirectories: </var/log > A directory that contains system log files. They're updated when the system runs, and checking them out can give you valuable info about the health of your system. If something in your system suddenly goes wrong, the log files may contain some info about the situation. </var/mail> Incoming and outgoing mail is stored in this directory. </var/spool> This directory holds files that are queued for some process, like printing. < /tmp > Programs can write their temporary files here.
  • 23. < /usr > This directory contains user applications and a variety of other things for them, like their source codes, and pictures, docs, or config files they use. /usr is the largest directory on a Linux system. </usr/share> Config files and graphics for many user apps. < /usr/local > This is where you install apps and other files for use on the local machine.