Mass Storage System User Guide

Size: px
Start display at page:

Download "Mass Storage System User Guide"

Transcription

1 Mass Storage System User Guide NCSA Mass Storage System User Guide Table of Contents Overview Managing Home and Project Space Access MSS Commands Using MSS Effectively Sample Sessions and Examples Additional Resources 1. Overview NCSA's Mass Storage System (MSS) is available to all users of NCSA HPC production systems for permanent storage of data. It consists of a high-performance system running UberFS backended by EMC's DiskXtender software, which implements the IEEE Mass Storage Reference Model. Developed at NCSA, UberFS is a new service that is layered on top of the existing mass storage system and provides an updated interface for data management. This resource provides users with a network-centered, parallel storage system capable of unlimited storage capacity. Users may store files here permanently and confidently because backup of data is automatically done within this storage system. Two copies of each file are made without requiring user interaction. MSS supports large file sizes in a UNIX-like file system environment, with certain recommended use guidelines. It manages its disk space by automatically migrating files off disk onto tape when space becomes low or if files have not been accessed in a certain length of time. If you need to retrieve a file that has been migrated to tape, the system automatically restores it to MSS disk before it is copied to your local system. Results from production runs, important input data and other project related data can be placed in MSS permanently. Data purge policies apply to scratch spaces of HPC production systems at NCSA. Freeing up scratch file systems by moving data to MSS is in the user communities' best interest and is the only way to permanently store large amounts of data that exceed the home directory quota. Data can be staged in and out of MSS manually or using batch script commands. Due to media costs and increase in usage, NCSA implemented user quotas on data in MSS starting Jan All users have a home directory quota of 1 TB. All TeraGrid projects allocated via TRAC have a default of 5 TB per project in a separate projects area. All TeraGrid Startup and NCSA locally allocated projects have a default of 1 TB per project in a separateprojects area. Users in NCSA and TeraGrid staff projects have a home directory quota of 1 TB, and no default project space. Home directory quotas are fixed at 1 TB and cannot be increased; PIs can request additional project space if needed via the Allocation process fo r resource NCSA Tape Storage. As with NCSA HPC system allocations, allocations for NCSA Tape Storage are made for a period of one year and will need to be renewed on an annual basis. Users are strongly encouraged to delete any unneeded data to conserve space. 2. Managing Home and Project space The project directory name will be the three letter NCSA PSN of the allocation, under the directory /UROOT/projects. For users in multiple projects, a directory will be created for each project. The Principal Investigator (PI) of the project will be the owner of the directory. User subdirectories will be created under each project space, with a soft link named the three letter NCSA PSN in the user's home directory to their subdirectory in the projects area. For example, users in project xyz will have user subdirectories under /UROOT/projects/xyz, with a soft link namedxyz in each user's home directory to their project subdirectory. Users in a project can also make other subdirectories under the PSN directory. The SSH interface to NCSA MSS provides a couple of commands for checking usage and quota information: mssquota provides information on home and project(s) directory usage and quotas, updated nightly. Project directory usage will be available after it has been populated. mss ac/jdoe> mssquota -a Quota Information: jdoe

2 Home Directory Usage Quota % Used Date Updated /UROOT/u/ac /jdoe 7.15 GB 1.00 TB :15: 22 Project Quotas Project ID Project Directory Usage Quota % Used Date Updated xyz /UROOT/projects/xyz 2.37 TB TB :15:22 UNIX du utility provides an estimate of file space usage. The command du --help provides the options and usage syntax. For example, the following command will give your total home directory usage: du -sh $HOME 3. Access NCSA's mass storage system can be accessed both from outside the NCSA domain and from NCSA's production machines at mss.ncsa.uiuc. edu and at mss.ncsa.teragrid.org. Access to MSS is available via FTP and SSH based transfer clients, including GridFTP clients. You can also use SSH to login to your account and use UNIX command line utilities and basic shell scripting. Each of NCSA's production resources has a dedicated, high-speed connection to MSS. Your MSS login and password is the same as that on the NCSA HPC systems. To access MSS using GridFTP (GSI authenticated) clients, you must obtain a grid ( X.509) credential and maintain a valid proxy certificate. Refer to Creating a Proxy Using myproxy-logon for additionl proxy information. A passwordless client is available on NCSA HPC systems. Below is a summary of the available clients: Access Method Tools Description SSH SSH clients Login to MSS via SSH clients to make use of standard UNIX command line utilities. scp, sftp, filezilla, etc. Passwordless FTP based clients on NCSA HPC systems msscmd Use SSH based transfer clients for file transfer. scp and sftp available on NCSA HPC systems; use your favorite client from your local site or desktop mssftp The msscmd command provides a command line interface to mssftp. It available on all NCSA production machines and can be used both interactively and in batch scripts (see man msscmd). The mssftp command is available on all NCSA production machines. Invoking the mssftp command will automatically connect you to MSS without the need to enter a login name or password. Once connected, the interface is similar to most text-based ftp clients with an enh anced command set that provides additional functionality on MSS. Refer to man mssftp for more information. GridFTP clients Globus Online Globus Online makes robust file transfer capabilities, traditionally available only on expensive, special-purpose software systems, accessible to everyone. Globus Online is a fast, reliable file transfer service that makes it easy for any user to move any data anywhere. uberftp The uberftp client is available on all NCSA production machines and is free to download. uberf tp supports GSI authentication and GridFTP enhancements such as parallel streams. uberftp supports command line arguments and interactive use.

3 globus-url-copy globus-url-copy is a command line tool used to initiate file transfers by specifying source and destination URLs. globus-url-copy uses GSI authentication and will initiate a passwordless file transfer between sites over which a valid grid proxy has been issued. XSEDE File Manager XSEDE File Manager is a java based GridFTP client available through the XUP as an applet and as a downloadable standalone application. It enables access to desktop files, remote XSEDE systems, cloud storage systems (specifically Eucalyptus and Amazon's S3), and external systems defined by users. It supports third-party transfers, bookmarking, and remote searching. Other FTP Only the Kerberized FTP client is supported (Not recommended - use one of the above options) See NCSA's Kerberos page for information on installing Kerberos on your local machine. 3.1 Known Supported Secure Access Clients You can find access clients that have been tested to work with NCSA resources here MSS Commands 4.1 SSH The NCSA mass storage system supports an SSH interface into a UNIX environment. Many expected commands of a UNIX-like environment are available. The default shell is tcsh; contact help@ncsa.illinois.edu to change to bash. Below are the supported commands (located in /bin): awk cp false last nslookup sleep test whereis basename csh find ldd openssl sort time which bash date gawk less ps stage touch who cat diff grep ln pwd stat true xargs chfam dig groups ls rm stty tty zsh chgrp dir head md5sum rmdir sum uname chmod du hostname migchk rsync tail vi chown echo id mkdir sed tar vim cksum env kill more setfam tcsh wc compress ex ksh mv sh tee wget Also see "Useful MSS commands" (below) for details on useful commands. 4.2 FTP Use standard FTP commands such as get, put, mget, mput, ls, dir, and rename to manipulate your files locally or remotely. Enter man ftp for more information on FTP. There is also a help utility available that lists the commands: ftp> help Usage "help [topic]" where topic is one of:!? active ascii binary blksize bugs bye cat cd cdup chgrp chmod cksum close dcau debug delete dir disconnec t

4 family get glob hash help keepalive lcat lcd lcdup lchgrp lchmod ldelete ldir lls lmdelete lmkdir lpwd lquote lrename lrm lrmdir ls lsize lstage mdelete mget mkdir mode mput open order parallel passive pbsz pget pput prot put pwd quit quote recv rename resume retry rm rmdir runique send size stage sunique tcpbuf type verbose versions wait Also see "Useful MSS commands" (below) for details on useful commands, and some additional commands supported. 4.3 Useful MSS commands Below is a list of useful commands to facilitate use of the mass storage system. Most are available via both SSH and FTP access (exceptions are noted). COMMAND FUNCTION ENTRY NOTES chgrp Changes the group associated with a file chgrp groupname filename(s) Kerberized FTP does not support file name wildcards. chmod Changes the permissions for a file chmod permissions filename(s) Kerberized FTP does not support file name wildcards. stage Stages (caches) a file from tape to disk stage wait_time filename(s) (FTP) stage filename(s) (SSH) waittime is the desired waiting time (locked by the transaction) in seconds. You are given control of the prompt when waittime has expired. If you do not want to be locked by the transaction, enter a zero value. Files will be staged to disk regardless of the value of waittime. Kerberized FTP does not support file name wildcards. wait Toggles on/off waiting for a file to be cached from tape to disk when using the FTP get command wait msscmd has this enabled by default and SSH-based transfers always automatically wait. ln Creates a symbolic link quote ln target linkname(ftp) ln -s target linkname (SSH) setfam change the MSS family of files quote setfam family (FTP) setfam family filename(s) (SSH) The FTP command changes the family of subsequent files to be uploaded. To change a specific file's family via FTP, the file must be retrieved and uploaded again with the desired family. Note for Kerberized FTP: all the above commands need to prepend quote (if not already specified). For example: quote stage 0 myfile 5. Using MSS Effectively Single File size For best use of MSS, a 1 TB maximum single file size is recommended; in practice 500 GB would be optimal. Which method of access to use For the convenience of a UNIX environment, use SSH to log in to your MSS account. However SSH based file transfers may be slower than FTP due to encryption so especially for large data transfers, FTP is preferred.

5 Using tar Files If you frequently store many small- to medium-sized files in MSS, create UNIX tar files before saving to MSS. (When you "tar" files, you create a single file that is a collection of other files.) For information about the tarcommand, enter man tar. If you have a directory with 50 files, for example, that are frequently accessed together, retrieving a single tar file containing all 50 files is significantly faster than retrieving each file one by one. If stored individually, the files could potentially reside on 50 different tapes. When each of these 50 files is accessed again, you would have to wait for the tapes to be mounted and the files cached to MSS disk before they are copied to your local disk. If the 50 files are combined into a single tar file that resides on tape, only one tape mount request is generated and only one tape is read to retrieve your files. Important Note: Do not use tar when the resulting file is larger than the recommended single file size (above). Also, if you need to only access a subset of the files at any given time, tar may not be optimal since you will need to retrieve the entire (large) tar file from MSS to access a few files contained within. Built-in tar command msscmd has a built-in tar command that can also be used to save or restore a tar file from MSS. See the section "Using TAR" in the msscmd man page for syntax details and examples. To save the current directory to a tar file using the built-in tar command: msscmd "tar cf filename.tar." To restore a tar file from MSS into the current directory: msscmd "tar xf filename.tar" Preserving File Creation Information The current FTP protocol standard does not support saving files with the remote site's creation and modification times so this information will be lost when the files are retrieved from MSS. When a file is retrieved its access and creation times are timestamped with the time of retrieval. One way to preserve files' creation times and other file attributes (such as permissions) is to tar the files. The file attributes of the tar file will be lost, but the attributes of the files within the tarball will be preserved. Using the SSH interface, metadata can be preserved by using the -p option when copying files within MSS: cp -p msssrc mssdest and when copying files between other machines and MSS: scp -p msssrc otherdest scp -p othersrc mssdest Recursive features The FTP clients mssftp and uberftp support recursive features for: chgrp & lchgrp chmod & lchmod rm & lrm ls & lls get put stage In SSH sessions, the following commands have recursive abilities: ls cp rm chgrp chmod stage grep scp Tape-to-Disk Restoring When a file needs to be retrieved from MSS tape, it is normally first copied to MSS disk and then transferred to the remote host. To make room for files being read from tape, old files on the MSS disk are purged. Two additional fields are displayed when using the ls command. ftp> ls *file -rwxr-xr-x 1 jsiwek ac DK common Jan 9 10:12 recentfile -rwxr-xr-x 1 jsiwek ac AR common Jan 9 10:12 olderfile The first extra field displays the value AR or DK for each file and directory: AR (archive): File or directory is archived to tape and currently resides there.

6 DK (disk): File or directory currently resides on MSS disk. The file may also reside on tape, but MSS uses the disk copy for performance reasons. The additional field displayed after DK or AR in the directory specifies to what "family" the current listed file belongs. More information on MSS Family is presented below. During heavy usage times when there are many pending tape mount requests, retrieving a file that has been migrated to tape could take several minutes. When you use the get command, you will get a message that tells you the file is being retrieved from tape. ftp> get olderfile olderfile is being retrieved from the archive. Please retry the transfer once the file is staged or use the wait command. With mssftp, the wait option (see below) is turned off by default, so the FTP client will not wait until the file is cached from tape. So you must issue a second get command to obtain the file from MSS disk to the local resource. After a few minutes: ftp> ls olderfile -rwxr-xr-x 1 jsiwek ac DK common Jan 9 10:12 olderfile ftp> get olderfile olderfile: bytes in Seconds (9.655 MB/s) Alternatively, toggle wait by typing wait prior to issuing the first get command, and it will not be necessary to do a second. ftp> ls olderfile -rwxr-xr-x 1 jsiwek ac AR common Jan 9 10:12 olderfile ftp> wait WAIT is enabled. ftp> get olderfile olderfile: bytes in Seconds (9.655 MB/s) Or use the msscmd command instead. [jsiwek@honest2 ~]$ msscmd "ls olderfile, get olderfile" -rwxr-xr-x 1 jsiwek ac AR common Jan 9 10:12 olderfile olderfile: bytes in Seconds (9.655 MB/s) The wait and msscmd methods eliminate the need to issue a second get (or alternatively use the stagecommand (described below)), but you may still wait a significant time before archived files begin transferring. Improving Access Times Using Prestaging MSS can prestage files that have been archived to tape. To copy the files to MSS disk for near-future access, use the stage command (see Useful MSS Commands for more details). stage copies your files to MSS disk without actually transfering them to the local filesystem so that when you later attempt to retrieve your files, they can be transferred directly from MSS disk. For example, if you have files file1, file2, and file3 in your directory in MSS and they all reside on tape, you can copy them to MSS disk by entering any of the following mssftp commands: ftp> stage 0 file? ftp> stage 0 file* ftp> stage 0 file[1-3] ftp> stage 0 file1 file2 file3 The second argument of stage shown above is the number of seconds that the command will wait at the prompt for the stage to complete. It's recommended to use 0 since the staging request is always sent to MSS and occurs in the background even if the stage command returns to the prompt before the file is retrieved from tape. Recursive staging of a directory can be done with the -r option: ftp> stage -r 0 dir

7 dir/file1: Success dir/file2: Success dir/file3: Success dir/dir2/file4: Success There is no penalty for using stage on files that already exist on disk. The command just returns the "Success" message. If the file exists solely on tape and you use the staging commands on this file, the "Staging" message is displayed. stage is effective for sessions that necessitate retrieving archived files of both significant quantity and size. This session would start by issuing a stage command for all files, then a waiting get command (through toggling wait or using msscmd) for all files. This sequence will allow files to continue staging to MSS disk in the background while transfers to the local system ensue for files that have finished staging, hopefully with shorter latencies (due to MSS disk staging) for each subsequent transfer. HINT: Only stage the files that have a near-immediate need. Prestaging all your files couldpurge other files on disk that you wanted to use. Or, if you prestage your files too far in advance, they could be purged from disk before you have a chance to access them. NOTE: Kerberized ftp does not have all the functionality listed above. One must use the `quote stage 0 file` command to stage individual files. Wildcards are not supported. MSS Families If you always access a large number of files at the same time, it might be useful to have all the files belong to the same family. All files that belong to a family reside on a common set of tapes, so there are fewer tape mounts required to access the files. An approximate rule of thumb is that if you save more than 500 files every month for an extended period with a plan for frequent use of them, it may be worth asking for a family. Users can request a family to be assigned to them by sending an to help@ncsa.illinois.edu. Automated Saving of Files from Batch Jobs On NCSA's SGI Altix UV (ember) and Intel 64 Tesla Cluster(lincoln) resources, the saveafterjob utility is available for automated, guaranteed saving of files from batch jobs to mass storage. Users writing their own job scripts should specify the $SCR environment variable as the destination file system for the job. Important Note: Be sure to specify all files that need to be saved to saveafterjob. The default behavior of saveafterjob is to purge the temporary job directory upon successful transfer of the specified files. See the document Automated Saving of Files from Batch Jobs for more information. MSS Directory Listing Occasionally you may have a need to get an inventory of your files in MSS. There are several ways to list the contents of your MSS directory tree (or a subdirectory): mssls utility on NCSA HPC systems recursive listing via SSH msscmd (or interactively with mssftp) % mssls [mss_dir] % ssh mss.ncsa.uiuc.edu "ls -lr [mss_dir]" % msscmd "ls -r [mss_dir]" uberftp % uberftp mss.ncsa.uiuc.edu "ls -r [mss_dir]" 6. Sample Sessions and Examples 6.1 Sample SSH Session Connecting Use the mss.ncsa.uiuc.edu hostname to connect. Accept the fingerprint if connecting for the first time, then use your NCSA kerberos password. [jsiwek@ember ~]$ ssh mss.ncsa.uiuc.edu The authenticity of host 'mss.ncsa.uiuc.edu ( )' can't be established. RSA key fingerprint is f7:fc:9f:45:91:9e:c6:70:b6:75:af:bf:b1:ae:b2:bf. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'mss.ncsa.uiuc.edu' (RSA) to the list of known hosts. jsiwek@mss.ncsa.uiuc.edu's password: Last login: Fri Jan 9 11:36: from ember.ncsa.illinois.edu

8 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%% mss ac/jsiwek> Standard UNIX commands Many of the basic commands expected of a unix-like environment are available. Getting help on a command Commands often come with a --help option to help explain their usage. mss jsiwek/testdir> mkdir --help Usage: mkdir [OPTION] DIRECTORY... Displaying Directories The current directory is obtained with pwd, and also displayed along with its parent directory in the shell prompt. A detailed, long listing of a directory can be seen with ls -l. Navigating into different directories is done with the cdcommand. mss ac/jsiwek> pwd /UROOT/u/ac/jsiwek mss ac/jsiwek> ls test.tar testdir mss ac/jsiwek> cd testdir mss jsiwek/testdir> ls -l total 64 -rwxr-xr-x 1 jsiwek ac DK common 8 Jan 9 10:12 myfile drwxr-xr-x 2 jsiwek ac DK common 42 Jan 21 16:03 subdir Manipulating Files and Directories New directories can be created with mkdir. New files can be created and edited with vim. It's possible to display contents and concatenate files with cat or to search for patterns contained within files with grep. mss ac/jsiwek> mkdir dir mss ac/jsiwek> echo grepforthis > grepme mss ac/jsiwek> echo grepforthis > grepme2 mss ac/jsiwek> cat grepme grepforthis mss ac/jsiwek> grep grepforthis * grepme:grepforthis grepme2:grepforthis Deleting Files and Directories The -r option must be used for directory deletion. mss ac/jsiwek> rm testdir/myfile mss ac/jsiwek> rm dir rm: cannot remove `dir': Is a directory mss ac/jsiwek> rm -r dir Listing File/Directory structure and count totals

9 To see the layout of your directories and files plus the count total for each, you can use the "tree" command. The "tree" command takes a directory as an argument. If no argument is given, tree will use the current working directory where the command is run from. Type "tree --help" for detailed usage information. [mss ~]$ tree programs programs -- c -- mpi -- batch `-- tg.login-hw2-mpi.c.batch -- hw2-mpi.c -- hw2-mpi.c.orginal -- interactive -- ring-mpi.obj -- ring-mpi_topo.c -- ring-mpi_topo.o `-- ring-mpi_topo.tar -- serial -- batch `-- interactive `-- test-work -- a-static.out -- a.out -- hw2-mpi.c -- titan-mpi2hw.batch `-- tmp -- gst-tg-login-srl.batch -- tnmpi e `-- tnmpi o -- fortran -- mpi -- Sample_mpio.f90 -- batch -- hw2-mpi.f -- hw2-mpi.f-out... `-- a,out `-- java -- mpi -- batch

10 `-- interactive `-- serial -- batch `-- interactive 24 directories, 37 files Note: For large complex directory/file tree strucures you may want to send the standard output to a file. Additional Ported MSS commands stage - copies data from MSS tape archive into MSS disk cache mss ac/jsiwek> ls -l oldfile -rw jsiwek ac AR common May 13 12:48 oldfile mss ac/jsiwek> stage oldfile oldfile: Staging 0 files remaining. A few minutes later: -rw jsiwek ac DK common May 13 12:48 oldfile chfam - change the MSS family of files mss ac/jsiwek> chfam Usage: chfam family [filenames] mss ac/jsiwek> touch newfile mss ac/jsiwek> ls -l newfile -rw-r-r- 1 jsiwek ac DK common 0 Jan 9 12:30 newfile mss ac/jsiwek> chfam unitest newfile mss ac/jsiwek> ls -l newfile -rw-r-r- 1 jsiwek ac DK unitest 0 Jan 9 12:30 newfile Transferring Files MSS can be the source or destination of SSH based transfers, like scp. mss ac/jsiwek> echo "xxxxx" > file mss ac/jsiwek> scp file jsiwek@ember.ncsa.illinois.edu:~ jsiwek@ember.ncsa.illinois.edu's password: file 100% 6 0.0KB/s 0.0KB/s 00:00 mss ac/jsiwek> rm file mss ac/jsiwek> scp jsiwek@ember.ncsa.illinois.edu:~/file. jsiwek@ember.ncsa.illinois.edu's password: file 100% 6 0.0KB/s 0.0KB/s 00:00 mss ac/jsiwek> cat file Sample FTP Session The following sample FTP session with MSS uses a subset of common FTP and MSSFTP commands. Connecting To initiate an FTP session to MSS from an NCSA UNIX production machine, a user enters the mssftp command at the prompt. [jsiwek@ember ~]$ mssftp 220 mss.ncsa.uiuc.edu GridFTP Server 3.11 (gcc64dbgpthr, ) [Globus Toolkit 4.2.0] ready. 230-User jsiwek logged in. ftp> Getting help on a command

11 More information on a command is available by specifying the command as an option to help: ftp> help rm Removes the remote file system object(s). Usage: rm [-r] object1 [object1...objectn] -r Recursively remove the given directory. Note: Commands only operate recursively in subdirectories if -r option is given and available. Displaying the Directory The example below displays the current MSS directory path by entering the pwd command and then displays the contents of the working directory by entering the ls command. ftp> pwd /UROOT/u/ac/jsiwek ftp> ls drwxr-x--- 6 jsiwek ac DK common 80 Jan 7 16:49. drwxr-xr-x unitree ac DK common Jan 8 16:19.. drwx jsiwek ac DK common 24 Dec 18 11:58.ssh -rw-r-r- 1 jsiwek ac DK common Dec 30 09:43 test.tar drwx jsiwek ac DK common Jan 8 13:07 testdir Transferring Files The user enters the FTP put command to transfer the file myfile into MSS. Next the chmod command is used to change the permissions of the file to user read/writable, group readable, and world inaccesible (640). Finally, the group is changed with chgrp. ftp> put myfile ls myfile: 8 bytes in Seconds (6.789 B/s) ftp> ls myfile -rw-r-r- 1 jsiwek ac DK common 8 Jan 9 11:11 myfile ftp> chmod 640 myfile ftp> ls myfile -rw-r jsiwek ac DK common 8 Jan 9 11:11 myfile ftp> chgrp tornado myfile ftp> ls myfile -rw-r jsiwek tornado DK common 8 Jan 9 11:11 myfile For creating and adding users to MSS groups, contact help@ncsa.illinois.edu. Deleting Files Within mssftp, delete files with the rm command. End the FTP session with MSS by entering quit. ftp> rm myfile ftp> ls myfile No match for myfile ftp> quit 221 Goodbye. Note: In kerberized FTP, rm expands to rmdir which only deletes directories. To delete files, usedelete.

12 7. Additional Resources XSEDE Data Transfer Overview TeraGrid Using GridFTP clients to transfer files

Data transfer at CINECA: how to enjoy it!

Data transfer at CINECA: how to enjoy it! Data transfer at CINECA: how to enjoy it! Giacomo Mariani g.mariani@cineca.it Bologna 03/05/2011 www.cineca.it Table of contents Resources What we have Use Case What users need Tools How we support them

More information

Data Management at ARSC

Data Management at ARSC Data Management at ARSC David Newman (From slides by Tom Logan) (from Slides from Don Bahls) Presentation Overview 1. ARSC storage 2. Data Management within ARSC 3. Additional Notes on Long Term Storage

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

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

EMC DiskXtender for UNIX/Linux Storage Manager Release 2.11

EMC DiskXtender for UNIX/Linux Storage Manager Release 2.11 EMC DiskXtender for UNIX/Linux Storage Manager Release 2.11 User Guide P/N 300-006-394 REV A01 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748-9103 1-508-435-1000 www.emc.com Copyright 2002

More information

Data Movement and Storage. 04/07/09 1

Data Movement and Storage. 04/07/09  1 Data Movement and Storage 04/07/09 www.cac.cornell.edu 1 Data Location, Storage, Sharing and Movement Four of the seven main challenges of Data Intensive Computing, according to SC06. (Other three: viewing,

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

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

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal. Warnings 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material in Sobell! If

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

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

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

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

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

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

Introduction to the Linux Command Line

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

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011 Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)

More information

Introduction to Linux

Introduction to Linux Introduction to Linux January 2011 Don Bahls User Consultant (Group Leader) bahls@arsc.edu (907) 450-8674 Overview The shell Common Commands File System Organization Permissions Environment Variables I/O

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

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

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza Sommario Shell command language Introduction A

More information

CSCE 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 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 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

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

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

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Esercitazione Introduzione al linguaggio di shell Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza

More information

Using the Mass Storage System HPSS. Mitchell Griffith. Oak Ridge Leadership Computing Facility (OLCF) Presented by:

Using the Mass Storage System HPSS. Mitchell Griffith. Oak Ridge Leadership Computing Facility (OLCF) Presented by: Using the Mass Storage System HPSS Presented by: Mitchell Griffith Oak Ridge Leadership Computing Facility (OLCF) 2 HPSS (archival storage) What is HPSS? HPSS is software that manages petabytes of data

More information

Part 5: FTP More about this course about Internet

Part 5: FTP More about this course about Internet *:96 Overheads 2a-1 Part 5: FTP More about this course about Internet application protocols can be found at URL: http://www.dsv.su.se/jpalme/internet-course/int-appprot-kurs.html Last update: 2005-09-29

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

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

UNIX Quick Reference

UNIX Quick Reference UNIX Quick Reference This card represents a brief summary of some of the more frequently used UNIX commands that all users should be at least somewhat familiar with. Some commands listed have much more

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

hash Remember the full pathname of a name argument head Output the first part of file(s) history Command History hostname Print or set system name

hash Remember the full pathname of a name argument head Output the first part of file(s) history Command History hostname Print or set system name LINUX Commands alias Create an alias apropos Search Help manual pages (man -k) awk Find and Replace text, database sort/validate/index break Exit from a loop builtin Run a shell builtin bzip2 Compress

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

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Warnings 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material in Sobell! If

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

The Unix Shell & Shell Scripts

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

Computer Architecture Lab 1 (Starting with Linux)

Computer Architecture Lab 1 (Starting with Linux) Computer Architecture Lab 1 (Starting with Linux) Linux is a computer operating system. An operating system consists of the software that manages your computer and lets you run applications on it. The

More information

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1 1 UNIX... 1-2 1.1 USER-ENVIRONMENT... 1-2 1.1.1 User-environment... 1-3 1.1.2 Basic commands... 1-3 1.1.3 SCO Unix specific commands... 1-4 1.1.4 HP Unix specific commands... 1-4 1.2 FILE SYSTEM... 1-5

More information

unix intro Documentation

unix intro Documentation unix intro Documentation Release 1 Scott Wales February 21, 2013 CONTENTS 1 Logging On 2 1.1 Users & Groups............................................. 2 1.2 Getting Help...............................................

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

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

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

AN INTRODUCTION TO UNIX

AN INTRODUCTION TO UNIX AN INTRODUCTION TO UNIX Paul Johnson School of Mathematics September 18, 2011 OUTLINE 1 INTRODUTION Unix Common Tasks 2 THE UNIX FILESYSTEM Moving around Copying, deleting File Permissions 3 SUMMARY OUTLINE

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

CHAPTER 1 UNIX FOR NONPROGRAMMERS

CHAPTER 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 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

Linux Refresher (1) 310/ Fourth Workshop on Distributed Laboratory Instrumentation Systems (30 October - 24 November 2006)

Linux Refresher (1) 310/ Fourth Workshop on Distributed Laboratory Instrumentation Systems (30 October - 24 November 2006) 310/1779-4 Fourth Workshop on Distributed Laboratory Instrumentation Systems (30 October - 24 November 2006) Linux Refresher (1) Razaq Babalola IJADUOLA These lecture notes are intended only for distribution

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

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

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r 1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A) ^pat B) $pat C) pat$ D) pat^ 2. Which command is used to sort the lines of data in a file in reverse

More information

IMPORTANT: Logging Off LOGGING IN

IMPORTANT: Logging Off LOGGING IN These are a few basic Unix commands compiled from Unix web sites, and printed materials. The main purpose is to help a beginner to go around with fewer difficulties. Therefore, I will be adding to this

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

Introduction To Linux

Introduction To Linux Introduction To Linux Using The Command Line David To Biomedical Research Centre for Mental Health 2nd December 2010 1 What Is Linux? UNIX-like operating system using the Linux Kernel: http://kernel.org/

More information

MTU Computer Structure

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

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys Hitchhiker s Guide to VLSI Design with Cadence & Synopsys David Money Harris 17 January 2009 The VLSI design tools at Harvey Mudd College are hosted on a Linux server named chips. This document introduces

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

List of Linux Commands in an IPm

List of Linux Commands in an IPm List of Linux Commands in an IPm Directory structure for Executables bin: ash cpio false ln mount rm tar zcat busybox date getopt login mv rmdir touch cat dd grep ls perl sed true chgrp df gunzip mkdir

More information

Lecture # 2 Introduction to UNIX (Part 2)

Lecture # 2 Introduction to UNIX (Part 2) CS390 UNIX Programming Spring 2009 Page 1 Lecture # 2 Introduction to UNIX (Part 2) UNIX is case sensitive (lowercase, lowercase, lowercase) Logging in (Terminal Method) Two basic techniques: 1. Network

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

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

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

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the

More information

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12.

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12. CIE- 25 Marks Government of Karnataka Department of Technical Education Bengaluru Course Title: Linux Lab Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78 Type of Course: Tutorial, Practical s & Student

More information

acmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs;

acmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs; Note: you can find this file under: http://www.cs.queensu.ca/ acmteam/unix.pdf Introduction to Unix Tutorial In this tutorial, you will learn: How to manage your account (user ID, password, shell); Navigating

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

Contents. FTP commands 1

Contents. FTP commands 1 Contents FTP commands 1 FTP server commands 1 display ftp-server 1 display ftp-user 1 free ftp user 2 free ftp user-ip 3 free ftp user-ip ipv6 3 ftp server acl 4 ftp server dscp 5 ftp server enable 5 ftp

More information

Using the computational resources at the GACRC

Using the computational resources at the GACRC An introduction to zcluster Georgia Advanced Computing Resource Center (GACRC) University of Georgia Dr. Landau s PHYS4601/6601 course - Spring 2017 What is GACRC? Georgia Advanced Computing Resource Center

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

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

AIM Enterprise Platform Software IBM z/transaction Processing Facility Enterprise Edition 1.1.0

AIM Enterprise Platform Software IBM z/transaction Processing Facility Enterprise Edition 1.1.0 z/tpf V1.1 Title: z/tpf File System Review Subtitle: Our Greatest Hits Name: Stephen Record Venue: DBDF Subcommittee AIM Enterprise Platform Software IBM z/transaction Processing Facility Enterprise Edition

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

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

Introduction to UNIX Command Line

Introduction to UNIX Command Line Introduction to UNIX Command Line Files and directories Some useful commands (echo, cat, grep, find, diff, tar) Redirection Pipes Variables Background processes Remote connections (e.g. ssh, curl) Scripts

More information

Common UNIX Utilities Alphabetical List

Common UNIX Utilities Alphabetical List Common UNIX Utilities Alphabetical List addbib - create or extend a bibliographic database apropos - locate commands by keyword lookup ar - create library archives, and add or extract files at - execute

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

Introduc)on to Linux Session 2 Files/Filesystems/Data. Pete Ruprecht Research Compu)ng Group University of Colorado Boulder

Introduc)on to Linux Session 2 Files/Filesystems/Data. Pete Ruprecht Research Compu)ng Group University of Colorado Boulder Introduc)on to Linux Session 2 Files/Filesystems/Data Pete Ruprecht Research Compu)ng Group University of Colorado Boulder www.rc.colorado.edu Outline LeHover from last week redirec)on Filesystem layout

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

Introduction to UNIX command-line

Introduction to UNIX command-line Introduction to UNIX command-line Boyce Thompson Institute March 17, 2015 Lukas Mueller & Noe Fernandez Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions

More information

commandname flags arguments

commandname 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 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

for more :-

for more :- JNTU ONLINE EXAMINATIONS [Mid 1 - UNIX] 1. C programmers in the unix environment has complete access to the entire system call library as well as the a. static library functions b. dynamic library functions

More information

Using WestGrid from the desktop Oct on Access Grid

Using WestGrid from the desktop Oct on Access Grid Using WestGrid from the desktop Oct 11 2007 on Access Grid Introduction Simon Sharpe, UCIT Client Services The best way to contact WestGrid support is to email support@westgrid.ca This seminar gives you

More information

Arkansas High Performance Computing Center at the University of Arkansas

Arkansas High Performance Computing Center at the University of Arkansas Arkansas High Performance Computing Center at the University of Arkansas AHPCC Workshop Series Introduction to Linux for HPC Why Linux? Compatible with many architectures OS of choice for large scale computing

More information

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (( )) (( )) [ x x ] cdc communications, inc. [ x x ] \ / presents... \ / (` ') (` ') (U) (U) Gibe's UNIX COMMAND Bible ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The latest file from the Cow's

More information

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm Operating Systems Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) armahmood786@yahoo.com alphasecure@gmail.com alphapeeler.sf.net/pubkeys/pkey.htm http://alphapeeler.sourceforge.net pk.linkedin.com/in/armahmood

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

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2 CSE Linux VM For Microsoft Windows Based on opensuse Leap 42.2 Dr. K. M. Flurchick February 2, 2017 Contents 1 Introduction 1 2 Requirements 1 3 Procedure 1 4 Usage 3 4.1 Start/Stop.................................................

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

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

Unit: Making a move (using FTP)

Unit: Making a move (using FTP) Data Introduction to Unix and HPC (HPC for Wimps) Unit: Making a move (using FTP) Goals: Can login via Secure FTP and see home directory. Can transfer a file from local machine via FTP to home directory.

More information

2) clear :- It clears the terminal screen. Syntax :- clear

2) clear :- It clears the terminal screen. Syntax :- clear 1) cal :- Displays a calendar Syntax:- cal [options] [ month ] [year] cal displays a simple calendar. If arguments are not specified, the current month is displayed. In addition to cal, the ncal command

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

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

Unix Workshop Aug 2014

Unix Workshop Aug 2014 Unix Workshop 2014 5 Aug 2014 What is Unix Multitasking, multiuser operating system Often the OS of choice for large servers, large clusters Unix Around You You re probably familiar with these: Linux Solaris

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

Self-test Linux/UNIX fundamentals

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

Secure Shell Commands

Secure Shell Commands This module describes the Cisco IOS XR software commands used to configure Secure Shell (SSH). For detailed information about SSH concepts, configuration tasks, and examples, see the Implementing Secure

More information