SlideShare a Scribd company logo
LINUX INSTALLATION & LINUX COMMANDS -BY H. ANKUSH.JAIN
WHAT IS LINUX ? Unix-type operating system
INSTALL LINUX Insert the cd and restart the system The black screen with a choice for language appears. Select the comfortable language.
The folowing screen appears
The computer will now boot from the CD/DVD.  Click on the Install Ubuntu button.
STEP 1:- Language selection.  select the comfortable language. The click on the forward button to proceed.
STEP 2:- Select the time zone of your location by clicking on the the red dot near your place on the map. Proceed FORWARD.
STEP 3:- Click on your keyboard layout. Again FORWARD.
STEP 4:- Take Manual (recemended) because of flexibility.  Press forward.Partition table comes.For dual use  ext3 for only one partition in which Linux is installed and to use fat32 for all other partitions. Leave the partition where Windows is installed as such if you wish to facilitate dual boot Create one partition in ext3 format and set the mount point as ‘/’ backslash. Its better to give around 5 GB for this partition. A swap area double the size of your RAM is needed. press FORWARD.
 
STEP 5:- Give your Details Here. Now click on Forward.
STEP 6:- Step 6 unfortunately has no screenshots. They ask whether you want to migrate your user settings like user accounts from your existing OS which would be Windows in most cases. I never select this option. But if its needed you can do it.
STEP 7:- “Ready to Install”. The last step... You see all the selections you have made in the first six steps and see an install button.  You can verify them, change them if needed by going back.  When all changes have been made, press on INSTALL button.
Now they start the installation procedures.  They set up the partitions, format it.  Copies the necessary OS files into the / directory or root directory. It will take some time.
click on the Restart now option and wait for restarting. Login using the username and password given during installation
Login using the username and password given during installation
The linux screen appears.
COMMANDS
ls  -  List information about file(s) SYNTAX: ls [Options]... [File]... [Options]= -a, -A, -b, -B, -c, -C ....
mkdir  Create new folder(s) SYNTAX mkdir [Options] folder... OPTIONS = -m, -p
cd  -  Change Directory Syntax  cd [Options] [Directory] Options= -P, -L
cat>  -  Creates a File(s)  SYNTAX cat> filename...
cat  Display the contents of a file Syntax cat [Options] [File]... Options = -A, -b, -e
awk - Find and Replace text, database sort/validate/index Syntax: awk <options> 'Program' File1 ... options = -F FS, -f ...
head  -  Output the first part of file(s) SYNTAX head [options]... [file]... Options: -c, -q, -v...
tail  Output the last part of files Syntax tail [options]... [file]... Options: -f, -c bytes...
nl  Number lines and write files SYNTAX nl [options]... [File]... OPTIONS: -b STYLE, -d CD ....
cut  Divide a file into several parts Syntax cut [OPTION]... [FILE]... OPTIONS: -b BYTE-LIST, -n, -s ...
egrep  Search file(s) for lines that match an extended expression Syntax: egrep [ options ] 'PATTERN' files ... options: -c, -s ...
cmp  Compare two files Syntax cmp options... FromFile [ToFile] Options: -c, -l ...
diff-Display the differences between two files Syntax diff [options] from-file to-file Options: -a, -b, -B ...
du  Estimate file space usage Syntax du [options]... [file]... OPTIONS: -a, -b, -c ...
file  -  Determine file type SYNTAX: file file-name
look-Display lines beginning with a given string Syntax:  look [-df] [-t termchar] string [file] Options: -d, -f ,-t
sort  Sort text files Syntax sort [options] [file...] options: -c, -m
sum  Print a checksum for a file Syntax sum [options]... [file]... Options: -r, -s ...
wc  Print byte, word, and line counts Syntax wc [options]... [file]... options: -c, -w, -l ...
fgrep-Search file(s) for lines that match a fixed string Syntax:  fgrep <options> ... all options are the same as grep
rm  Remove files Syntax rm [options]... file... options: -d, -f ...
rmdir  Remove folder(s) Syntax rmdir [options]... folder(s)... Options: -p
clear  Clear terminal screen SYNTAX : clear
alias  Create an alias  Syntax alias [-p] [name[=value] ...] Key: -p, -a
date  Display or change the date & time Syntax date [option]... [+Format] options: -d, -f ...
time  Measure Program running time Syntax time [option...] command [arg...] Options: -o, -a, -f ...
times  User and system times Syntax times The return status is zero.
cal  Display a calendar Syntax cal [-mjy] [[month] year] Options: -m, -j, -y ...
free  Display memory usage SYNTAX: free
df  Display free disk space SYNTAX df [option]... [file]... option: -a, -h, -H ...
df  Display free disk space SYNTAX df [option]... [file]... option: -a, -h, -H ...
dig  DNS lookup Syntax:dig [@server] [-b address] [-c class] [-f filename] [-k filename][-p port#] [-t type] [-x addr] [-y name:key] [-4] [-6][name] [type] [class] [queryopt...]
id  Print user and group id's SYNTAX id [options]... [username] OPTIONS: -g, -G, -n ...
man  Help manual Syntax man [-k] [command Options: -s, -k
pwd  Print Working Directory Syntax pwd options] Options: -L, -P
dirs-Display list of remembered directories Syntax dirs [options] Options: -c, -l, -p ...
hostname Print or set system name SYNTAX hostname [name]
logname: Print current login name SYNTAX:  logname Prints the calling user's name, as found in the file`/var/run/utmp', and exits with a status of 0.
who-Print all usernames currently logged in Syntax-  who [options] [file] [am i] options: -m, -q, -s ...
whoami- Print the current user id and name (`id -un') Syntax:  whoami
echo  Display message on screen Syntax echo [options]... [string]... Options: -n, -e, -E ...
 
type  Describe a command Syntax type [name ...]
expr  Evaluate expressions Syntax expr expression...
sleep:  Delay for a specified time Syntax:  sleep [NUMBER [s/m/h/d]... s- second; m- minute; h- hour; d- day
help:  Display help for a built-in command
dircolors Colour setup for `ls' Syntax:  eval `dircolors [options]... [file]` options: -b, -c ...
env  Environment variables Syntax:  env [OPTION]... OPTION: -u, -i
Fsck: File system consistency check and repair Syntax:  fsck [options] [filesystem] ... options: -r, -s, -t ..
top  List processes running on the system Syntax:  top options options: -b, -c, -d ...
history  Command History SYNTAX  history [option] options: -c, -d, -a ...
Linux advanced commands # cal 2007-  show the timetable of 2007  # cat /proc/cpuinfo-  show information CPU info  # cat /proc/interrupts - show interrupts  # cat /proc/meminfo - verify memory use  # cat /proc/swaps-  show file(s) swap  # cat /proc/version - show version of the kernel  # cat /proc/net/dev - show network adpters and statistics
9)# cat /proc/net/dev  -  show network adpters and statistics  10)# cat /proc/mounts - show mounted file system(s)  11)# clock -w - save date changes on BIOS  12)# date - show system date  13)# date 041217002007.00-  set date and time - MonthDayhoursMinutesYear.Seconds  14)# dmidecode -q - show hardware system components - (SMBIOS / DMI)  15)# hdparm -i /dev/hda  displays the characteristics of a hard-disk
16)# lspci -tv   display PCI devices  17)# lsusb -tv  show USB devices  18)# uname -m  show architecture of machine(2)  19)# uname -r  show used kernel version  20)# arch -   show architecture of machine(1)
Thank You

More Related Content

PDF
Linux Commands - 3
PDF
Useful Linux and Unix commands handbook
PDF
50 most frequently used unix linux commands (with examples)
PPT
Linux Commands
PPTX
Linux Command Suumary
PPT
Basic 50 linus command
PPTX
Terminal Commands (Linux - ubuntu) (part-1)
ODP
Linux commands
Linux Commands - 3
Useful Linux and Unix commands handbook
50 most frequently used unix linux commands (with examples)
Linux Commands
Linux Command Suumary
Basic 50 linus command
Terminal Commands (Linux - ubuntu) (part-1)
Linux commands

What's hot (20)

PDF
2.Accessing the Pi
PPTX
Unix Linux Commands Presentation 2013
ODP
Linux Introduction (Commands)
DOCX
DOCX
Linux basic commands tutorial
PDF
Linux Command Line Basics
PPT
Linux Administration
PPTX
Unix OS & Commands
PPT
PDF
Unix Command Line Productivity Tips
PPT
Linux commands
PDF
Basic linux commands
PPTX
Linux commands
PPT
Unix(introduction)
PPT
Basic command ppt
PPTX
Linux command for beginners
PPT
Unix/Linux Basic Commands and Shell Script
PDF
linux-commandline-magic-Joomla-World-Conference-2014
PDF
Quick Guide with Linux Command Line
PPT
Linux commands
2.Accessing the Pi
Unix Linux Commands Presentation 2013
Linux Introduction (Commands)
Linux basic commands tutorial
Linux Command Line Basics
Linux Administration
Unix OS & Commands
Unix Command Line Productivity Tips
Linux commands
Basic linux commands
Linux commands
Unix(introduction)
Basic command ppt
Linux command for beginners
Unix/Linux Basic Commands and Shell Script
linux-commandline-magic-Joomla-World-Conference-2014
Quick Guide with Linux Command Line
Linux commands
Ad

Similar to Linux (20)

PPT
Raj linux
ODP
PPT
ODP
ODP
Prabu linux
ODP
Prabu linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
ODP
Babitha.linux
DOCX
List command linux fidora
ODT
Terminal linux commands_ Fedora based
DOCX
Basic linux commands
Raj linux
Prabu linux
Prabu linux
Babitha.linux
Babitha.linux
Babitha.linux
Babitha.linux
Babitha.linux
Babitha.linux
Babitha.linux
Babitha.linux
Babitha.linux
List command linux fidora
Terminal linux commands_ Fedora based
Basic linux commands
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
cuic standard and advanced reporting.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
MIND Revenue Release Quarter 2 2025 Press Release
Mobile App Security Testing_ A Comprehensive Guide.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Group 1 Presentation -Planning and Decision Making .pptx
Getting Started with Data Integration: FME Form 101
Network Security Unit 5.pdf for BCA BBA.
20250228 LYD VKU AI Blended-Learning.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
Accuracy of neural networks in brain wave diagnosis of schizophrenia
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cuic standard and advanced reporting.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Unlocking AI with Model Context Protocol (MCP)
Per capita expenditure prediction using model stacking based on satellite ima...
MYSQL Presentation for SQL database connectivity
MIND Revenue Release Quarter 2 2025 Press Release

Linux

  • 1. LINUX INSTALLATION & LINUX COMMANDS -BY H. ANKUSH.JAIN
  • 2. WHAT IS LINUX ? Unix-type operating system
  • 3. INSTALL LINUX Insert the cd and restart the system The black screen with a choice for language appears. Select the comfortable language.
  • 5. The computer will now boot from the CD/DVD. Click on the Install Ubuntu button.
  • 6. STEP 1:- Language selection. select the comfortable language. The click on the forward button to proceed.
  • 7. STEP 2:- Select the time zone of your location by clicking on the the red dot near your place on the map. Proceed FORWARD.
  • 8. STEP 3:- Click on your keyboard layout. Again FORWARD.
  • 9. STEP 4:- Take Manual (recemended) because of flexibility. Press forward.Partition table comes.For dual use ext3 for only one partition in which Linux is installed and to use fat32 for all other partitions. Leave the partition where Windows is installed as such if you wish to facilitate dual boot Create one partition in ext3 format and set the mount point as ‘/’ backslash. Its better to give around 5 GB for this partition. A swap area double the size of your RAM is needed. press FORWARD.
  • 10.  
  • 11. STEP 5:- Give your Details Here. Now click on Forward.
  • 12. STEP 6:- Step 6 unfortunately has no screenshots. They ask whether you want to migrate your user settings like user accounts from your existing OS which would be Windows in most cases. I never select this option. But if its needed you can do it.
  • 13. STEP 7:- “Ready to Install”. The last step... You see all the selections you have made in the first six steps and see an install button. You can verify them, change them if needed by going back. When all changes have been made, press on INSTALL button.
  • 14. Now they start the installation procedures. They set up the partitions, format it. Copies the necessary OS files into the / directory or root directory. It will take some time.
  • 15. click on the Restart now option and wait for restarting. Login using the username and password given during installation
  • 16. Login using the username and password given during installation
  • 17. The linux screen appears.
  • 19. ls - List information about file(s) SYNTAX: ls [Options]... [File]... [Options]= -a, -A, -b, -B, -c, -C ....
  • 20. mkdir Create new folder(s) SYNTAX mkdir [Options] folder... OPTIONS = -m, -p
  • 21. cd - Change Directory Syntax cd [Options] [Directory] Options= -P, -L
  • 22. cat> - Creates a File(s) SYNTAX cat> filename...
  • 23. cat Display the contents of a file Syntax cat [Options] [File]... Options = -A, -b, -e
  • 24. awk - Find and Replace text, database sort/validate/index Syntax: awk <options> 'Program' File1 ... options = -F FS, -f ...
  • 25. head - Output the first part of file(s) SYNTAX head [options]... [file]... Options: -c, -q, -v...
  • 26. tail Output the last part of files Syntax tail [options]... [file]... Options: -f, -c bytes...
  • 27. nl Number lines and write files SYNTAX nl [options]... [File]... OPTIONS: -b STYLE, -d CD ....
  • 28. cut Divide a file into several parts Syntax cut [OPTION]... [FILE]... OPTIONS: -b BYTE-LIST, -n, -s ...
  • 29. egrep Search file(s) for lines that match an extended expression Syntax: egrep [ options ] 'PATTERN' files ... options: -c, -s ...
  • 30. cmp Compare two files Syntax cmp options... FromFile [ToFile] Options: -c, -l ...
  • 31. diff-Display the differences between two files Syntax diff [options] from-file to-file Options: -a, -b, -B ...
  • 32. du Estimate file space usage Syntax du [options]... [file]... OPTIONS: -a, -b, -c ...
  • 33. file - Determine file type SYNTAX: file file-name
  • 34. look-Display lines beginning with a given string Syntax: look [-df] [-t termchar] string [file] Options: -d, -f ,-t
  • 35. sort Sort text files Syntax sort [options] [file...] options: -c, -m
  • 36. sum Print a checksum for a file Syntax sum [options]... [file]... Options: -r, -s ...
  • 37. wc Print byte, word, and line counts Syntax wc [options]... [file]... options: -c, -w, -l ...
  • 38. fgrep-Search file(s) for lines that match a fixed string Syntax: fgrep <options> ... all options are the same as grep
  • 39. rm Remove files Syntax rm [options]... file... options: -d, -f ...
  • 40. rmdir Remove folder(s) Syntax rmdir [options]... folder(s)... Options: -p
  • 41. clear Clear terminal screen SYNTAX : clear
  • 42. alias Create an alias Syntax alias [-p] [name[=value] ...] Key: -p, -a
  • 43. date Display or change the date & time Syntax date [option]... [+Format] options: -d, -f ...
  • 44. time Measure Program running time Syntax time [option...] command [arg...] Options: -o, -a, -f ...
  • 45. times User and system times Syntax times The return status is zero.
  • 46. cal Display a calendar Syntax cal [-mjy] [[month] year] Options: -m, -j, -y ...
  • 47. free Display memory usage SYNTAX: free
  • 48. df Display free disk space SYNTAX df [option]... [file]... option: -a, -h, -H ...
  • 49. df Display free disk space SYNTAX df [option]... [file]... option: -a, -h, -H ...
  • 50. dig DNS lookup Syntax:dig [@server] [-b address] [-c class] [-f filename] [-k filename][-p port#] [-t type] [-x addr] [-y name:key] [-4] [-6][name] [type] [class] [queryopt...]
  • 51. id Print user and group id's SYNTAX id [options]... [username] OPTIONS: -g, -G, -n ...
  • 52. man Help manual Syntax man [-k] [command Options: -s, -k
  • 53. pwd Print Working Directory Syntax pwd options] Options: -L, -P
  • 54. dirs-Display list of remembered directories Syntax dirs [options] Options: -c, -l, -p ...
  • 55. hostname Print or set system name SYNTAX hostname [name]
  • 56. logname: Print current login name SYNTAX: logname Prints the calling user's name, as found in the file`/var/run/utmp', and exits with a status of 0.
  • 57. who-Print all usernames currently logged in Syntax- who [options] [file] [am i] options: -m, -q, -s ...
  • 58. whoami- Print the current user id and name (`id -un') Syntax: whoami
  • 59. echo Display message on screen Syntax echo [options]... [string]... Options: -n, -e, -E ...
  • 60.  
  • 61. type Describe a command Syntax type [name ...]
  • 62. expr Evaluate expressions Syntax expr expression...
  • 63. sleep: Delay for a specified time Syntax: sleep [NUMBER [s/m/h/d]... s- second; m- minute; h- hour; d- day
  • 64. help: Display help for a built-in command
  • 65. dircolors Colour setup for `ls' Syntax: eval `dircolors [options]... [file]` options: -b, -c ...
  • 66. env Environment variables Syntax: env [OPTION]... OPTION: -u, -i
  • 67. Fsck: File system consistency check and repair Syntax: fsck [options] [filesystem] ... options: -r, -s, -t ..
  • 68. top List processes running on the system Syntax: top options options: -b, -c, -d ...
  • 69. history Command History SYNTAX history [option] options: -c, -d, -a ...
  • 70. Linux advanced commands # cal 2007- show the timetable of 2007 # cat /proc/cpuinfo- show information CPU info # cat /proc/interrupts - show interrupts # cat /proc/meminfo - verify memory use # cat /proc/swaps- show file(s) swap # cat /proc/version - show version of the kernel # cat /proc/net/dev - show network adpters and statistics
  • 71. 9)# cat /proc/net/dev - show network adpters and statistics 10)# cat /proc/mounts - show mounted file system(s) 11)# clock -w - save date changes on BIOS 12)# date - show system date 13)# date 041217002007.00- set date and time - MonthDayhoursMinutesYear.Seconds 14)# dmidecode -q - show hardware system components - (SMBIOS / DMI) 15)# hdparm -i /dev/hda displays the characteristics of a hard-disk
  • 72. 16)# lspci -tv display PCI devices 17)# lsusb -tv show USB devices 18)# uname -m show architecture of machine(2) 19)# uname -r show used kernel version 20)# arch - show architecture of machine(1)