The Unix Shell. Permissions
|
|
- Bennett Dalton
- 5 years ago
- Views:
Transcription
1 The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See for more information.
2 shell
3 shell pwd, mkdir, cp,...
4 shell pwd, mkdir, cp,... *
5 shell pwd, mkdir, cp,... * >,
6 shell pwd, mkdir, cp,... * >, Who can see what?
7 shell pwd, mkdir, cp,... * >, Who can see what? change
8 shell pwd, mkdir, cp,... * >, Who can see what? change run
9 Simplified version of Unix permissions
10 Simplified version of Unix permissions Windows uses similar concepts
11 Simplified version of Unix permissions Windows uses similar concepts but there is no exact translation between the two
12 user
13 user Has unique user name and user ID
14 user Has unique user name and user ID User name is text: "imhotep", "larry", "vlad",
15 user Has unique user name and user ID User name is text: "imhotep", "larry", "vlad", User ID is numeric (easier for computer to store)
16 user group
17 user group Has unique group name and group ID
18 user group Has unique group name and group ID User can belongs to zero or more groups
19 user group Has unique group name and group ID User can belongs to zero or more groups List is usually stored in /etc/group
20 user group all
21 user group all Everyone else
22 user group all Has user and group IDs
23 read user group all
24 read user group all write
25 read user group all write execute
26 user group all read write execute
27 File's owner can read and write it user group all read write execute
28 File's owner can read and write it Others in group can read user group all read write execute
29 File's can read and write it Others in group can read That's all user group all read write execute
30 $ cd labs $ ls safety.txt setup waiver.txt $
31 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $
32 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ means "executable"
33 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $
34 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ name
35 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ last modified
36 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ size (in bytes)
37 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ group owner
38 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ user owner
39 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ don't care (for now)
40 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ permissions
41 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x
42 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x file type
43 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x file type '-' for regular
44 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x file type '-' for regular 'd' for directory
45 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x user owner permissions
46 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x group owner permissions
47 $ cd labs $ ls safety.txt setup waiver.txt $ ls -F safety.txt setup* waiver.txt $ ls -l $ -rwxr-xr-x everyone else's permissions
48 $ ls -a -l drwxr-xr-x 1 vlad bio :55. drwxr-xr-x 1 vlad bio :11.. -rw-rw-r-- 1 vlad bio :22 safety -rwxr-xr-x 1 vlad bio :04 setup -rw-rw-r-- 1 vlad bio :23 waiver $
49 $ ls -a -l drwxr-xr-x 1 vlad bio :55. drwxr-xr-x 1 vlad bio :11.. -rw-rw-r-- 1 vlad bio :22 safety -rwxr-xr-x 1 vlad bio :04 setup -rw-rw-r-- 1 vlad bio :23 waiver $
50 $ ls -a -l drwxr-xr-x 1 vlad bio :55. drwxr-xr-x 1 vlad bio :11.. -rw-rw-r-- 1 vlad bio :22 safety -rwxr-xr-x 1 vlad bio :04 setup -rw-rw-r-- 1 vlad bio :23 waiver $
51 What does "execute" mean for directories?
52 What does "execute" mean for directories? Gives the right to traverse the directory
53 What does "execute" mean for directories? Gives the right to traverse the directory vlad venus mars pluto
54 What does "execute" mean for directories? Gives the right to traverse the directory vlad venus mars pluto notes notes notes
55 What does "execute" mean for directories? Gives the right to traverse the directory vlad venus mars pluto notes notes notes
56 What does "execute" mean for directories? Gives the right to traverse the directory vlad r-x venus mars pluto notes notes notes
57 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes r-x venus mars pluto notes notes notes
58 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes r-x venus mars pluto notes notes notes
59 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes r-- venus mars pluto notes notes notes
60 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes r-- $ ls mars mars/notes venus mars pluto notes notes notes
61 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes --x $ ls mars mars/notes venus mars pluto notes notes notes
62 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes $ ls mars mars/notes --x $ ls pluto venus mars pluto notes notes notes
63 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes --x $ ls mars mars/notes $ ls pluto venus mars pluto $ ls pluto/notes notes notes notes
64 What does "execute" mean for directories? Gives the right to traverse the directory vlad $ ls venus venus/notes --x $ ls mars mars/notes $ ls pluto venus mars pluto $ ls pluto/notes notes notes notes
65 Change permission with chmod (change mode)
66 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final.
67 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. Everyone can read it
68 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. Everyone can read it Modify it
69 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. Everyone can read it Modify it Try to run it (which probably doesn't make sense)
70 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $
71 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $ User (u) has read-write (rw)
72 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $ ls -l final.grd -rw-rwxrwx 1 vlad bio :19 final. $
73 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $ ls -l final.grd -rw-rwxrwx 1 vlad bio :19 final. $ chmod g=r final.grd; ls -l final.grd -rw-r--rw- 1 vlad bio :19 final. $
74 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $ ls -l final.grd -rw-rwxrwx 1 vlad bio :19 final. $ chmod g=r final.grd; ls -l final.grd -rw-r--rw- 1 vlad bio :19 final. $ Use ';' to put multiple commands on a single line
75 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $ ls -l final.grd -rw-rwxrwx 1 vlad bio :19 final. $ chmod g=r final.grd; ls -l final.grd -rw-r--rw- 1 vlad bio :19 final. $ chmod a= final.grd; ls -l final.grd -rw-r vlad bio :20 final.
76 Change permission with chmod (change mode) $ ls -l final.grd -rwxrwxrwx 1 vlad bio :30 final. $ chmod u=rw final.grd $ ls -l final.grd -rw-rwxrwx 1 vlad bio :19 final. $ chmod g=r final.grd; ls -l final.grd -rw-r--rw- 1 vlad bio :19 final. $ chmod a= final.grd; ls -l final.grd -rw-r vlad bio :20 final. No permissions at all
77 Again, things are different on Windows
78 Again, things are different on Windows defined by Access Control Lists (ACLs)
79 Again, things are different on Windows defined by Access Control Lists (ACLs) A list of (who, what) pairs
80 Again, things are different on Windows defined by Access Control Lists (ACLs) A list of (who, what) pairs More flexible
81 Again, things are different on Windows defined by Access Control Lists (ACLs) A list of (who, what) pairs More flexible but more complex to administer and understand
82 Again, things are different on Windows defined by Access Control Lists (ACLs) A list of (who, what) pairs More flexible but more complex to administer and understand Some flavors of Unix provide ACLs, but hardly anyone uses them
83 Create your own commands
84 Create your own commands $ cat > smallest
85 Create your own commands $ cat > smallest No input file specified, so read from keyboard
86 Create your own commands $ cat > smallest Send output to a file called smallest
87 Create your own commands $ cat > smallest wc -l *.pdb sort head -1
88 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $
89 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ Ctrl-D means "end of input" in Unix
90 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ Ctrl-D means "end of input" in Unix Ctrl-Z does the same thing in Windows
91 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ chmod u+x smallest $
92 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ chmod u+x smallest $ Give the user owner permission to run this file
93 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ chmod u+x smallest $./smallest
94 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ chmod u+x smallest $./smallest Put./ at the front to be sure of running the smallest that it's this directory
95 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ chmod u+x smallest $./smallest 9 methane.pdb $
96 Create your own commands $ cat > smallest wc -l *.pdb sort head -1 ^D $ chmod u+x smallest $./smallest 9 methane.pdb $ Try doing that with a desktop full of GUIs
97 created by Greg Wilson August 2010 Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See for more information.
The Unix Shell. Pipes and Filters
The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. shell shell pwd
More informationPermission and Ownership
Permission and Ownership 1. Understanding file and directory ownership Every file on your Linux system, including directories, is owned by a specific user and group. Therefore, file permissions are defined
More informationThe Unix Shell. Files and Directories
The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. Run Programs Store
More informationExploring UNIX: Session 3
Exploring UNIX: Session 3 UNIX file system permissions UNIX is a multi user operating system. This means several users can be logged in simultaneously. For obvious reasons UNIX makes sure users cannot
More informationOperating systems fundamentals - B10
Operating systems fundamentals - B10 David Kendall Northumbria University David Kendall (Northumbria University) Operating systems fundamentals - B10 1 / 12 Introduction Basics of protection and security
More informationCSE II-Sem)
a) Write a shell script that displays a list of all the files in the current directory to which the user has read, write and execute permissions. b) Develop an interactive script that asks for a word and
More information1. What statistic did the wc -l command show? (do man wc to get the answer) A. The number of bytes B. The number of lines C. The number of words
More Linux Commands 1 wc The Linux command for acquiring size statistics on a file is wc. This command provides the line count, word count and number of bytes in a file. Open up a terminal, make sure you
More informationThe Unix Shell. Job Control
The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. shell shell $
More informationWeek 2 Lecture 3. Unix
Lecture 3 Unix Terminal and Shell 2 Terminal Prompt Command Argument Result 3 Shell Intro A system program that allows a user to execute: shell functions (e.g., ls -la) other programs (e.g., eclipse) shell
More informationFiles
http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably
More informationEssential Linux Shell Commands
Essential Linux Shell Commands Special Characters Quoting and Escaping Change Directory Show Current Directory List Directory Contents Working with Files Working with Directories Special Characters There
More informationUsing UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program
Using UNIX. UNIX is mainly a command line interface. This means that you write the commands you want executed. In the beginning that will seem inferior to windows point-and-click, but in the long run the
More informationUNIX File Hierarchy: Structure and Commands
UNIX File Hierarchy: Structure and Commands The UNIX operating system organizes files into a tree structure with a root named by the character /. An example of the directory tree is shown below. / bin
More informationOutline. Structure of a UNIX command
Outline Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission (owner, group, rwx) File and directory
More informationBasic File Attributes
Basic File Attributes The UNIX file system allows the user to access other files not belonging to them and without infringing on security. A file has a number of attributes (properties) that are stored
More informationCHAPTER 1 UNIX FOR NONPROGRAMMERS
CHAPTER 1 UNIX FOR NONPROGRAMMERS The man command is used to display the manual entry associated with word entered as argument. The -k option is used displays a list of manual entries that contain entered
More informationCENG 334 Computer Networks. Laboratory I Linux Tutorial
CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction
More informationCS4350 Unix Programming. Outline
Outline Unix Management Files and file systems Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission
More informationUnix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech
Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical
More informationCommon UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface
Common UNIX Commands Using UNIX Unix Unix has a command line interface Unix commands must be typed Similar to the DOS operating system for PC s Compare to the Graphical User Interface (GUI) used by Windows,
More informationIntroduction to the Linux Command Line
Introduction to the Linux Command Line May, 2015 How to Connect (securely) ssh sftp scp Basic Unix or Linux Commands Files & directories Environment variables Not necessarily in this order.? Getting Connected
More informationAssume that username is cse. The user s home directory will be /home/cse. You may remember what the relative pathname for users home directory is: ~
Introduction to Open Source Software Development Spring semester, 2017 School of Computer Science and Engineering, Pusan National University Joon-Seok Kim LINUX: COMMANDS Review Lab #1 2 Create Directories
More informationA Brief Introduction to Unix
A Brief Introduction to Unix Sean Barag Drexel University March 30, 2011 Sean Barag (Drexel University) CS 265 - A Brief Introduction to Unix March 30, 2011 1 / 17 Outline 1 Directories
More informationUnix L555. Dept. of Linguistics, Indiana University Fall Unix. Unix. Directories. Files. Useful Commands. Permissions. tar.
L555 Dept. of Linguistics, Indiana University Fall 2010 1 / 21 What is? is an operating system, like DOS or Windows developed in 1969 by Bell Labs works well for single computers as well as for servers
More informationGetting your department account
02/11/2013 11:35 AM Getting your department account The instructions are at Creating a CS account 02/11/2013 11:36 AM Getting help Vijay Adusumalli will be in the CS majors lab in the basement of the Love
More informationLinux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester
Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---
More informationIntroduction to Linux
Introduction to Linux M Tech CS I 2015-16 Arijit Bishnu Debapriyo Majumdar Sourav Sengupta Mandar Mitra Login, Logout, Change password $ ssh, ssh X secure shell $ ssh www.isical.ac.in $ ssh 192.168 $ logout,
More informationCSCI 2132 Software Development. Lecture 4: Files and Directories
CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts
More informationUnix. 1 tblgrant projects 0 Jun 17 15:40 doc1.txt. documents]$ touch doc2.txt documents]$ ls -l total 0
Unix Each one of you will get an account on silo.cs.indiana.edu where you will do most of your work. You will need to become familiar with the Unix environment (file system and a number of Unix commands)
More informationExercise Sheet 2. (Classifications of Operating Systems)
Exercise Sheet 2 Exercise 1 (Classifications of Operating Systems) 1. At any given moment, only a single program can be executed. What is the technical term for this operation mode? 2. What are half multi-user
More information: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group.
CMPS 12L Introduction to Programming Lab Assignment 2 We have three goals in this assignment: to learn about file permissions in Unix, to get a basic introduction to the Andrew File System and it s directory
More informationThe Unix Shell. Job Control
The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. shell shell $
More informationcommandname flags arguments
Unix Review, additional Unix commands CS101, Mock Introduction This handout/lecture reviews some basic UNIX commands that you should know how to use. A more detailed description of this and other commands
More informationLecture 3. Unix. Question? b. The world s best restaurant. c. Being in the top three happiest countries in the world.
Lecture 3 Unix Question? Denmark is famous for? a. LEGO. b. The world s best restaurant. c. Being in the top three happiest countries in the world. d. Having the highest taxes in Europe (57%). e. All of
More informationUnix Filesystem. January 26 th, 2004 Class Meeting 2
Unix Filesystem January 26 th, 2004 Class Meeting 2 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech Unix Filesystem! The filesystem is your interface
More informationLING 408/508: Computational Techniques for Linguists. Lecture 5
LING 408/508: Computational Techniques for Linguists Lecture 5 Last Time Installing Ubuntu 18.04 LTS on top of VirtualBox Your Homework 2: did everyone succeed? Ubuntu VirtualBox Host OS: MacOS or Windows
More informationYou will automatically be in your user (home) directory when you login.
Directory structure / (root) bin dev etc lib users users2 tmp These directories typically contain system libraries, executable binary files, device handlers and drivers, etc. The user home directories
More informationCS Fundamentals of Programming II Fall Very Basic UNIX
CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)
More informationLAB 8 (Aug 4/5) Unix Utilities
Aug 4/5 Due: Aug 11 in class Name: CSE number: LAB 8 (Aug 4/5) Unix Utilities The purpose of this lab exercise is for you to get some hands-on experience on using some fundamental Unix utilities (commands).
More informationContents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...
Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing
More informationCST8207: GNU/Linux Operating Systems I Lab Six Linux File System Permissions. Linux File System Permissions (modes) - Part 1
Student Name: Lab Section: Linux File System Permissions (modes) - Part 1 Due Date - Upload to Blackboard by 8:30am Monday March 12, 2012 Submit the completed lab to Blackboard following the Rules for
More informationCISC 220 fall 2011, set 1: Linux basics
CISC 220: System-Level Programming instructor: Margaret Lamb e-mail: malamb@cs.queensu.ca office: Goodwin 554 office phone: 533-6059 (internal extension 36059) office hours: Tues/Wed/Thurs 2-3 (this week
More informationWhen talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used:
Linux Tutorial How to read the examples When talking about how to launch commands and other things that is to be typed into the terminal, the following syntax is used: $ application file.txt
More informationLAB 8 (Aug 4/5) Unix Utilities
Aug 4/5 Due: Aug 11 in class Name: CSE number: LAB 8 (Aug 4/5) Unix Utilities The purpose of this lab exercise is for you to get some hands-on experience on using some fundamental Unix utilities (commands).
More informationCSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak
CSN08101 Digital Forensics Lecture 2: Essential Linux for Forensics Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak Essential Linux for Forensics You will learn in this lecture: Essential
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More informationIntroduction to Linux Workshop 1
Introduction to Linux Workshop 1 The George Washington University SEAS Computing Facility Created by Jason Hurlburt, Hadi Mohammadi, Marco Suarez hurlburj@gwu.edu Logging In The lab computers will authenticate
More informationread: permitted to read the contents of directory ( view files and sub-directories in that directory ).
File permissions Three file permissions:- read: permitted to read the contents of file. write: permitted to write to the file. execute: permitted to execute the file as a program/script. Three directory
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationGoals for This Lecture:
Goals for This Lecture: Understand how to log in remotely with SSH Understand how to transfer files with SCP Learn how to log in from SINC site windows PC s with XWIN32 Understand the long form listings
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationCS246 Spring14 Programming Paradigm Notes on Linux
1 Unix History 1965: Researchers from Bell Labs and other organizations begin work on Multics, a state-of-the-art interactive, multi-user operating system. 1969: Bell Labs researchers, losing hope for
More informationIntroduction: What is Unix?
Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix
More informationA Brief Introduction to the Linux Shell for Data Science
A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like
More informationCSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209
CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System
More informationThe Unix Shell & Shell Scripts
The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises
More informationIntroduction to Linux
Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions
More informationCENG393 Computer Networks Labwork 1
CENG393 Computer Networks Labwork 1 Linux is the common name given to a large family of operating systems. All Linux-based operating systems are essentially a large set of computer software that are bound
More informationLinux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala
Linux Training for New Users of Cluster Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu 1 Overview GACRC Linux Operating System Shell, Filesystem, and Common
More informationSECTION -C. Getting Started with UNIX
Lecture 15 SECTION -C Getting Started with UNIX Introduction Changing permission modes Absolute & Relative Permissions Changing file permissions : chmod A file or directory is created with a default set
More informationFiles and Directories
CSCI 2132: Software Development Files and Directories Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Files and Directories Much of the operation of Unix and programs running on
More informationDELL EMC UNITY: DR ACCESS AND TESTING. Dell EMC Unity OE 4.3
DELL EMC UNITY: DR ACCESS AND TESTING Dell EMC Unity OE 4.3 1 The information in this publication is provided as is. Dell Inc. makes no representations or warranties of any kind with respect to the information
More informationUnix Shell. Advanced Shell Tricks
The Advanced Shell Tricks Copyright The University of Southampton 2011 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information.
More informationOverview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions
Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System
More informationUsers, Groups and Permission in Linux
Users, Groups and Permission in Linux A small company is using Linux as the main operating and has hired you as a consultant. You completed a site walk through and also met with various individuals for
More informationgenome[phd14]:/home/people/phd14/alignment >
Unix Introduction to Unix Shell There is a special type of window called shell or terminalwindow. Terminal windows are the principal vehicle of interaction with a UNIX machine. Their function is to perform
More information1.3 What does Ctrl-D, Ctrl-A, Ctrl-F and Ctrl-T do in terms of command line editing? (6)
Question 1 2 ICT2631 1.1 How do you switch between virtual consoles? (3) Hold down CTRL and ALT keys and press F1 through F7 to switch between consoles. 1.2 Give three reasons why you may opt to use a
More informationBasic Unix. Set-up. Finding Terminal on the imac. Method 1. Biochemistry laboratories Jean-Yves Sgro
Basic Unix Biochemistry laboratories - 201 Jean-Yves Sgro -jsgro@wisc.edu Find this document here (short URL) today: http://go.wisc.edu/4iu8u5 *Note*: To see as slides click on **"Gift icon"** at the top
More informationMills HPC Tutorial Series. Linux Basics I
Mills HPC Tutorial Series Linux Basics I Objectives Command Line Window Anatomy Command Structure Command Examples Help Files and Directories Permissions Wildcards and Home (~) Redirection and Pipe Create
More informationFile system Security (Access Rights)
File system Security (Access Rights) In your home directory, type % ls -l (l for long listing!) You will see that you now get lots of details about the contents of your directory, similar to the example
More informationUnix Basics. Systems Programming Concepts
Concepts Unix directories Important Unix file commands man, pwd, ls, mkdir, cd, cp, mv File and directory access rights through permission settings Using chmod to change permissions Other important Unix
More informationOpen up a terminal, make sure you are in your home directory, and run the command.
More Linux Commands 0.1 wc The Linux command for acquiring size statistics on a file is wc. This command can provide information from line count, to bytes in a file. Open up a terminal, make sure you are
More informationMTU Computer Structure
1 MTU Computer Structure Home directory: h drive Same for Suns & PC s Location to store files Organize files by creating appropriate directories (folders) Subdirectory - any directory within in another
More informationIntroduction to Unix May 24, 2008
Introduction to Unix May 24, 2008 Exercises: Privileges REFERENCE Reference: Shah, Steve, "Linux Administration: A Beginner's Guide", 2nd. ed., Osborne press, New York, NY. If you look at files in a directory
More informationUnix Basics. UNIX Introduction. Lecture 14
Unix Basics Lecture 14 UNIX Introduction The UNIX operating system is made up of three parts; the kernel, the shell and the programs. The kernel of UNIX is the hub of the operating system: it allocates
More informationIntroduction to Unix: Fundamental Commands
Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating
More informationProgramming Languages and Uses in Bioinformatics
Programming in Perl Programming Languages and Uses in Bioinformatics Perl, Python Pros: reformatting data files reading, writing and parsing files building web pages and database access building work flow
More informationIntroduction to Linux
Introduction to Linux Phil Mercurio The Scripps Research Institute mercurio@scripps.edu 1 Session Overview What is Linux Shells & Windows The Linux File System Assorted Commands 2 What Is Linux? Linux
More informationIntroduction to the UNIX command line
Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands
More informationQuick Start Guide. by Burak Himmetoglu. Supercomputing Consultant. Enterprise Technology Services & Center for Scientific Computing
Quick Start Guide by Burak Himmetoglu Supercomputing Consultant Enterprise Technology Services & Center for Scientific Computing E-mail: bhimmetoglu@ucsb.edu Linux/Unix basic commands Basic command structure:
More informationCS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX
CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot
More informationChap2: Operating-System Structures
Chap2: Operating-System Structures Objectives: services OS provides to users, processes, and other systems structuring an operating system how operating systems are designed and customized and how they
More informationHands-on Keyboard: Cyber Experiments for Strategists and Policy Makers
Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity
More informationUnix Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : December, More documents are freely available at PythonDSP
Unix Guide Meher Krishna Patel Created on : Octorber, 2017 Last updated : December, 2017 More documents are freely available at PythonDSP Table of contents Table of contents i 1 Unix commands 1 1.1 Unix
More informationComputer Systems and Architecture
Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come
More informationThe Shell. EOAS Software Carpentry Workshop. September 20th, 2016
The Shell EOAS Software Carpentry Workshop September 20th, 2016 Getting Started You need to download some files to follow this lesson. These files are found on the shell lesson website (see etherpad) 1.
More informationSystem Administration
Süsteemihaldus MTAT.08.021 System Administration File system basics UNIX shell basics 1/23 2/23 3/23 4/23 5/23 6/23 System Root Mount points User Profiles /home /boot /dev/sda Boot loader files and Linux
More informationUnix Introduction to UNIX
Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various
More informationIntroduction to the basics of UNIX
Introduction to the basics of UNIX Joachim Hein Centre for Mathematical Sciences Lund University Outline 1 Operating system UNIX 2 Interacting with UNIX Manipulating files and directories Editing files:
More informationBasic File Attributes
Basic File Attributes The UNIX file system allows the user to access other files not belonging to them and without infringing on security. A file has a number of attributes (properties) that are stored
More informationSelf-test Linux/UNIX fundamentals
Self-test Linux/UNIX fundamentals Document: e0829test.fm 16 January 2018 ABIS Training & Consulting Diestsevest 32 / 4b B-3000 Leuven Belgium TRAINING & CONSULTING INTRODUCTION TO THE SELF-TEST LINUX/UNIX
More informationBasic UNIX commands. HORT Lab 2 Instructor: Kranthi Varala
Basic UNIX commands HORT 59000 Lab 2 Instructor: Kranthi Varala Client/Server architecture User1 User2 User3 Server (UNIX/ Web/ Database etc..) User4 High Performance Compute (HPC) cluster User1 Compute
More informationIT Essentials II: NOS Linux Labs Using Knoppix
IT Essentials II: NOS Linux Labs Using Knoppix 1 IT Essentials II Linux Labs Using Knoppix Agenda Course Overview Knoppix Lab Map Knoppix Overview Lab: Basic System Administration in Knoppix v2 2 IT Essentials
More informationDELL EMC UNITY: DR ACCESS AND TESTING. Dell EMC Unity OE 4.5
DELL EMC UNITY: DR ACCESS AND TESTING Dell EMC Unity OE 4.5 1 The information in this publication is provided as is. Dell Inc. makes no representations or warranties of any kind with respect to the information
More information5/8/2012. Encryption-based Protection. Protection based on Access Permission (Contd) File Security, Setting and Using Permissions Chapter 9
File Security, Setting and Using Permissions Chapter 9 To show the three protection and security mechanisms that UNIX provides To describe the types of users of a UNIX file To discuss the basic operations
More informationCrash Course in Unix. For more info check out the Unix man pages -orhttp://www.cs.rpi.edu/~hollingd/unix. -or- Unix in a Nutshell (an O Reilly book).
Crash Course in Unix For more info check out the Unix man pages -orhttp://www.cs.rpi.edu/~hollingd/unix -or- Unix in a Nutshell (an O Reilly book). 1 Unix Accounts To access a Unix system you need to have
More informationCSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22
CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22 Manton Matthews January 29, 2008 1 Overview The purpose of this assignment is to become
More informationCEG 333 Introduction to UNIX Wright State University Midterm Examination #1
CEG 333 Introduction to UNIX Wright State University Midterm Examination #1 Fall Quarter, 2005 Name: Student Number: READ THESE INSTRUCTIONS This is an open-book exam. The use of the notes contained in
More informationFile Properties and Permissions
File Properties and Permissions Managing File Access in Linux Peter Perry July 2009 What is it about? Open a shell (terminal) and type ls -l You get quite a bit of information about each file. Tonight,
More information