SlideShare una empresa de Scribd logo
1 de 14
FUNDAMENTALS OF LINUX




     PRESENTED BY:
        Md. Kalimullah
        ID-VGT138T
            MCA




                         1
SOME BASIC COMMANDS
    ls         - directory or dir*
   ls –l       - Directory listing with long filenames, owner, and permissions
   ls –a       – show the hidden file
   ls –ll      -show the directory files
   w           –save exit
   q           –without save exit
   wq          –save and exit
   wq!         –forcefully exit.
   ls –ld      - Show only the directories matching the search
   ls – r      - Show subdirectories also ( just like dir /s )
   ls –sharl    – sort by size, all files, including hidden
   ls –lart    – sort by date, reverse order (newest @ the bottom of list)
   -s          - sorts by size, largest first
   -r          - reverses any sort command, i.e. ls –rS sorts smallest first
   -t          - sorts by modification time, recent first
   -u          - sort by last accessed time
   -x          - sort by file extension
Linux Commands
 #pwd -print working directory
                   will show you the full path to the directory you are currently in.
 # shred - overwrite a file to hide its contents
            The result is that your file is so thoroughly deleted it is very unlikely to
                       ever be retrieved again.
 # ln s - test symlink
            Creates a symbolic link named symlink that points to the file test
 # free -Displays the amount of used and free system memory.
Linux Commands

 w – show who is logged on and what they are doing

    usage: w
 who –show who is logged in

     usage: who
 who b> - last system boot time

 whoami – prints the effective user id.

 whereis ls -Locates binaries and manual pages for the ls command.

 cat – displays the contents of the file on the screen.
Linux file system 
 First let see file structure in Linux :-
    1) Standard directory structure
      / - the topmost ( / means where the file system is stored like C: in windows )
      /dev - all the devices are accessible as files
      /var - “variable” data such as mails, log files, databases
      /usr - almost all the packages installed
      /etc - configuration files
      /home - home directories for all the users
      /root - home directory of the privileged user root
      /mnt - used to mount other directories/partitions.
Linux file system 
 # rm it is used to delete files
                      &
  # rm -r it is use to delete directorys recursively
       usage : $ rm -r /root/folder

    # mkdir it is used to create directory (folder)

          usage : $ mkdir /etc/folder

   # touch it is used to create files
         usage : $ touch /root/temp
PERMISSION
•   u - User who owns the file.
    g - Group that owns the file.
    o - Other.
    a - All.
    r - Read the file.
    w - Write or edit the file.
    x - Execute or run the file as a program.

•   Read –r-4              Permission –read- (rwx)=7
•   Write –w-2              Permission – write- (r-x)=5
•   Execute-x-1             Permission-execute-(-wx)=3
PERMISSION
 Permissions:chmod 777 file.htm

  CHMOD can also to attributed by using Numeric Permissions:
 400 read by owner
  040 read by group
  004 read by anybody (other)
  200 write by owner
  020 write by group
  002 write by anybody
  100 execute by owner
  010 execute by group
  001 execute by anybody
 Examples
 The above numeric permissions can be added to set a certain permission, 
  for example, a common HTML file on a Unix or Linux server accessible 
  over the Internet would be given the below permissions.
PERMISSIONS
•   chmod 644 file.htm
•   This gives the file read/write by the owner and only read by everyone else (-rw-r--
    r--).
•   Files such as scripts that need to be executed need more permissions. Below is
    another example of a common permission given to scripts.
•   chmod 755 file.cgi
•   This would be the following 400+040+004+200+100+010+001 = 755 where you are
    giving all the rights except the capability for anyone to write to the file.cgi file(-
    rwxr-xr-x).
•   chmod 666 file.txt
•   Finally, another common CHMOD permission is 666, as shown below, which is
    read and write by everyone.
•   Tip: The above commands are all done through the command line. However, if you
    upload a file using FTP these permissions can also be adjusted through many FTP
    clients by right-clicking the file and choosing permissions.
HOW CAN CHANGE THE TEMPORARY “HOSTNAME” SETTING

   #hostname
   #hostname station.example.com
   #hostname //check it
   #station //setting temporary hostname


HOW CAN CHANGE THE PERMANENT “HOSTNAME” SETTING



       # vi / etc/sysconfig/network/
       #HOSTNAME=station.example.com
       #service-config-network
       #service network restart
       #clear
THIS IS NEW COMMANDS

 IF YOU WANT SEE THE CURRENT DATE

 #date +”%D%H:%M:%S”

 IF YOU WANT TO PRINT ANY MESSAGE

 #echo “WELCOME TO VOLKSGEIST TECHNOLOGIESE”

   BASIC COMMAND
   #/ dev /fdo //flopy drive (A)
   #/dev /fd1 //flopy drive (B)
   #/dev /had //master drive on primary
   #/dev /hda1 //1-partition
   #/dev /hda3 //save drive
   #/dev /hdc //master drive secondry
   #/dev /hdl //save drive secondry
PERMISSION DISTRIBUTE SIZE

   The 100 are for the OWNER of the file
   400 –read
   200 –write
   100 –execute
   There are for Groups of the file
   40 –read
   20 –write
   10 –execute
   There are for every one else
   3 –read
   2 –write
   1 -execute
CREATE MACHINE FOR COMMUNICATE


                                             CLIENT
                                              CLIENT
             SERVER
              SERVER



#hostname server.example.com   #hostname client.example.com
Ip address-172.24.16.2         Ip address-172.24.16.3
RAM-1024                       RAM-512
HDD-80GB                       HDD-80GB
Ping-127.24.16.3               Ping-127.24.16.2
THA N KS

Más contenido relacionado

La actualidad más candente

Linux: An Unbeaten Empire
Linux: An Unbeaten EmpireLinux: An Unbeaten Empire
Linux: An Unbeaten EmpireYogesh Sharma
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentalsDima Gomaa
 
Unix files
Unix filesUnix files
Unix filesSunil Rm
 
User and groups administrator
User  and  groups administratorUser  and  groups administrator
User and groups administratorAisha Talat
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumarymentorsnet
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Wave Digitech
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1Lilesh Pathe
 
Commands and shell programming (3)
Commands and shell programming (3)Commands and shell programming (3)
Commands and shell programming (3)christ university
 
Linux day 2.ppt
Linux day  2.pptLinux day  2.ppt
Linux day 2.pptKalkey
 
Linux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITLinux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITvignesh0009
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanismsDuressa Teshome
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxGourav Varma
 
Lpi lição 01 exam 101 objectives
Lpi lição 01  exam 101 objectivesLpi lição 01  exam 101 objectives
Lpi lição 01 exam 101 objectivesAcácio Oliveira
 
Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 
Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals Ahmed El-Arabawy
 

La actualidad más candente (20)

Linux: An Unbeaten Empire
Linux: An Unbeaten EmpireLinux: An Unbeaten Empire
Linux: An Unbeaten Empire
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentals
 
Linux commands
Linux commands Linux commands
Linux commands
 
Unix files
Unix filesUnix files
Unix files
 
Linux commands
Linux commandsLinux commands
Linux commands
 
User and groups administrator
User  and  groups administratorUser  and  groups administrator
User and groups administrator
 
Basics of Linux
Basics of LinuxBasics of Linux
Basics of Linux
 
Linux: Basics OF Linux
Linux: Basics OF LinuxLinux: Basics OF Linux
Linux: Basics OF Linux
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Commands and shell programming (3)
Commands and shell programming (3)Commands and shell programming (3)
Commands and shell programming (3)
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux day 2.ppt
Linux day  2.pptLinux day  2.ppt
Linux day 2.ppt
 
Linux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScITLinux practicals T.Y.B.ScIT
Linux practicals T.Y.B.ScIT
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Lpi lição 01 exam 101 objectives
Lpi lição 01  exam 101 objectivesLpi lição 01  exam 101 objectives
Lpi lição 01 exam 101 objectives
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals Course 102: Lecture 5: File Handling Internals
Course 102: Lecture 5: File Handling Internals
 

Destacado

Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux pptOmi Vichare
 
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 Scriptsbmguys
 
Linux Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)anandvaidya
 
Linux ppt
Linux pptLinux ppt
Linux pptlincy21
 
Linux command ppt
Linux command pptLinux command ppt
Linux command pptkalyanineve
 
Rohit kumar EX423
Rohit kumar EX423Rohit kumar EX423
Rohit kumar EX423Rohit Kumar
 
4.6 create and change hard and symbolic links v2
4.6 create and change hard and symbolic links v24.6 create and change hard and symbolic links v2
4.6 create and change hard and symbolic links v2Acácio Oliveira
 
Compression Commands in Linux
Compression Commands in LinuxCompression Commands in Linux
Compression Commands in LinuxPegah Taheri
 
2b9fc module iii steering system_ part-ii (2)
2b9fc module iii steering system_ part-ii (2)2b9fc module iii steering system_ part-ii (2)
2b9fc module iii steering system_ part-ii (2)Tanvi Gautam
 
1359 Vi Editor
1359 Vi Editor1359 Vi Editor
1359 Vi Editortechbed
 
Using VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarUsing VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarRohit Kumar
 
Introduction to vi editor
Introduction to vi editorIntroduction to vi editor
Introduction to vi editorU.P Police
 

Destacado (20)

Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Linux files
Linux filesLinux files
Linux files
 
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 Introduction (Commands)
Linux Introduction (Commands)Linux Introduction (Commands)
Linux Introduction (Commands)
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Linux File System
Linux File SystemLinux File System
Linux File System
 
Rohit kumar EX423
Rohit kumar EX423Rohit kumar EX423
Rohit kumar EX423
 
Chmod
ChmodChmod
Chmod
 
Linux
Linux Linux
Linux
 
4.6 create and change hard and symbolic links v2
4.6 create and change hard and symbolic links v24.6 create and change hard and symbolic links v2
4.6 create and change hard and symbolic links v2
 
Compression Commands in Linux
Compression Commands in LinuxCompression Commands in Linux
Compression Commands in Linux
 
Four-Wheel Vehicle Suspension Model
Four-Wheel Vehicle Suspension ModelFour-Wheel Vehicle Suspension Model
Four-Wheel Vehicle Suspension Model
 
2b9fc module iii steering system_ part-ii (2)
2b9fc module iii steering system_ part-ii (2)2b9fc module iii steering system_ part-ii (2)
2b9fc module iii steering system_ part-ii (2)
 
1359 Vi Editor
1359 Vi Editor1359 Vi Editor
1359 Vi Editor
 
Using VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarUsing VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit Kumar
 
Introduction to vi editor
Introduction to vi editorIntroduction to vi editor
Introduction to vi editor
 
Common Network Services
Common Network ServicesCommon Network Services
Common Network Services
 
Vi editor
Vi editorVi editor
Vi editor
 

Similar a Linux ppt

8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unixsouthees
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scriptsPrashantTechment
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to LinuxDimas Prasetyo
 
Unix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxUnix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxRajesh Kumar
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.pptLuigysToro
 
Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structureSreenatha Reddy K R
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overviewAmeer Sameer
 
linux commands.pdf
linux commands.pdflinux commands.pdf
linux commands.pdfamitkamble79
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manualSaikat Rakshit
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manualCraig Cannon
 
Linux file system nevigation
Linux file system nevigationLinux file system nevigation
Linux file system nevigationhetaldobariya
 

Similar a Linux ppt (20)

Linux ppt
Linux pptLinux ppt
Linux ppt
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
Solaris basics
Solaris basicsSolaris basics
Solaris basics
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Unix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxUnix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptx
 
linux-lecture4.ppt
linux-lecture4.pptlinux-lecture4.ppt
linux-lecture4.ppt
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overview
 
Unix Basics Commands
Unix Basics CommandsUnix Basics Commands
Unix Basics Commands
 
linux commands.pdf
linux commands.pdflinux commands.pdf
linux commands.pdf
 
Linux shell scripting
Linux shell scriptingLinux shell scripting
Linux shell scripting
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Examples -partII
Examples -partIIExamples -partII
Examples -partII
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manual
 
The one page linux manual
The one page linux manualThe one page linux manual
The one page linux manual
 
Linux file system nevigation
Linux file system nevigationLinux file system nevigation
Linux file system nevigation
 

Más de Rohit Kumar

Methology of web development
Methology of web developmentMethology of web development
Methology of web developmentRohit Kumar
 
Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architectureRohit Kumar
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & featuresRohit Kumar
 
Rohit kumar RHCE
Rohit kumar RHCERohit kumar RHCE
Rohit kumar RHCERohit Kumar
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Description of linux and windows
Description of linux and windowsDescription of linux and windows
Description of linux and windowsRohit Kumar
 
What is open source
What is open sourceWhat is open source
What is open sourceRohit Kumar
 
Open source technology
Open source technologyOpen source technology
Open source technologyRohit Kumar
 
Open source license
Open source licenseOpen source license
Open source licenseRohit Kumar
 

Más de Rohit Kumar (10)

Methology of web development
Methology of web developmentMethology of web development
Methology of web development
 
Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architecture
 
Linux_commands
Linux_commandsLinux_commands
Linux_commands
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
 
Rohit kumar RHCE
Rohit kumar RHCERohit kumar RHCE
Rohit kumar RHCE
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Description of linux and windows
Description of linux and windowsDescription of linux and windows
Description of linux and windows
 
What is open source
What is open sourceWhat is open source
What is open source
 
Open source technology
Open source technologyOpen source technology
Open source technology
 
Open source license
Open source licenseOpen source license
Open source license
 

Último

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Último (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Linux ppt

  • 1. FUNDAMENTALS OF LINUX PRESENTED BY: Md. Kalimullah ID-VGT138T MCA 1
  • 2. SOME BASIC COMMANDS  ls - directory or dir*  ls –l - Directory listing with long filenames, owner, and permissions  ls –a – show the hidden file  ls –ll -show the directory files  w –save exit  q –without save exit  wq –save and exit  wq! –forcefully exit.  ls –ld - Show only the directories matching the search  ls – r - Show subdirectories also ( just like dir /s )  ls –sharl – sort by size, all files, including hidden  ls –lart – sort by date, reverse order (newest @ the bottom of list)  -s - sorts by size, largest first  -r - reverses any sort command, i.e. ls –rS sorts smallest first  -t - sorts by modification time, recent first  -u - sort by last accessed time  -x - sort by file extension
  • 3. Linux Commands  #pwd -print working directory will show you the full path to the directory you are currently in.  # shred - overwrite a file to hide its contents The result is that your file is so thoroughly deleted it is very unlikely to ever be retrieved again.  # ln s - test symlink Creates a symbolic link named symlink that points to the file test  # free -Displays the amount of used and free system memory.
  • 4. Linux Commands  w – show who is logged on and what they are doing usage: w  who –show who is logged in usage: who  who b> - last system boot time  whoami – prints the effective user id.  whereis ls -Locates binaries and manual pages for the ls command.  cat – displays the contents of the file on the screen.
  • 5. Linux file system   First let see file structure in Linux :- 1) Standard directory structure / - the topmost ( / means where the file system is stored like C: in windows ) /dev - all the devices are accessible as files /var - “variable” data such as mails, log files, databases /usr - almost all the packages installed /etc - configuration files /home - home directories for all the users /root - home directory of the privileged user root /mnt - used to mount other directories/partitions.
  • 6. Linux file system   # rm it is used to delete files & # rm -r it is use to delete directorys recursively usage : $ rm -r /root/folder # mkdir it is used to create directory (folder) usage : $ mkdir /etc/folder # touch it is used to create files usage : $ touch /root/temp
  • 7. PERMISSION • u - User who owns the file. g - Group that owns the file. o - Other. a - All. r - Read the file. w - Write or edit the file. x - Execute or run the file as a program. • Read –r-4 Permission –read- (rwx)=7 • Write –w-2 Permission – write- (r-x)=5 • Execute-x-1 Permission-execute-(-wx)=3
  • 8. PERMISSION  Permissions:chmod 777 file.htm  CHMOD can also to attributed by using Numeric Permissions:  400 read by owner 040 read by group 004 read by anybody (other) 200 write by owner 020 write by group 002 write by anybody 100 execute by owner 010 execute by group 001 execute by anybody  Examples  The above numeric permissions can be added to set a certain permission,  for example, a common HTML file on a Unix or Linux server accessible  over the Internet would be given the below permissions.
  • 9. PERMISSIONS • chmod 644 file.htm • This gives the file read/write by the owner and only read by everyone else (-rw-r-- r--). • Files such as scripts that need to be executed need more permissions. Below is another example of a common permission given to scripts. • chmod 755 file.cgi • This would be the following 400+040+004+200+100+010+001 = 755 where you are giving all the rights except the capability for anyone to write to the file.cgi file(- rwxr-xr-x). • chmod 666 file.txt • Finally, another common CHMOD permission is 666, as shown below, which is read and write by everyone. • Tip: The above commands are all done through the command line. However, if you upload a file using FTP these permissions can also be adjusted through many FTP clients by right-clicking the file and choosing permissions.
  • 10. HOW CAN CHANGE THE TEMPORARY “HOSTNAME” SETTING #hostname #hostname station.example.com #hostname //check it #station //setting temporary hostname HOW CAN CHANGE THE PERMANENT “HOSTNAME” SETTING # vi / etc/sysconfig/network/ #HOSTNAME=station.example.com #service-config-network #service network restart #clear
  • 11. THIS IS NEW COMMANDS  IF YOU WANT SEE THE CURRENT DATE  #date +”%D%H:%M:%S”  IF YOU WANT TO PRINT ANY MESSAGE  #echo “WELCOME TO VOLKSGEIST TECHNOLOGIESE”  BASIC COMMAND  #/ dev /fdo //flopy drive (A)  #/dev /fd1 //flopy drive (B)  #/dev /had //master drive on primary  #/dev /hda1 //1-partition  #/dev /hda3 //save drive  #/dev /hdc //master drive secondry  #/dev /hdl //save drive secondry
  • 12. PERMISSION DISTRIBUTE SIZE  The 100 are for the OWNER of the file  400 –read  200 –write  100 –execute  There are for Groups of the file  40 –read  20 –write  10 –execute  There are for every one else  3 –read  2 –write  1 -execute
  • 13. CREATE MACHINE FOR COMMUNICATE CLIENT CLIENT SERVER SERVER #hostname server.example.com #hostname client.example.com Ip address-172.24.16.2 Ip address-172.24.16.3 RAM-1024 RAM-512 HDD-80GB HDD-80GB Ping-127.24.16.3 Ping-127.24.16.2