SlideShare a Scribd company logo
1 of 12
Linux  is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems. Linux has a reputation as a very efficient and fast-performing system.
LINUX COMMANDS These few commands will: a) Tell us where we are, b) take us somewhere else, and  c) show us what's there.  ,[object Object]
4)ls-List all files in the current directory, in column format. Eg:fp088@pbs088:~$ ls Desktop  Downloads  Music  Public  Videos Documents  examples.desktop  Pictures  Templates 5)clear-Clear the terminal screen 6)touch-Create empty file of zero byte Eg: fp088@pbs088:~$ touch aa 7)rm-Delete a file. Eg: fp088@pbs088:~$ rm aa 8)which-Shows the full path of shell commands found in our path Eg:fp088@pbs088:~$ which grep /bin/grep
9)locate-A quick way to search for files anywhere on the filesystem. 10)ps-Lists currently running process (programs). Eg:fp088@pbs088:~$ ps PID TTY  TIME CMD 1797 pts/0  00:00:00 bash 2336 pts/0  00:00:00 ps 11)w-Show who is logged on and what they are doing. Eg:fp088@pbs088:~$ w 11:05:22 up  1:32,  2 users,  load average: 0.01, 0.02, 0.01 USER  TTY  FROM  LOGIN@  IDLE  JCPU  PCPU WHAT fp088  tty7  :0  09:33  ?  3:58  0.19s gnome-session fp088  pts/0  :0.0  09:35  0.00s  0.27s  0.01s w 12)id-Print your user-id and group id's Eg:$ id uid=1000(fp088) gid=1000(fp088) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),1000(fp088)
13)df-Report filesystem disk space usage. Eg:~$ df Filesystem  1K-blocks  Used Available Use% Mounted on /dev/sda1  73742752  2729736  67267064  4% / udev  997964  208  997756  1% /dev none  997964  1540  996424  1% /dev/shm none  997964  88  997876  1% /var/run none  997964  0  997964  0% /var/lock none  997964  0  997964  0% /lib/init/rw 14)echo-Display text on the screen. Eg:echo "hello World" hello World 15)date-date to set your server's date and time 16)finger-Use finger to see who's on the system Eg:~$ finger Login  Name  Tty  Idle  Login Time  Office  Office Phone fp088  fp088  tty7  May 20 09:33 (:0) fp088  fp088  pts/0  May 20 09:35 (:0.0)
17)cal-displays a calendar Eg:$ cal May 2010  Su Mo Tu We Th Fr Sa 1 2  3  4  5  6  7  8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31  18)ls -al List all files in the current working directory in long listing format showing permissions, ownership, size, and time and date stamp 19)more-Allows file contents or piped output to be sent to the screen one page at a time.  <ls -al |more> 20)mv-Move or rename files mv -i myfile yourfile Move the file from &quot;myfile&quot; to &quot;yourfile&quot;. This effectively changes the name of &quot;myfile&quot; to &quot;yourfile&quot;. 21)shutdown -Shuts the system down. <shutdown -h now> Shuts the system down to halt immediately.
22)whereis-Show where the binary, source and manual page files are for a command <whereis ls> Locates binaries and manual pages for the ls command. Eg:~$ whereis ls ls: /bin/ls /usr/share/man/man1/ls.1.gz fp088@pbs088:~$
[object Object]
jed  - has pretty good emacs emulation (it can even read mail like emacs!). It does simple syntax highlighting for TeX files, including giving positioning of parentheses.
It would seem to be pretty configurable and takes up much less disk space than emacs, although more than joe and muemacs. It works well in console mode, and still manages to use colors for menu bars and syntax highlighting.
The program xjed which comes with some versions starts up its own X terminal when invoked.  Editors
[object Object]

More Related Content

What's hot

Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory StructureKevin OBrien
 
A beginners introduction to unix
A beginners introduction to unixA beginners introduction to unix
A beginners introduction to unixzafarali1981
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Wave Digitech
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & CommandsMohit Belwal
 
Unix features, posix and single unix specification
Unix features, posix and single unix specificationUnix features, posix and single unix specification
Unix features, posix and single unix specificationsudha rani
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistryJITU MISTRY
 
50 most frequently used unix linux commands (with examples)
50 most frequently used unix   linux commands (with examples)50 most frequently used unix   linux commands (with examples)
50 most frequently used unix linux commands (with examples)Rodrigo Maia
 
Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)meashi
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1Lilesh Pathe
 
LINUX Admin Quick Reference
LINUX Admin Quick ReferenceLINUX Admin Quick Reference
LINUX Admin Quick Referencewensheng wei
 
Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems senthilamul
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemSadia Bashir
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals Sadia Bashir
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 

What's hot (20)

Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
A beginners introduction to unix
A beginners introduction to unixA beginners introduction to unix
A beginners introduction to unix
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
Unix features, posix and single unix specification
Unix features, posix and single unix specificationUnix features, posix and single unix specification
Unix features, posix and single unix specification
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
 
50 most frequently used unix linux commands (with examples)
50 most frequently used unix   linux commands (with examples)50 most frequently used unix   linux commands (with examples)
50 most frequently used unix linux commands (with examples)
 
Unix File System
Unix File SystemUnix File System
Unix File System
 
Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Basic Unix
Basic UnixBasic Unix
Basic Unix
 
LINUX Admin Quick Reference
LINUX Admin Quick ReferenceLINUX Admin Quick Reference
LINUX Admin Quick Reference
 
Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems Unix file systems 2 in unix internal systems
Unix file systems 2 in unix internal systems
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux file system
Linux file systemLinux file system
Linux file system
 
linux file system
linux file systemlinux file system
linux file system
 

Viewers also liked

Viewers also liked (7)

Mapping Piedmont Landforms in Arizona Using ArcGIS and the Trimble GeoXT Hand...
Mapping Piedmont Landforms in Arizona Using ArcGIS and the Trimble GeoXT Hand...Mapping Piedmont Landforms in Arizona Using ArcGIS and the Trimble GeoXT Hand...
Mapping Piedmont Landforms in Arizona Using ArcGIS and the Trimble GeoXT Hand...
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Monitoring the Levees: GITR 2010
Monitoring the Levees: GITR 2010Monitoring the Levees: GITR 2010
Monitoring the Levees: GITR 2010
 
Linux cmd
Linux cmdLinux cmd
Linux cmd
 
My sql
My sql My sql
My sql
 
James Burke Racing Partnership
James Burke Racing PartnershipJames Burke Racing Partnership
James Burke Racing Partnership
 
Proposal
ProposalProposal
Proposal
 

Similar to Lamp ppt (20)

Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux
LinuxLinux
Linux
 
Ppt
PptPpt
Ppt
 
Linux filesystemhierarchy
Linux filesystemhierarchyLinux filesystemhierarchy
Linux filesystemhierarchy
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
Linuxs1
Linuxs1Linuxs1
Linuxs1
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Lamp1
Lamp1Lamp1
Lamp1
 
Lamp1
Lamp1Lamp1
Lamp1
 
Lamp
LampLamp
Lamp
 
Nithi
NithiNithi
Nithi
 
Divya
DivyaDivya
Divya
 
Divya
DivyaDivya
Divya
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdf
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 
Linux basic
Linux basicLinux basic
Linux basic
 
linux.pdf
linux.pdflinux.pdf
linux.pdf
 

More from Reka

E-CLASSIFIEDS
E-CLASSIFIEDSE-CLASSIFIEDS
E-CLASSIFIEDSReka
 
Con
ConCon
ConReka
 
Php1(2)
Php1(2)Php1(2)
Php1(2)Reka
 
Mysqlppt
MysqlpptMysqlppt
MysqlpptReka
 
Apache doc
Apache docApache doc
Apache docReka
 
Apache ppt
Apache pptApache ppt
Apache pptReka
 
Php1
Php1Php1
Php1Reka
 
Apache doc
Apache docApache doc
Apache docReka
 
My sql Syntax
My sql SyntaxMy sql Syntax
My sql SyntaxReka
 
My sql Commands
My sql CommandsMy sql Commands
My sql CommandsReka
 
Aj
AjAj
AjReka
 
APACHE
APACHEAPACHE
APACHEReka
 
LINUX
LINUXLINUX
LINUXReka
 
LAMP
LAMPLAMP
LAMPReka
 

More from Reka (14)

E-CLASSIFIEDS
E-CLASSIFIEDSE-CLASSIFIEDS
E-CLASSIFIEDS
 
Con
ConCon
Con
 
Php1(2)
Php1(2)Php1(2)
Php1(2)
 
Mysqlppt
MysqlpptMysqlppt
Mysqlppt
 
Apache doc
Apache docApache doc
Apache doc
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Php1
Php1Php1
Php1
 
Apache doc
Apache docApache doc
Apache doc
 
My sql Syntax
My sql SyntaxMy sql Syntax
My sql Syntax
 
My sql Commands
My sql CommandsMy sql Commands
My sql Commands
 
Aj
AjAj
Aj
 
APACHE
APACHEAPACHE
APACHE
 
LINUX
LINUXLINUX
LINUX
 
LAMP
LAMPLAMP
LAMP
 

Lamp ppt

  • 1. Linux is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems. Linux has a reputation as a very efficient and fast-performing system.
  • 2.
  • 3. 4)ls-List all files in the current directory, in column format. Eg:fp088@pbs088:~$ ls Desktop Downloads Music Public Videos Documents examples.desktop Pictures Templates 5)clear-Clear the terminal screen 6)touch-Create empty file of zero byte Eg: fp088@pbs088:~$ touch aa 7)rm-Delete a file. Eg: fp088@pbs088:~$ rm aa 8)which-Shows the full path of shell commands found in our path Eg:fp088@pbs088:~$ which grep /bin/grep
  • 4. 9)locate-A quick way to search for files anywhere on the filesystem. 10)ps-Lists currently running process (programs). Eg:fp088@pbs088:~$ ps PID TTY TIME CMD 1797 pts/0 00:00:00 bash 2336 pts/0 00:00:00 ps 11)w-Show who is logged on and what they are doing. Eg:fp088@pbs088:~$ w 11:05:22 up 1:32, 2 users, load average: 0.01, 0.02, 0.01 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT fp088 tty7 :0 09:33 ? 3:58 0.19s gnome-session fp088 pts/0 :0.0 09:35 0.00s 0.27s 0.01s w 12)id-Print your user-id and group id's Eg:$ id uid=1000(fp088) gid=1000(fp088) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),1000(fp088)
  • 5. 13)df-Report filesystem disk space usage. Eg:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 73742752 2729736 67267064 4% / udev 997964 208 997756 1% /dev none 997964 1540 996424 1% /dev/shm none 997964 88 997876 1% /var/run none 997964 0 997964 0% /var/lock none 997964 0 997964 0% /lib/init/rw 14)echo-Display text on the screen. Eg:echo &quot;hello World&quot; hello World 15)date-date to set your server's date and time 16)finger-Use finger to see who's on the system Eg:~$ finger Login Name Tty Idle Login Time Office Office Phone fp088 fp088 tty7 May 20 09:33 (:0) fp088 fp088 pts/0 May 20 09:35 (:0.0)
  • 6. 17)cal-displays a calendar Eg:$ cal May 2010 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 18)ls -al List all files in the current working directory in long listing format showing permissions, ownership, size, and time and date stamp 19)more-Allows file contents or piped output to be sent to the screen one page at a time. <ls -al |more> 20)mv-Move or rename files mv -i myfile yourfile Move the file from &quot;myfile&quot; to &quot;yourfile&quot;. This effectively changes the name of &quot;myfile&quot; to &quot;yourfile&quot;. 21)shutdown -Shuts the system down. <shutdown -h now> Shuts the system down to halt immediately.
  • 7. 22)whereis-Show where the binary, source and manual page files are for a command <whereis ls> Locates binaries and manual pages for the ls command. Eg:~$ whereis ls ls: /bin/ls /usr/share/man/man1/ls.1.gz fp088@pbs088:~$
  • 8.
  • 9. jed - has pretty good emacs emulation (it can even read mail like emacs!). It does simple syntax highlighting for TeX files, including giving positioning of parentheses.
  • 10. It would seem to be pretty configurable and takes up much less disk space than emacs, although more than joe and muemacs. It works well in console mode, and still manages to use colors for menu bars and syntax highlighting.
  • 11. The program xjed which comes with some versions starts up its own X terminal when invoked. Editors
  • 12.
  • 13. jove - &quot;Joe's Own Version of Emacs&quot;. I tried this out a couple of times and managed to crash it when making some minor errors in command syntax.
  • 14. microemacs (JASSPA) - spinoff of muemacs. Pretty powerful and configurable, while not taking up too much disk space or memory.
  • 15. muemacs - a fairly powerful emacs clone whose binary is actually smaller than that of the Joe editor.
  • 16. emacs - powerful text editor that includes modules for reading and sending mail and postings to newsgroups, and a browser module. For editing TEX and LATEX files, the AucTEX addon package is invaluable, and makes emacs pretty hard to beat as an editor with LATEX.
  • 17. nedit - an X Window based text editor. Of all text editors for Linux , it has commands which are closest to Windows text editors, for cursor movement, highlighting, marking text, etc. It has very good syntax highlighting for both LATEX and HTML. pico - simple text editor. It often comes packaged with the Pine mail user agent. vi - included with most Linux distributions. If you're not used to the syntax, it can be pretty hard to understand. vim - improved version of vi xedit - simple text editor included with many Linux distributions
  • 18. / Root |---root The home directory for the root user |---home Contains the user's home directories | |----ftp Users include many services as listed here | |----httpd | |----samba | |----user1 | |----user2 |---bin Commands needed during bootup that might be needed by normal users |---sbin Like bin but commands are not intended for normal users. Commands run by LINUX. |---proc This filesystem is not on a disk. Exists in the kernels imagination (virtual). This directory | | Holds information about kernel parameters and system configuration. | |----1 A directory with info about process number 1. Each process | has a directory below proc. |---usr Contains all commands, libraries, man pages, games and static files for normal | | operation. | |----bin Almost all user commands. some commands are in /bin or /usr/local/bin. | |----sbin System admin commands not needed on the root filesystem. e.g., most server | | programs. | |----include Header files for the C programming language. Should be below /user/lib for | | consistency. | |----lib Unchanging data files for programs and subsystems | |----local The place for locally installed software and other files. | |----man Manual pages | |----info Info documents | |----doc Documentation for various packages | |----tmp | |----X11R6 The X windows system files. There is a directory similar to usr below this | | directory. | |----X386 Like X11R6 but for X11 release 5 |
  • 19. ---boot Files used by the bootstrap loader, LILO. Kernel images are often kept here. |---lib Shared libraries needed by the programs on the root filesystem | |----modules Loadable kernel modules, especially those needed to boot the system after | disasters. |---dev Device files for devices such as disk drives, serial ports, etc. |---etc Configuration files specific to the machine. | |----skel When a home directory is created it is initialized with files from this directory | |----sysconfig Files that configure the linux system for networking, keyboard, time, and more. |---var Contains files that change for mail, news, printers log files, man pages, temp files | |----file | |----lib Files that change while the system is running normally | |----local Variable data for programs installed in /usr/local. | |----lock Lock files. Used by a program to indicate it is using a particular device or file | |----log Log files from programs such as login and syslog which logs all logins, | | logouts, and other system messages. | |----run Files that contain information about the system that is valid until the system is | | next booted | |----spool Directories for mail, printer spools, news and other spooled work. | |----tmp Temporary files that are large or need to exist for longer than they should in | | /tmp. | |----catman A cache for man pages that are formatted on demand |---mnt Mount points for temporary mounts by the system administrator. |---tmp Temporary files. Programs running after bootup should use /var/tmp.