Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3.
|
|
- Domenic Gordon
- 5 years ago
- Views:
Transcription
1 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 1 st three characters of your last name followed by the last 4 digits of your Banner ID in the text field labeled User Name: 5. Click the Connect button 6. Enter your password (Banner ID example N ) when prompted 7. Approve any other responses from the server
2 UNIX Shell Commands The shell is a UNIX program that interprets the commands entered from the keyboard. Examples: Bourne, Korn, C, Bash, tcsh, zsh Linux default shell is Bash (Bourne again shell) has best of Bourne and Korn shells Note: UNIX is case-sensitive uppercase and lowercase characters are treated differently Commands are entered in lowercase Help can be obtained by typing the command followed by help Example: date --help The man (manual) command gives a more in depth use of the command. Use q to exit man Example: man date The whatis command gives a brief description of the command - whatis date To display the system date: Type date [doej@xoserver ~]$ date Tue Sep 16 21:45:17 EDT 2008 [doej@xoserver ~]$ Try the command: date u (displays the date as Universal Coordinated Time or GMT) To display the calendar: cal (try the command cal ) To change your password: passwd To display the full path to the current directory: pwd Try some of these commands: set - clear - who or w - whoami -
3 Directory listing command ls command ls lists the directory contents ls a includes hidden files ls la list [doej@xoserver ~]$ ls CLCfg.cer IMAPmail public_html CLCfg.pem local.cshrc SidiousCLC.cer CLConSidious.cer local.login sidious.clc.matcmp.ncc.edu_clcca.crt CLCuser.cer local.profile [doej@xoserver ~]$ ls -a. CLConSidious.cer.profile.. CLCuser.cer public_html.bash_history IMAPmail.rnd.bash_logout.lesshst SidiousCLC.cer.bash_profile local.cshrc sidious.clc.matcmp.ncc.edu_clcca.crt.bashrc local.login.ssh2 CLCfg.cer local.profile CLCfg.pem.mailboxlist [doej@xoserver ~]$ ls -la total 88 drwxr-xr-x 5 doej faculty 4096 Sep 16 21:52. drwxr-xr-x 109 root root 4096 Sep 4 14:07.. -rw doej faculty 2094 Mar bash_history -rw-r--r-- 1 doej faculty 33 Aug 26 19:44.bash_logout -rw-r--r-- 1 doej faculty 176 Aug 26 19:44.bash_profile -rw-r--r-- 1 doej faculty 124 Aug 26 19:44.bashrc -rw doej faculty 1462 Aug CLCfg.cer -rw doej faculty 2037 Sep CLCfg.pem -rw doej faculty 958 Sep CLConSidious.cer -rw doej faculty 1512 Aug CLCuser.cer drwx doej faculty 4096 Aug 27 10:57 IMAPmail -rw doej faculty 35 Sep 16 21:52.lesshst -rw-r--r-- 1 doej faculty 124 Oct local.cshrc -rw-r--r-- 1 doej faculty 607 Oct local.login -rw-r--r-- 1 doej faculty 582 Oct local.profile -rw-r--r-- 1 doej faculty 36 Dec mailboxlist -rw-r--r-- 1 doej faculty 144 Oct profile drwxr-xr-x 2 doej faculty 4096 Sep 16 21:27 public_html -rw doej faculty 1024 Sep rnd -rw doej faculty 958 Aug SidiousCLC.cer -rw doej faculty 958 Aug sidious.clc.matcmp.ncc.edu_clcca.crt drwxr-xr-x 3 doej faculty 4096 Jul ssh2 [doej@xoserver ~]$
4 The command prompt PS1 environment variable To display the PS1 variable, type set or echo $PS1 Some of the Prompt display options \d date \h hostname \n gives a new line (like enter) \s shell name \t time \u username \w path of the working directory \W name of working directory only \$ displays $ or # if the user is root \[ marks the start of sequence of characters \] marks the end of sequence of characters PS1 value PS1='[\u@\h \W]\$ ' Resulting prompt [doej@xoserver ~]$ To change the prompt, enter PS1=followed by options example PS1= // cat used to create or display contents of a file example: cat > myfile.txt (to create a file) example: cat >> myfile.txt (to append to the end of a file) example: cat myfile.txt (to display the contents of a file) example: cat myfile.txt more (to view the file a page at a time) cp copy a file or multiple files examples: cp myfile.txt myfile2.txt myfile2.txt copy myfile.txt into the same directory with the name cp /etc/hosts. rm remove file or files Examples: rm myfile.txt rm -r directory Remove the file myfile.txt without prompting remove a directory, even if files exist in the directory
5 Directory Listing And Permissions group permissions D r w X R w x r w x owner permissions others permissions 1 st position d directory or file Owner permissions - read, write, execute (run) Group permissions - permissions for users (members) in this group Others permissions - permissions for other users Note that a dash in the permission means the permission is denied. chmod command changes permissions (see ) chmod g+rx myfile.txt myfile.txt chmod ugo+x file1.txt chmod o-x file1.txt chmod 744 file1.txt grant the group read and execute permission to the file grant everyone execute permission to file1.txt deny others execute permission to file1.txt grant all permissions to owner, read to group and others
6 1 st column permissions 2 nd column number of subdirectories in directory, or number of files hard linked to this file 3 rd column owner 4 th column group 5 th column size in bytes 6 th column date & time file was last modified 7 th column filename Special directories in all sub-directories:. (dot) represents the current directory.. (dot dot) represents the parent directory mkdir create a directory example: mkdir mydir cd change directory examples: cd or cd ~ change to home directory cd / change to the root (main) directory cd.. change to the parent directory rmdir remove directory example: rmdir mydir exit or logout exit Linux
7 ~]$ ls -la / total 172 drwxr-xr-x 25 root root 4096 Jan 17 00:46. drwxr-xr-x 25 root root 4096 Jan 17 00:46.. -rw-r--r-- 1 root root 0 Jan 17 00:46.autofsck -rw-r--r-- 1 root root 0 May autorelabel drwxr-xr-x 2 root root 4096 Jan 17 01:58 bin drwxr-xr-x 4 root root 3072 Jan 17 00:46 boot drwxr-xr-x 11 root root 3640 Jan 17 00:46 dev drwxr-xr-x 98 root root Jan 31 04:03 etc drwxr-xr-x 8 root root 4096 Dec 5 17:48 home drwxr-xr-x 14 root root 4096 Jan 17 01:55 lib drwx root root May lost+found drwxr-xr-x 2 root root 4096 Mar media drwxr-xr-x 2 root root 0 Jan 17 00:46 misc drwxr-xr-x 2 root root 4096 Mar mnt drwxr-xr-x 2 root root 0 Jan 17 00:46 net drwxr-xr-x 6 root root 4096 Sep 26 15:30 opt dr-xr-xr-x 204 root root 0 Jan 17 00:45 proc drwxr-x root root 4096 Jan 16 19:59 root drwxr-xr-x 2 root root Jan 17 01:58 sbin drwxr-xr-x 2 root root 4096 May selinux drwx root root 4096 Jul spamassassin drwxr-xr-x 2 root root 4096 Mar srv drwxr-xr-x 11 root root 0 Jan 17 00:45 sys drwxr-xr-x 3 root root 4096 Sep 26 15:10 sysadmin drwxrwxrwt 5 root root 4096 Feb 3 13:42 tmp drwxr-xr-x 16 root root 4096 Jun usr drwxr-xr-x 25 root root 4096 Jul var [grahamf@newton ~]$ Executables Bootstrap loader System Devices Configuration files Users home dir Shared library files File system check files Temp mount points Vendor based apps Virtual file system in memory only, processes root s home dir system admin Hardware info Temp storage space Most OS files & progs Error logs, mail etc [grahamf@newton ~]$ df (Amount of free space remaining on disk) Filesystem 1K-blocks Used Available Use% Mounted on /dev/cciss/c0d0p % / /dev/cciss/c0d0p % /var /dev/cciss/c0d0p % /home /dev/cciss/c0d0p % /boot tmpfs % /dev/shm [grahamf@newton ~]$ mount /dev/cciss/c0d0p6 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/cciss/c0d0p3 on /var type ext3 (rw,usrquota,grpquota) /dev/cciss/c0d0p2 on /home type ext3 (rw,usrquota,grpquota) /dev/cciss/c0d0p1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) [grahamf@newton ~]$ sudo mount t iso9660 /dev/scd0 /media/cdrom0
8 Files And Directories Enter the cd command to move to the home directory (folder) Make the directory ite213, if it does not exist Create the directories linux, windows, temp and dos within the ite213 directory Copy the contents of Examples folder (if it exists) to the linux folder. Copy the same info into to the temp folder Check both folders to make sure the contents are there Use the cat command to create the file, file1, in the ite213 folder with the following information: John Doe,Computer Science,CMP210 Bart Jones,Information Technology,ITE101 Mary Williams,Mathematics,MAT122 Sue Carson,Computer Science,CMP217 Press Ctrl-d to save and close the file Copy the file, file1, to file2 Rename file2 to students Change the permissions of the students file as follows: chmod ugo+r ~/ite213/students chmod ugo+rwx ~/ ite213/students alias and unalias commands The alias command is used to give a name to a command. The unalias command is used to remove the alias. Use the alias command to name the following Linux commands by their equivalent DOS names. alias dir="ls -l" alias copy="cp" alias rename="mv" alias md="mkdir" alias rd="rmdir" alias del="rm -i" alias deltree="rm -R" Remove the temp folder and its contents with the deltree alias.
9 The find Command (Find a File with Specific Characteristics) find path test action find /home name students -print Example: Starting from the home directory, find the file named students; display the results. From my home directory, find all files and folders that only I have access to: find ~ -perm 700 -print Find all of the tgz files in my home folder: find ~ -name *.tgz print See the man pages for more examples Filtering Using the grep command (Search Within A Text File) The name of the command - g/re/p (search globally for a regular expression and print lines where found). The basic structure of the command is grep [OPTION] pattern file Example: search the file /etc/passwd for your username - grep username /etc/passwd grep i john ite213/students - i option ignores differences in case grep -l john * grep -lr john /etc grep -lrs john /etc - s option suppresses error messages Example Regular Expressions - l display only the names of the files that have the pattern - r option searches (recursively) all directories in the specified directory MetaCharacter Meaning. Match any single character except newline ^ Match the beginning of a line $ Match the end of a line \< Match the beginning of a word \> Match the end of a word [list] Match any character in the brackets [^list] Match any character not in the brackets ( ) Treat as a single unit Match 1 of the choices \ Interpret character literally grep -csr ^From: IMAPmail with From: search the IMAPmail folder for files with lines beginning What does the command grep i CMP ite213/students do? How about this command? grep 1.$ ite213/students
10 Downloading Using The FTP Command: ~]$ ftp ftp.ncsa.uiuc.edu Connected to ftp.ncsa.uiuc.edu. 220 hemlock.ncsa.uiuc.edu FTP server (Version wu-2.6.2(1) Tue Jan 22 12:31:47 CST 2002) ready. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (ftp.ncsa.uiuc.edu:grahamf): anonymous 331 Guest login ok, send your complete address as password. Password: 230-Welcome to NCSA's anonymous FTP server! I hope you find what you are Remote system type is UNIX. Using binary mode to transfer files. ftp> cd Mosaic/Windows/v Please read the file README 250- it was last modified on Thu Feb 27 17:31: days ago 250 CWD command successful. ftp> bin 200 Type set to I. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> ls 227 Entering Passive Mode (141,142,2,14,198,88) 150 Opening ASCII mode data connection for /bin/ls. total rw-rw-r Feb README drwxrwxr-x Feb disks -rw-r Feb mos30.exe # 226 Transfer complete. ftp> get mos30.exe local: mos30.exe remote: mos30.exe 227 Entering Passive Mode (141,142,2,14,115,166) 150 Opening BINARY mode data connection for mos30.exe ( bytes). ##################################################################################### ##################################################################################### ############################################# 226 Transfer complete bytes received in 1.7 seconds (1.7e+03 Kbytes/s) ftp> quit 221-You have transferred bytes in 1 files. 221-Total traffic for this session was bytes in 2 transfers. 221-Thank you for using the FTP service on hemlock.ncsa.uiuc.edu. 221 Goodbye. [grahamf@newton ~]$
11 Downloading Using WGet: wget ftp://ftp.ncsa.uiuc.edu/mosaic/windows/v3.0/mos30.exe (Wget - software package for retrieving files using HTTP, HTTPS and FTP) Example: wget ftp://files1.solarwinds.net/bundle-subnetcalc-toolset.zip If the download fails, you can continue with: wget -c To download several files, create a file with the URLs of files to download, wget will download each file: wget -i filename (filename contains the URLs of files to download) To download an entire directory from a site: Example: wget -r -l0 --no-parent ftp://ftp.mcafee.com/pub/datfiles/english
12 FTP Download Using A Web Browser: Secure FTP Using SSH Secure File Transfer:
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 informationIntroduction 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 informationChapter 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 informationCS246 Spring14 Programming Paradigm Notes on Linux
1 Unix History 1965: Researchers from Bell Labs and other organizations begin work on Multics, a state-of-the-art interactive, multi-user operating system. 1969: Bell Labs researchers, losing hope for
More informationLinux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester
Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---
More informationcommandname flags arguments
Unix Review, additional Unix commands CS101, Mock Introduction This handout/lecture reviews some basic UNIX commands that you should know how to use. A more detailed description of this and other commands
More informationIntroduction to Unix: Fundamental Commands
Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating
More informationWelcome 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 informationChapter-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 informationOutline. Structure of a UNIX command
Outline Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission (owner, group, rwx) File and directory
More informationCSCI 2132 Software Development. Lecture 4: Files and Directories
CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts
More informationUNIX 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 informationCommands are in black
Starting From the Shell Prompt (Terminal) Commands are in black / +--------+---------+-------+---------+---------+------ +------ +------ +------ +------ +------ +-- Bin boot dev etc home media sbin bin
More informationINTRODUCTION 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 informationIntroduction to Linux
Introduction to Linux M Tech CS I 2015-16 Arijit Bishnu Debapriyo Majumdar Sourav Sengupta Mandar Mitra Login, Logout, Change password $ ssh, ssh X secure shell $ ssh www.isical.ac.in $ ssh 192.168 $ logout,
More informationCrash Course in Unix. For more info check out the Unix man pages -orhttp://www.cs.rpi.edu/~hollingd/unix. -or- Unix in a Nutshell (an O Reilly book).
Crash Course in Unix For more info check out the Unix man pages -orhttp://www.cs.rpi.edu/~hollingd/unix -or- Unix in a Nutshell (an O Reilly book). 1 Unix Accounts To access a Unix system you need to have
More informationUnix Filesystem. January 26 th, 2004 Class Meeting 2
Unix Filesystem January 26 th, 2004 Class Meeting 2 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech Unix Filesystem! The filesystem is your interface
More informationUnix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech
Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical
More informationMA 511: Computer Programming Lecture 23 Partha Sarathi Mandal
MA 511: Computer Programming Lecture 23 http://www.iitg.ernet.in/psm/indexing_ma511/y08/index.html Partha Sarathi Mandal psm@iitg.ernet.ac.in Dept. of Mathematics, IIT Guwahati Semester 1, 2008-09 Mon
More informationPractical 4. Linux Commands: Working with Directories
Practical 4 Linux Commands: Working with Directories 1. pwd: pwd stands for Print Working Directory. As the name states, command pwd prints the current working directory or simply the directory user is,
More informationCENG 334 Computer Networks. Laboratory I Linux Tutorial
CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction
More informationCommon UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface
Common UNIX Commands Using UNIX Unix Unix has a command line interface Unix commands must be typed Similar to the DOS operating system for PC s Compare to the Graphical User Interface (GUI) used by Windows,
More informationFiles
http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably
More informationTHE 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 informationCS4350 Unix Programming. Outline
Outline Unix Management Files and file systems Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission
More informationLecture # 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 informationSoftware I: Utilities and Internals
Software I: Utilities and Internals Lecture 3 File System Commands The File System A file in UNIX is a sequence of bytes. UNIX imposes no structure in a file and there is no extension implicit in a file
More informationEECS2301. 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 informationPractical 5. Linux Commands: Working with Files
Practical 5 Linux Commands: Working with Files 1. Ps The ps command on linux is one of the most basic commands for viewing the processes running on the system. It provides a snapshot of the current processes
More informationNational University of Computer and Emerging Sciences Operating System Lab - 02 Lab Manual
National University of Computer and Emerging Sciences Operating System Lab - 02 Lab Manual Objective This lab is all about running commands in Ubuntu Terminal and compiling C program in Ubuntu Table of
More informationIntroduction 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 informationUnix Introduction to UNIX
Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various
More informationCS197U: 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 informationLinux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala
Linux Training for New Users of Cluster Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu 1 Overview GACRC Linux Operating System Shell, Filesystem, and Common
More informationIntroduction: What is Unix?
Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix
More informationLezione 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 informationLinux Kung-Fu. James Droste UBNetDef Fall 2016
Linux Kung-Fu James Droste UBNetDef Fall 2016 $ init 1 GO TO https://apps.ubnetdef.org GO TO https://apps.ubnetdef.org GO TO https://apps.ubnetdef.org GO TO https://apps.ubnetdef.org GO TO https://apps.ubnetdef.org
More informationHands-on Keyboard: Cyber Experiments for Strategists and Policy Makers
Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity
More informationUNIX COMMANDS AND SHELLS. UNIX Programming 2015 Fall by Euiseong Seo
UNIX COMMANDS AND SHELLS UNIX Programming 2015 Fall by Euiseong Seo What is a Shell? A system program that allows a user to execute Shell functions (internal commands) Other programs (external commands)
More informationOverview of the UNIX File System
Overview of the UNIX File System Navigating and Viewing Directories Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing
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 Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install
More informationUsing UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program
Using UNIX. UNIX is mainly a command line interface. This means that you write the commands you want executed. In the beginning that will seem inferior to windows point-and-click, but in the long run the
More informationThis 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 informationGetting your department account
02/11/2013 11:35 AM Getting your department account The instructions are at Creating a CS account 02/11/2013 11:36 AM Getting help Vijay Adusumalli will be in the CS majors lab in the basement of the Love
More informationEssential 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 informationLezione 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 informationYou will automatically be in your user (home) directory when you login.
Directory structure / (root) bin dev etc lib users users2 tmp These directories typically contain system libraries, executable binary files, device handlers and drivers, etc. The user home directories
More informationLinux 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 informationLinux & 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 informationIntroduction 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 informationFilesystem Hierarchy and Permissions
and Linux Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1/15 Multiuser and Server Operating System Linux systems are commonly used as a multi-user system E.g.
More informationComputer 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 informationEmbedded 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 informationPerl 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 informationOperating 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 informationLinux 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 informationUnix 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 informationUnix 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 informationOperating 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 informationLab Working with Linux Command Line
Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed
More informationLinux 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 informationIntroduction to UNIX I: Command Line 1 / 21
Introduction to UNIX I: Command Line 1 / 21 UNIX Command line The UNIX Shell: command line interface Navigating Directories and Files Running applications Reminder about helpful tutorial: http://korflab.ucdavis.edu/unix_and_perl/current.html
More informationFiles and Directories
CSCI 2132: Software Development Files and Directories Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Files and Directories Much of the operation of Unix and programs running on
More informationThe landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions
The landscape David Morgan File hierarchy overview A tree structure of directories The directory tree is standardized But varies slightly among distributions portions can spread across different partitions
More informationIntroduction 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 informationFilesystem Hierarchy and Permissions
2 and Prepared by Steven Gordon on 19 April 2017 Common/Reports/linux-file-permissions.tex, r1417 1 Multiuser and Server Operating System systems are commonly used as a multi-user system E.g. multiple
More informationCS 300. Data Structures
CS 300 Data Structures Start VirtualBox Search or Windows Run C:\CS300 Launches CS 300/360 Virtual Machine (Eventually) Logon with Zeus password Syllabus http://zeus.cs.pacificu.edu/chadd/cs300f18/syllabus.html
More informationLinux Howtos. Fedora 9 Install (114) CIS Fall Fedora 9 Install (114) Fedora 9 installation with custom partitions.
Linux Howtos Fedora 9 Install (114) CIS 191 - Fall 2008 Fedora 9 Install (114) Fedora 9 installation with custom partitions. Requirements: Fedora 9 DVD ISO files http://iso.linuxquestions.org/ VMWare Server
More informationIntroduction to Linux Workshop 1
Introduction to Linux Workshop 1 The George Washington University SEAS Computing Facility Created by Jason Hurlburt, Hadi Mohammadi, Marco Suarez hurlburj@gwu.edu Logging In The lab computers will authenticate
More informationIntroduction 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 informationOverview of the UNIX File System. Navigating and Viewing Directories
Overview of the UNIX File System Navigating and Viewing Directories Copyright 2006 Stewart Weiss The UNIX file system The most distinguishing characteristic of the UNIX file system is the nature of its
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationLinux at the Command Line Don Johnson of BU IS&T
Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you
More informationOxford University Computing Services. Getting Started with Unix
Oxford University Computing Services Getting Started with Unix Unix c3.1/2 Typographical Conventions Listed below are the typographical conventions used in this guide. Names of keys on the keyboard are
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More informationLinux 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 informationIntroduction to Linux Command-Line for Beginners
Introduction to Linux Command-Line for Beginners This tutorial went through some changes since I've posted it on the TuxArena Blog over one year ago, and I believe this version is more complete and well-organized.
More informationCSE 390a Lecture 3. Multi-user systems; remote login; editors; users/groups; permissions
CSE 390a Lecture 3 Multi-user systems; remote login; editors; users/groups; permissions slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ 1
More informationIntroduction to the UNIX command line
Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands
More informationPart 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 informationCSCI 2132 Software Development. Lecture 3: Unix Shells and Other Basic Concepts
CSCI 2132 Software Development Lecture 3: Unix Shells and Other Basic Concepts Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 10-Sep-2018 (3) CSCI 2132 1 Introduction to UNIX
More informationMills HPC Tutorial Series. Linux Basics I
Mills HPC Tutorial Series Linux Basics I Objectives Command Line Window Anatomy Command Structure Command Examples Help Files and Directories Permissions Wildcards and Home (~) Redirection and Pipe Create
More informationBasic Survival UNIX.
Basic Survival UNIX Many Unix based operating systems make available a Graphical User Interface for the sake of providing an easy way for less experienced users to work with the system. Some examples are
More informationThis section reviews UNIX file, directory, and system commands, and is organized as follows:
Basic UNIX Commands Created by : M.S. Schmalz (Thank you Mark!) This section reviews UNIX file, directory, and system commands, and is organized as follows: 3.1. The UNIX Command Line Interface 3.2. Overview
More informationIntroduction to the Linux Command Line
Introduction to the Linux Command Line May, 2015 How to Connect (securely) ssh sftp scp Basic Unix or Linux Commands Files & directories Environment variables Not necessarily in this order.? Getting Connected
More informationIntroduction 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 informationIntroduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie
Introduction in Unix Linus Torvalds Ken Thompson & Dennis Ritchie My name: John Donners John.Donners@surfsara.nl Consultant at SURFsara And Cedric Nugteren Cedric.Nugteren@surfsara.nl Consultant at SURFsara
More informationIntroduction to UNIX. SURF Research Boot Camp April Jeroen Engelberts Consultant Supercomputing
Introduction to UNIX SURF Research Boot Camp April 2018 Jeroen Engelberts jeroen.engelberts@surfsara.nl Consultant Supercomputing Outline Introduction to UNIX What is UNIX? (Short) history of UNIX Cartesius
More information2) 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 informationFull file at https://fratstock.eu
Guide to UNIX Using Linux Fourth Edition Chapter 2 Solutions Answers to the Chapter 2 Review Questions 1. Your company is discussing plans to migrate desktop and laptop users to Linux. One concern raised
More informationCS Fundamentals of Programming II Fall Very Basic UNIX
CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)
More informationSystem Administration
Süsteemihaldus MTAT.08.021 System Administration File system basics UNIX shell basics 1/23 2/23 3/23 4/23 5/23 6/23 System Root Mount points User Profiles /home /boot /dev/sda Boot loader files and Linux
More informationCSE 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 informationEECS 2031E. Software Tools Prof. Mokhtar Aboelaze
EECS 2031 Software Tools Prof. Mokhtar Aboelaze Footer Text 1 EECS 2031E Instructor: Mokhtar Aboelaze Room 2026 CSEB lastname@cse.yorku.ca x40607 Office hours TTH 12:00-3:00 or by appointment 1 Grading
More information5/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 informationHitchhiker 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 informationIntroduction 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 informationPractical Session 0 Introduction to Linux
School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student
More information5/8/2012. Creating and Changing Directories Chapter 7
Creating and Changing Directories Chapter 7 Types of files File systems concepts Using directories to create order. Managing files in directories. Using pathnames to manage files in directories. Managing
More informationBasic 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