Michael Wrzaczek Dept of Biosciences, Plant Biology Viikki Plant Science Centre (ViPS) University of Helsinki, Finland

Size: px
Start display at page:

Download "Michael Wrzaczek Dept of Biosciences, Plant Biology Viikki Plant Science Centre (ViPS) University of Helsinki, Finland"

Transcription

1 Michael Wrzaczek Dept of Biosciences, Plant Biology Viikki Plant Science Centre (ViPS) University of Helsinki, Finland November 11 th, 2015

2 Why learn and use Unix Bioinformatics tools built on Unix

3 Why learn and use Unix simple I/O system good programming tools building block approach to programming many text manipulation programmes easy networking (integrated networking) are lazy

4 Why learn and use Unix Unix is very powerful Many tools run on Unix Majority of web services run on Unix

5 What is Unix... UNIX operating system 70ies, Bell Laboratories 1969: UNIX in Assembler code (Ken Thompson) : re-implementation in C (Ken Thompson and Dennis Ritchie) Until 1979: UNIX source code free, and freely distributed Early 80

6 The Unix-Philosophy Write computer programmes so, that they do one thing, but they do that one thing well.

7 The Unix-Philosophy Write programmes in a way, so that they can work together.

8 The Unix-Philosophy Write programmes in a way, that they use text files, since that is a univeral interface. (Douglas McIlroy)

9 The Unix-Philosophy Due to the history of UNIX, ease of use/userfriendlyness was not one of the prime goals. UNIX was an operating system to develop a system for geeks.

10 The Unix-Philosophy According to Eric S. Raymond Unix-Philosophies can be summed up as

11 The Unix-Philosophy Mike Gancarz, 9 paramount precepts: 1. Small is beautiful 2. Make each programme do one thing well 3. Build a prototype as soon as possible 4. Choose portability over efficiency 5. Store data in flat text files 6. Use software leverage to your advantage 7. Use shell scripts to increase leverage and portability 8. Avoid captive user interfaces 9. Make every programme a filter

12 The Unix-Philosophy 10 lesser tenets (not universally agreed upon): 1. Allow the user to tailor the environment 2. Make operating system kernels small and lightweight 3. User lowercase and keep it short 4. Save trees 5. Silence is golden 6. Think parallel 7. The sum of the parts is greater than the whole 8. Look for the 90 percent solution 9. Worse is better (simplicity over perfection!) 10.Think hierarchically

13 Unix makes it easy and efficient to customize create from scratch connect (workflow automation) Since many flavours of Unix are open-source, it is very easy to take existing code/programmes and modify them according to the specific requirements.

14 AIX, IRIX, Solaris, Mac Os X (POSIX-compliant) GNU, Minix, BSD, Linux (not certified as POSIX-compliant) Posix standard: standardized application level interface for Unix. While AIX, IRIX, Solaris, Mac Os X are posix compliant, Linux and the BSDs are not Posix-certified but generally comply with the standards. Plain and simple, the Posix standard makes it possible, to write a new operating system which is fully compatible with other Unix systems, by sticking to these specifications.

15 So, what is Linux? kernel of the GNU/Linux operating system operating system -> distribution -compatible free operating system. -user ready, Linux-kernel is used. The kernel is the central component of most computer operating Systems. Amongst other things it regulates the communication Between soft- and hardware and also between processes.

16 kernel of the GNU/Linux operating system software required (to interact with the computer.) Linux distributions kernel + additional software + package manager for simple software installation and removal Note that also many things run Linux where you might not be aware of, eg. Routers, PDAs, etc

17 freely available on the net Pay for company-support Information: discussion forums newsgroups The community is generally very helpful in solving Some GNU/Linux Distributions: Ubuntu ( Debian Gnu/Linux ( opensuse (Novell SUSE Linux Desktop; Fedora (Red Hat; Slackware Linux ( Gentoo GNU/Linux ( Mandriva Linux (formerly Mandrake;

18 Which version of Linux is right for me? Depends on use and taste. Arch, Debian, Gentoo, Slackware, etc Suse, Redhat -

19 Communication with Unix You talk directly to the operating system You to a programme, that communicates with Unix or communicates with another programme that communicates with Unix What kinds of programmes can you talk to? a shell an interactive command a Graphical User Interface (GUI) interact with the operating system tty. That comes from the teletypes that were originally used to Note: Technically any software that allows the user to interact with a computer is a shell. A GUI is a shell just like a terminal. However, usually the command-line interpreter (or terminal) is referred to as shell.

20 Communication with Unix User prompt user commands and data output output interactive commands hand down input as well as output Shell built-in commands transfer of control cat ls vi adb requests for services Kernel and Device Drivers

21 The Unix Shell PROGRAMMING LANGUAGE! Shell scripts are not compiled (=translated into binaries, the machine understandable format) but interpreted at runtime INTERPRETED LANGUAGE Shell scripts are very powerful, but more sophisticated alternatives exist. We will see Perl and Python later in the course.

22 The Unix shell Different types Thompson Shell (osh; the original UNIX shell), Bourne Shell (sh), C-Shell (csh) Korn Shell (ksh), Bourne Again Shell (bash), Z Shell (zsh) -in commands (eg. cd)

23 Which shell are you running? ~ $ grep wrzaczek /etc/passwd michael:x:1007:100::/home/michael:/bin/bash michael@infocalypse ~ $ echo $SHELL /bin/bash michael@infocalypse ~ $

24 The Unix shell few helpful things CASE SENSITIVE! trying to open a file or using a command will not work if you mix upper- and lowercase letters. Commonly, all commands use lowercase letters while options and - or lower-case.

25 The Unix shell few helpful things Tab completion typing the first few letters and then hitting the TAB key will complete the command/filename. If there are still several possibilities, when you press TAB a second time you will be presented with a list of appropriate commands/filenames. Type CO. and press TAB TAB. This will give you all commands starting with

26 Pathnames locate files and directories in a Unix filesystem File extensions usually do not identify a file (there are a few exceptions!!!) Access to files is based on the concept of users and groups Every user has a unique account with a unique ID number (UID) Users are members of one or more groups Users and groups can efficiently be used to restrict or allow access to files depending on requirements wrzaczek@kasbi31 ~ $ cd / wrzaczek@kasbi31 / $ ls -l total 72 drwxr-xr-x 2 root root :10 bin drwxr-xr-x 2 root root :43 boot drwxr-xr-x 14 root root :09 dev drwxr-xr-x 84 root root :08 etc drwxr-xr-x 26 root root :20 home drwxr-xr-x 9 root root :10 lib drwxr-xr-x 2 root root :24 media drwxr-xr-x 9 root root :21 mnt drwxr-xr-x 13 root root :44 opt dr-xr-xr-x 93 root root :08 proc drwx root root :07 root drwxr-xr-x 2 root root :24 sbin drwxr-xr-x 11 root root :08 sys drwxrwxrwt 6 root root :20 tmp drwxr-xr-x 14 root root :01 usr drwxr-xr-x 14 root root :40 var wrzaczek@kasbi31 / $ drwxr-xr-x 26 root root :20 home

27 Inside a Unix system... Enter the command df h Unix system harddisks Partition harddisks mount Directory will point to the assigned harddisk is the attaching of an additional filesystem to the currently accessible filesystem of a computer. You can tell your computer to add a new filesystem (a partition on a harddisk, a CD, a DVD, a USB stick etc) to the system and point to it from a folder on the already existing filesystem.

28 The command cd (change directory) moves you around the tree. cd without any options takes you to your home directory. cd / takes you to the root level (=the most basal part of The filesystem) NOTE: root can mean different things root: the superuser account of the system root: the home directory of the root user root: the basal level on the filesystem indicated

29 When you log in to your linux machine you find yourself in your HOME directory. Type cd / to go to the lowest level of the filesystem. Unix: single-root hierarchical file system. Devices (harddisks, cds, usb to directory locations (mountpoint) michael@infocalypse ~ $ cd / michael@infocalypse / $ ls -l total 72 drwxr-xr-x 2 root root :10 bin drwxr-xr-x 2 root root :43 boot drwxr-xr-x 14 root root :09 dev drwxr-xr-x 84 root root :08 etc drwxr-xr-x 26 root root :20 home drwxr-xr-x 9 root root :10 lib drwxr-xr-x 2 root root :24 media drwxr-xr-x 9 root root :21 mnt drwxr-xr-x 13 root root :44 opt dr-xr-xr-x 93 root root :08 proc drwx root root :07 root drwxr-xr-x 2 root root :24 sbin drwxr-xr-x 11 root root :08 sys drwxrwxrwt 6 root root :20 tmp drwxr-xr-x 14 root root :01 usr drwxr-xr-x 14 root root :40 var michael@infocalypse / $

30 Some basic information who whoami pwd on who is using the system, who are you currently, and in which directory are you currently. ls df du On files, directories and filesystems/disks. ls lists the contents of a directory df displays free/used diskspace du estimates the diskusage of files Try out the commands and check the man pages for useful Options (eg l, -h, -s, --max-depth

31 The Unix shell few helpful things Command history using the arrow-up button you can re-use the last couple of commands that you used before in your shell. Press the arrow up key to see the previously used commands or use history 10 To see eg the last 10 commands.

32 Your best friend: the man pages To obtain any information about the precise use of a command and the available options use man <commandname> Most of the Unix commands have a well-written man page describing their function and usage. man is your friend! man ps man ls man cp man df

33 Some common Unix commands The following is a list of commonly used LINUX/UNIX commands which may be of value during your Telnet sessions. Remember that LINUX/UNIX is case sensitive. Options or flags which can be used with a command are placed in [ ]. The [ ] are not part of the command and should not be included in the command that you type. passwd logout cd chmod permissions filenames chown user:group filenames clear cp oldfiles newfiles date df du [-a] [-s] directories help changes your password logs you out of a Telnet session change directory; cd.. moves you backwards to the next higher subdirectory level; cd / moves you to the highest directory level changes the permissions for a file; permissions should include a letter designating who gets permissions ( u for the user, g for the group, o for others, or a for all) followed by a + or - (to give or take away the permission) followed by the kind of permission (r for read access, w for write access, x for execute if the file is a program or script); the complete command that you type should look like: chmod g-w filename changes ownership of a file clears the screen copies a file; this leaves the old file intact and makes a new copy with a new filename tells you the current date and time displays how much space on the disks (harddrive partitions) is free tells you how much disk space your files occupy; the -a option displays the space used by each file, not just each directory; the -s option displays the total space used for each directory but not subdirectory provides online help; several topics have been included in the help system available on the servers

34 Some common Unix commands ls [-l] [-a] [-p] [-r] [-t] [-x] man [-k keywords] topic mesg [n y] mkdir new_directory mv [-i] oldname newname passwd ping IP address or server alias ps pwd ssh lists the files in a directory; -l displays detailed informtion about each file and directory, including persmissions, owners, size and time/date when the file was last modified; -a option displays all the files and subdirectories including hidden files (with names that begin with a dot); -p displays a slash at the end of each directory name to distinquish them from filenames; -r displays files in reverse order; -t displays files in order of modification time; -x displays the filenames in columns across the screen displays the reference manual page about a LINUX command; the -k keywords option allows you to see all man pages that contain that keyword; topic is the command or topic which you want information about lets you control whether other people can use the talk command to interrupt you with on-screen messaging; mesg n will block the interruptions; mesg y will allow interruptions makes a new subdirectory with the name specified by new_directory renames a file or moves it from one filename or directory to another; the -i option tells mv to prompt you before it replaces an existing filename changes your password sends a ping packet to another server; this provides information concerning the time it takes for information to make the round trip to the other computer; it will also tell you whether the other server is on-line at that time displays information about your processes/jobs/programs which are running on the server shows the directory you are currently in allows you to login to a remote ssh-server via en encrypted connection (nowadays almost always replaces telnet)

35 Some common Unix commands rm [-i] [-r] filenames removes or deletes files; the -i option asks you to confirm that you want to delete each file; the -r option is dangerous because it allows you to delete an entire directory and all of the files it containsrmdir directoryremoves a directory; you can use the -i and -r options which are described in the rm command tail [-r] [-lines] filename displays the last few lines of a file; -r displays the lines in reverse order; -lines specifies the number of lines, starting at the end of the file, you want to see touch [-a] [-c] [-m] [date] filenames changes the date and time for a file without changing the content of the file; -a changes only the date and time the file was last accessed; -c doesn't create a file if it does not already exist; -m changes only the date and time the file was last modified; date specifies the date and time to give the file in the mmddhhnn format (month, day, hour, minute); touch with a new filename will create a new, empty file traceroute IP address or server alias provides information concerning the route which packets must take to get from your computer (the server in this case) to a remote computer/server; typically used to diagnose possible problems in packet routing vim w who write username Vim is a text editor. Further information concerning the editing commands for VIm can be found in the help document. provides information concerning who is logged into the system and some details on how they are connected tells you who is using the server at that time sends a message to another person using the system; to prevent someone from writing to you, see the mesg n command

36 Becoming root The command su (substitute user) allows you to change your user identity (not only to root, but to any other user). su allows to to become root (the dash takes you su alone would make you root but leave you in the current directory).

37 The passwd command allows you to change your password. Root can use passwd <username> to change/set the password of the specified user. Using useradd, root can add a new user to the system. A common use would be eg. useradd <username> -m s /bin/bash G users What do the options m, -s and G do? Check the man page.

38 Check the man pages for the commands users groups groupadd to see what those commands do.

39 Manipulating files cp copies a file/directory from location A to location B. Remember to use the recursive option to copy directories. mv renames a file while ln creates link. What does the output of ls l tell you? The commands chown transfer ownership of a file/directory while chmod changes the permissions. michael@infocalypse ~ $ cd / michael@infocalypse / $ ls -l total 72 drwxr-xr-x 2 root root :10 bin drwxr-xr-x 2 root root :43 boot drwxr-xr-x 14 root root :09 dev drwxr-xr-x 84 root root :08 etc drwxr-xr-x 26 root root :20 home drwxr-xr-x 9 root root :10 lib drwxr-xr-x 2 root root :24 media drwxr-xr-x 9 root root :21 mnt drwxr-xr-x 13 root root :44 opt dr-xr-xr-x 93 root root :08 proc drwx root root :07 root drwxr-xr-x 2 root root :24 sbin drwxr-xr-x 11 root root :08 sys drwxrwxrwt 6 root root :20 tmp drwxr-xr-x 14 root root :01 usr drwxr-xr-x 14 root root :40 var michael@infocalypse / $

40 rm. Directories require the r option. rmdir also removes directories. no trashcan Be careful with the Option i r option Option f (force) overrides all error messages Make sure you know what you delete.

41 What would happen if you do the following? cd / rm rf * THAT!!!!!

42 About your system... uptime shows how long the machine has been running, uname -a shows the version of the running kernel. ps can be used to view the running processes ps A shows all processes and who they belong to top displays running processes dynamically in order consumed ressources

43 About your system... kill <PID> killall <processname> It is possible with kill to send also different signals to processes (check the man page).

44 Useful commands Useful for everyday work: sort, cmp, diff and comm sort is obvious, check the man pages for the options and possibilities. diff finds differences between files cmp compares two files byte for byte comm compares two sorted files line for line

45 Unix commands can be put into scripts. But they can also Following command. Example: 1 to the ls l / grep bin the following command(s) will only be executed if the previous command was successfully executed.

46 Long output & how to save it Sometimes commands will result in several pages of making it very impractical or in the worst case impossible to review everything. One possibility to solve this is, to pipe the output Through the pager less, eg. ls l less Alternatively you can redirect the output of your Commands to a file instead of the screen. ls l >> <filename> >> will append the output to the contents of a file (a non existing file will be created) while > will Overwrite the file!!!

47 What you can and cannot do... In a Unix system, the default user is not allowed to do many things... As a user you are allowed to run specific programmes and manipulate all files that belong to the user. Only the root user is allowed to do everything. To allow average users to do certain things, Unix has groups. Eg. In order to allow a user to use the CD-drive, the user has to be a member of the group cdrom File permissions are another important tool. File permissions can individually be set for the user, a certain group or everyone. More on the a little later.

48 root On Unix operating systems the first user account is called root. root is the only user on a Unix machine with completely NON-restricted rights. This is needed for installation initially and is usually used later on for administration. Since root can do anything, you do not work as root on a Unix machine unless it is really required. Use the programmes su or sudo to temporarily become root! If an attacker finds out your root password the machine is completely open to him. On BSD systems (and a few others) an alternative root-account exists named toor. toor however, only has a minimal shell.

49 grep ls l / grep bin Check the man page for grep and find out, what grep does. What happens if you try the following? ls l / > ls.txt grep bin ls.txt

50 sed Sed is a streaming editor useful to modify files or input from other programmes. s What is the difference in the output to just cat ls.txt? What happens if you add the g modifier after the subsitution? sed ls.txt How would you safe the output of this modification?

51 cut cut allows you to extract columls of characters cut c1-3 ls.txt or columns identified by delimiters from a text file. cut -d ' ' -f1 ls.txt $ cut -d':' -f1 /etc/passwd root daemon bin sys sync games Bala How would you get multiple columns?

52 Connecting to a remote machine Very often working in a terminal on a Unix machine is done via a remote connection, so that no GUI is available. Nowadays this is mostly done using ssh (the secure shell) via an encrypted connection. Earlier telnet was used (unsecure). ssh l <username> (-p<portnumber>) <name of remote machine> Many other options are available including tunneling other applications through an encrypted ssh connection and also forwarding of graphical applications to/from a remote machine when it is not allowed to do this directly. From Windows computers, the Putty client is a very good tool to connect to Unix servers via ssh. The command is used to copy files via an ssh connection between client and server.

53 Where to get information? All information is available freely on the net. As for books: Unix Power Tools (Shelly Powers, Offers a good overview over practically every topic. From very basic to quite advanced.

54 Where to go from here? The best way to learn the command line is to USE it. Experiment with the commands and read the man pages. Putting it all together then you have everything you need to even write shell scripts. The links below offer references and introduction tutorials and guides for scripting in the bash shell: Michael Wrzaczek,

55 Steven Levy: Hackers Heros of the Computer Revolution Neal Stephenson: In the Beginning Was the Commandline

UNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29

UNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29 UNIX The Very 10 Short Howto for beginners Soon-Hyung Yook March 27, 2015 Soon-Hyung Yook UNIX March 27, 2015 1 / 29 Table of Contents 1 History of Unix 2 What is UNIX? 3 What is Linux? 4 How does Unix

More information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-3. Introduction to Unix: Fundamental Commands Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

Introduction: What is Unix?

Introduction: 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 information

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free

More information

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG *nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018 GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux

More information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview 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 information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

Introduction to Unix: Fundamental Commands

Introduction 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 information

Linux for Beginners. Windows users should download putty or bitvise:

Linux for Beginners. Windows users should download putty or bitvise: Linux for Beginners Windows users should download putty or bitvise: https://putty.org/ Brief History UNIX (1969) written in PDP-7 assembly, not portable, and designed for programmers as a reaction by Bell

More information

CISC 220 fall 2011, set 1: Linux basics

CISC 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 information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

INF322 Operating Systems

INF322 Operating Systems Galatasaray University Computer Engineering Department INF322 Operating Systems TP01: Introduction to Linux Ozan Çağlayan ocaglayan@gsu.edu.tr ozancaglayan.com Fundamental Concepts Definition of Operating

More information

Outline. Structure of a UNIX command

Outline. 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 information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Introduction to Linux

Introduction 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 information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS 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 information

CS246 Spring14 Programming Paradigm Notes on Linux

CS246 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 information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction 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 information

Introduction to Linux

Introduction to Linux Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,

More information

Unix System Architecture, File System, and Shell Commands

Unix System Architecture, File System, and Shell Commands Unix System Architecture, File System, and Shell Commands Prof. (Dr.) K.R. Chowdhary, Director COE Email: kr.chowdhary@iitj.ac.in webpage: http://www.krchowdhary.com JIET College of Engineering August

More information

Introduction to Linux

Introduction 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 information

Unix Handouts. Shantanu N Kulkarni

Unix Handouts. Shantanu N Kulkarni Unix Handouts Shantanu N Kulkarni Abstract These handouts are meant to be used as a study aid during my class. They are neither complete nor sincerely accurate. The idea is that the participants should

More information

Linux 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 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 information

Introduction. What is Linux? What is the difference between a client and a server?

Introduction. What is Linux? What is the difference between a client and a server? Linux Kung Fu Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and open-source operating system distributions

More information

Commands are in black

Commands are in black Starting From the Shell Prompt (Terminal) Commands are in black / +--------+---------+-------+---------+---------+------ +------ +------ +------ +------ +------ +-- Bin boot dev etc home media sbin bin

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Introduction to Linux

Introduction 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 information

Linux Kung Fu. Stephen James UBNetDef, Spring 2017

Linux Kung Fu. Stephen James UBNetDef, Spring 2017 Linux Kung Fu Stephen James UBNetDef, Spring 2017 Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and

More information

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12)

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Objective: Learn some basic aspects of the UNIX operating system and how to use it. What is UNIX? UNIX is the operating system used by most computers

More information

Course 144 Supplementary Materials. UNIX Fundamentals

Course 144 Supplementary Materials. UNIX Fundamentals Course 144 Supplementary Materials UNIX Fundamentals 1 Background to UNIX Command Fundamentals This appendix provides a overview of critical commands and concepts Prerequisite knowledge attendees should

More information

CS4350 Unix Programming. Outline

CS4350 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 information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 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 information

Introduction of Linux

Introduction of Linux Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell

More information

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

LAB #7 Linux Tutorial

LAB #7 Linux Tutorial Gathering information: LAB #7 Linux Tutorial Find the password file on a Linux box Scenario You have access to a Linux computer. You must find the password file on the computer. Objective Get a listing

More information

Files

Files 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 information

Linux Session Part I. Kesavan M

Linux Session Part I. Kesavan M Linux Session Part I Kesavan M 180976 Overview What is an Operating System? UNIX History Parts of the UNIX OS Flavors of UNIX Before Linux GNU project Beginning of Linux Linux Today Linux - free software

More information

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

Hands-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 information

EECS2301. Lab 1 Winter 2016

EECS2301. Lab 1 Winter 2016 EECS2301 Lab 1 Winter 2016 Lab Objectives In this lab, you will be introduced to the Linux operating system. The basic commands will be presented in this lab. By the end of you alb, you will be asked to

More information

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one] Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of

More information

Unix Filesystem. January 26 th, 2004 Class Meeting 2

Unix 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 information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 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 information

Chapter 1 - Introduction. September 8, 2016

Chapter 1 - Introduction. September 8, 2016 Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering ENG224 Information Technology Part I: Computers and the Internet Laboratory 2 Linux Shell Commands and vi Editor

More information

Unix Introduction to UNIX

Unix 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 information

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. 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 information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 3: UNIX Operating System Organization Tian Guo CICS, Umass Amherst 1 Reminders Assignment 2 is due THURSDAY 09/24 at 3:45 pm Directions are on the website

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

Command-line interpreters

Command-line interpreters Command-line interpreters shell Wiki: A command-line interface (CLI) is a means of interaction with a computer program where the user (or client) issues commands to the program in the form of successive

More information

Computer Systems and Architecture

Computer 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 information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program

Using 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 information

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.

More information

The kernel is the low-level software that manages hardware, multitasks programs, etc.

The kernel is the low-level software that manages hardware, multitasks programs, etc. November 2011 1 Why Use Linux? Save Money Initial purchase and maintenance Resume Linux is used by MANY organizations More choices Tons of Linux operating systems November 2011 2 What is Linux? 1. Contains

More information

Introduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017

Introduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 Introduction to Linux Part 1 Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 ssh Login or Interactive Node kingspeak.chpc.utah.edu Batch queue system kp001 kp002. kpxxx FastX

More information

CS Unix Tools. Lecture 2 Fall Hussam Abu-Libdeh based on slides by David Slater. September 10, 2010

CS Unix Tools. Lecture 2 Fall Hussam Abu-Libdeh based on slides by David Slater. September 10, 2010 Lecture 2 Fall 2010 Hussam Abu-Libdeh based on slides by David Slater September 10, 2010 Last Time We had a brief discussion On The Origin of Species *nix systems Today We roll our sleeves and get our

More information

Introduction to Linux. Roman Cheplyaka

Introduction to Linux. Roman Cheplyaka Introduction to Linux Roman Cheplyaka Generic commands, files, directories What am I running? ngsuser@ubuntu:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu

More information

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Embedded Linux Systems Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Generic Embedded Systems Structure User Sensors ADC microcontroller

More information

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

More information

Introduction to Linux Part I: The Filesystem Luca Heltai

Introduction to Linux Part I: The Filesystem Luca Heltai The 2nd workshop on High Performance Computing Introduction to Linux Part I: The Filesystem Luca Heltai SISSA/eLAB - Trieste Adapted from a presentation by Michael Opdenacker Free Electrons http://free-electrons.com

More information

Introduction to Linux

Introduction to Linux Introduction to Operating Systems All computers that we interact with run an operating system There are several popular operating systems Operating Systems OS consists of a suite of basic software Operating

More information

Getting your department account

Getting 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 information

Introduction to Linux

Introduction to Linux p. 1/40 Introduction to Linux Xiaoxu Guan High Performance Computing, LSU January 31, 2018 p. 2/40 Outline What is an OS or Linux OS? Basic commands for files/directories Basic commands for text processing

More information

Lecture 3. Unix. Question? b. The world s best restaurant. c. Being in the top three happiest countries in the world.

Lecture 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 information

Contents. 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. 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 information

Introduction to Linux

Introduction 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 information

Introduction to Linux Workshop 1

Introduction 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 information

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80 CSE 303 Lecture 2 Introduction to bash shell read Linux Pocket Guide pp. 37-46, 58-59, 60, 65-70, 71-72, 77-80 slides created by Marty Stepp http://www.cs.washington.edu/303/ 1 Unix file system structure

More information

Mills HPC Tutorial Series. Linux Basics I

Mills 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 information

Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3.

Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3. Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3. Enter stargate.ncc.edu in the text field labeled Host Name: 4. Enter the

More information

Introduction to Linux

Introduction 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 information

Operating Systems. Copyleft 2005, Binnur Kurt

Operating Systems. Copyleft 2005, Binnur Kurt 3 Operating Systems Copyleft 2005, Binnur Kurt Content The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail.

More information

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Brief Linux Presentation. July 10th, 2006 Elan Borenstein Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History

More information

UNIX File Hierarchy: Structure and Commands

UNIX 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 information

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing Content 3 Operating Systems The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail. How to log into (and out

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. 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 information

Introduction to Linux. Fundamentals of Computer Science

Introduction to Linux. Fundamentals of Computer Science Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard

More information

The UNIX Operating System. HORT Lecture 2 Instructor: Kranthi Varala

The UNIX Operating System. HORT Lecture 2 Instructor: Kranthi Varala The UNIX Operating System HORT 59000 Lecture 2 Instructor: Kranthi Varala Operating Systems Image By Golftheman - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=4558519 Operating

More information

Overview of Unix / Linux operating systems

Overview of Unix / Linux operating systems Overview of Unix / Linux operating systems Mohammad S. Hasan Staffordshire University, UK Overview of Unix / Linux operating systems Slide 1 Lecture Outline History and development of Unix / Linux Early

More information

Files and Directories

Files 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 information

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing

More information

Session 1: Accessing MUGrid and Command Line Basics

Session 1: Accessing MUGrid and Command Line Basics Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources

More information

CSCI 2132 Software Development. Lecture 4: Files and Directories

CSCI 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 information

Working with Basic Linux. Daniel Balagué

Working with Basic Linux. Daniel Balagué Working with Basic Linux Daniel Balagué How Linux Works? Everything in Linux is either a file or a process. A process is an executing program identified with a PID number. It runs in short or long duration

More information

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. 2 Conventions Used in This Book p. 2 Introduction to UNIX p. 5 An Overview

More information

Introduction to Linux Basics

Introduction to Linux Basics Introduction to Linux Basics Part-I Georgia Advanced Computing Resource Center University of Georgia Zhuofei Hou, HPC Trainer zhuofei@uga.edu Outline What is GACRC? What is Linux? Linux Command, Shell

More information

(a) About Unix. History

(a) About Unix. History Part 1: The Unix Operating System (a) About Unix History First roots in the Bell Laboratories, early 60s Kernel rewrite in C by Ritchie / Thompson in the early 70s Source code licenses for Universities

More information

Appendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc.

Appendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc. Appendix A GLOSSARY SYS-ED/ Computer Education Techniques, Inc. $# Number of arguments passed to a script. $@ Holds the arguments; unlike $* it has the capability for separating the arguments. $* Holds

More information

12/7/10 ATSC 212 UNIX ATSC 212 ATSC 212 UNIX

12/7/10 ATSC 212 UNIX ATSC 212 ATSC 212 UNIX ATSC 212 1 An operating system (OS) is a resource manager. It's task is to schedule resources and make available resources to system processes or programs. There have been hundreds of operating systems

More information

Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015

Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015 Practical Computing-II March 20, 2015 0. An Introduction About The Course CMS M.2.2 Practical Computing-II About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About The Course

More information

5/20/2007. Touring Essential Programs

5/20/2007. Touring Essential Programs Touring Essential Programs Employing fundamental utilities. Managing input and output. Using special characters in the command-line. Managing user environment. Surveying elements of a functioning system.

More information

Basic Unix Command. It is used to see the manual of the various command. It helps in selecting the correct options

Basic Unix Command. It is used to see the manual of the various command. It helps in selecting the correct options Basic Unix Command The Unix command has the following common pattern command_name options argument(s) Here we are trying to give some of the basic unix command in Unix Information Related man It is used

More information

Linux & Shell Programming 2014

Linux & Shell Programming 2014 Unit -1: Introduction to UNIX/LINUX Operating System Practical Practice Questions: Find errors (if any) otherwise write output or interpretation of following commands. (Consider default shell is bash shell.)

More information

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda Essential Unix and Linux! Perl for Bioinformatics, 140.636! F. Pineda Generic computer architecture Memory Storage Fig. 1.2 From Designing Embedded Hardware, 2 nd Ed. by John Catsoulis OS concepts Shell

More information

Unix Tutorial Haverford Astronomy 2014/2015

Unix Tutorial Haverford Astronomy 2014/2015 Unix Tutorial Haverford Astronomy 2014/2015 Overview of Haverford astronomy computing resources This tutorial is intended for use on computers running the Linux operating system, including those in the

More information