SlideShare ist ein Scribd-Unternehmen logo
1 von 73
LINUX INSTALLATION & LINUX COMMANDS -BY H. ANKUSH.JAIN
WHAT IS LINUX ? ,[object Object]
INSTALL LINUX ,[object Object],[object Object]
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 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
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

Weitere ähnliche Inhalte

Was ist angesagt?

Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)
meashi
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
Rohit Kumar
 

Was ist angesagt? (20)

2.Accessing the Pi
2.Accessing the Pi2.Accessing the Pi
2.Accessing the Pi
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
BASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUXBASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUX
 
Linux basic commands tutorial
Linux basic commands tutorialLinux basic commands tutorial
Linux basic commands tutorial
 
Linux Command Line Basics
Linux Command Line BasicsLinux Command Line Basics
Linux Command Line Basics
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
Linux
Linux Linux
Linux
 
Unix Command Line Productivity Tips
Unix Command Line Productivity TipsUnix Command Line Productivity Tips
Unix Command Line Productivity Tips
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Linux command for beginners
Linux command for beginnersLinux command for beginners
Linux command for beginners
 
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
 
linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
Linux commands
Linux commandsLinux commands
Linux commands
 

Ähnlich wie Linux (20)

Raj linux
Raj linux Raj linux
Raj linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux com
Linux comLinux com
Linux com
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
List command linux fidora
List command linux fidoraList command linux fidora
List command linux fidora
 
Terminal linux commands_ Fedora based
Terminal  linux commands_ Fedora basedTerminal  linux commands_ Fedora based
Terminal linux commands_ Fedora based
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Linux

  • 1. LINUX INSTALLATION & LINUX COMMANDS -BY H. ANKUSH.JAIN
  • 2.
  • 3.
  • 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.
  • 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)