files directories basic commands n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Files, Directories, Basic Commands PowerPoint Presentation
Download Presentation
Files, Directories, Basic Commands

Loading in 2 Seconds...

play fullscreen
1 / 7

Files, Directories, Basic Commands - PowerPoint PPT Presentation


  • 118 Views
  • Uploaded on

Files, Directories, Basic Commands. Dr. Michael L. Collard www.sdml.info/collard www.sdml.info/collard/linux collard@cs.kent.edu. Get a Shell. Remote: ssh (Secure Shell) Local (Fedora): Applications/System Tools/Terminal Right-click, “Add launcher to Desktop”

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Files, Directories, Basic Commands' - sen


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
files directories basic commands

Files, Directories, Basic Commands

Dr. Michael L. Collard

www.sdml.info/collard

www.sdml.info/collard/linux

collard@cs.kent.edu

get a shell
Get a Shell
  • Remote: ssh (Secure Shell)
  • Local (Fedora):
    • Applications/System Tools/Terminal
    • Right-click, “Add launcher to Desktop”
  • bash is a program, invoke by name
gnu commands
GNU Commands
  • Format: name [options] [files]
  • Options:
    • Short: ls –h
    • Long: ls –human-readable
  • Std. Options
    • --help
    • --version
  • Getting help with commands: man, info, which
file mode bits permissions
File Mode bits (Permissions)

User categories: ugo

u – user

g – group

o – others

Permissions: rwx

r – read

w – write

x - execute

timestamps
Timestamps
  • Access time
    • Last time file was read
  • Modification time
    • Last time contents of the file were changed (write)
  • Change time
    • Last time contents modified or file attributes changed
bash wildcards
Bash Wildcards
  • * Matches zero or more characters
  • ? Matches exactly one character
  • [abc] Matches exactly one of the character abc
  • [0-9] Matches exactly one of the characters in this range
  • [!abc] Matches any character besides abc
  • {hd, sd} Matches the string hd or sd
editors
Editors
  • For creating text files (typically ASCII or UTF-8)
  • Lots of choices (too many)
    • Fedora: gedit (Applications/Accessories/Text Editor
  • Terminal-based editors:
    • Can be used in a shell (with no windowing)
    • vi (vim) – Standard Linux editor
    • emacs – found on most Linux systems