• Like
Dcamp
Upcoming SlideShare
Loading in...5
×
Uploaded on

Unix/Bash intro

Unix/Bash intro

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
283
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Command line introduction Rocking in text!
  • 2. Henrik Jönsson nenn3@twitter.com henrik.jonzzon@gmail.com nenne at #drupal on freenode I work at: http://www.orestad-linux.se
  • 3. Topics introduced in this session. Terminal Shell Bash environment Whos root? Processes Finding help Practical examples
  • 4. Quick history of the terminal and Unix Created in the 60-70s at AT&T. 1 big computer, many terminals.
  • 5. Shell? Its the command-line interpreter. Most of us use bash.
  • 6. Bash environment Example variable: henrikj@/Users/henrikj$ Stored in $PS1
  • 7. The root user user/1 sudo [command]
  • 8. Filesystem structure Filesystem starts at /
  • 9. Permissions Based on 3 kind of users: owner group everyone 3 kinds of actions: Read write execute
  • 10. Permission Examples Owner Group -rw-r--r-- henrikj staff 0 Apr 29 20:54 .bashrc Owner = read, write Dot = hidden Group = read Everyone = read drwx------ henrikj staff 170 Apr 2 13:29 .ssh d = This is a directory Owner = read, write, execute
  • 11. Processes Processes spawns child processes to do their bidding.
  • 12. Process info UID PID PPID tty CMD 0 1 0 ? /sbin/launchd User ID Process ID Parent PID Command Terminal
  • 13. HELP!! man [command] man man for manual manual
  • 14. Thanks!