Dcamp

501 views

Published on

Unix/Bash intro

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
501
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Dcamp

  1. 1. Command line introduction Rocking in text!
  2. 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. 3. Topics introduced in this session. Terminal Shell Bash environment Whos root? Processes Finding help Practical examples
  4. 4. Quick history of the terminal and Unix Created in the 60-70s at AT&T. 1 big computer, many terminals.
  5. 5. Shell? Its the command-line interpreter. Most of us use bash.
  6. 6. Bash environment Example variable: henrikj@/Users/henrikj$ Stored in $PS1
  7. 7. The root user user/1 sudo [command]
  8. 8. Filesystem structure Filesystem starts at /
  9. 9. Permissions Based on 3 kind of users: owner group everyone 3 kinds of actions: Read write execute
  10. 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. 11. Processes Processes spawns child processes to do their bidding.
  12. 12. Process info UID PID PPID tty CMD 0 1 0 ? /sbin/launchd User ID Process ID Parent PID Command Terminal
  13. 13. HELP!! man [command] man man for manual manual
  14. 14. Thanks!

×