CS 307: UNIX PROGRAMMING ENVIRONMENT WORKING WITH FILES AND COLLECTIONS OF FILES
|
|
- Bridget Stevens
- 6 years ago
- Views:
Transcription
1 CS 307: UNIX PROGRAMMING ENVIRONMENT WORKING WITH FILES AND COLLECTIONS OF FILES Prof. Michael J. Reale Fall 2014
2 Credit Where Credit Is Due Prof. Nick Merante s notes: Indiana University Tutorial on Tar:
3 File Compression
4 File Compression There are three main file compression utilities: gzip Standard Unix compression algorithm bzip2 xz Slower but better compression Very slow but best compression
5 gzip gzip command Unix standard for compression Uses Lempel-Ziv coding (LZ77) Compresses one or more files gzip mightybigfile gzip file1 file2 file3 Compressed file still has the same permissions, access times, etc. Original file is replaced with compressed file adds.gz to extension E.g., gzip File1 File1 is gone; replaced with File1.gz
6 gzip Compression Quality You can also specify how good you want the compression to be -1 --fast Fastest, but worst compression -9 --best Slowest, but optimal compression (at least with the approach used)
7 gunzip gunzip command Decompresses (restores) one or more files E.g., gunzip file1.gz Note: ignores files without.gz or.tgz extension (suffix) Can override suffix with S option E.g., gunzip -S waffle test2.waffle Compressed file replaced with original (decompressed) file E.g., gunzip file1.gz file.gz is replaced with file1
8 gzip/gunzip: Leaving Files Intact By default, the original file is replaced with the compressed file (and vice versa with decompression) To keep the existing files, use c option to write to STDOUT gzip c test > test.gz Compresses test and writes results to test.gz File test still there gunzip -c test.gz Decompresses test.gz and writes to terminal (STDOUT) File test.gz still there gunzip -c test.gz > newtest Decompresses test.gz and write it to newtest File test.gz still there
9 gzip/gunzip as Filters gzip/gunzip can read data from STDIN and write to STDOUT if no files specified (CNT=1; while [ $CNT -lt 1000 ]; do CNT=`expr $CNT + 1`; /usr/games/fortune; done) gzip > test.gz Prints a thousand fortunes, pipes them to gzip, writes compressed data to test.gz (which didn t exist before) gunzip can decompress something right to the terminal: cat test.gz gunzip gzip, on the other hard, will NOT write to the terminal UNLESS you use the f (force) option Not a great idea anyway, but it s good to know
10 gzcat gzcat command Decompresses file and then prints it to terminal (a la cat) Same as doing gunzip c
11 bzip2/bunzip2 bzip2/bunzip2 commands Better compression but will take longer Uses Burrows-Wheeler block sorting text compression algorithm and Huffman coding Very similar in options and usage as gzip (but not identical) Uses.bz2,.bz,.tbz2, or.tbz extensions Can read from STDIN and write to STDOUT (if no filenames specified or using c option) bzcat same function as gzcat
12 xz/unxz xz/unxz commands Very slow but gives the best compression results Again, very similar options and usage as gzip and bzip2 Also has the same STDIN/STDOUT behavior Uses.xz format Can also handle legacy format.lzma Also has xzcat
13 Tar
14 Introduction So far, we re able to compress single, regular files What if we want to compress multiple files and/or a whole directory as one big file? Have to somehow turn all the files (or the contents of the directory) into one file
15 Tape Drives In days of yore (and to a MUCH lesser extent even now), tape drives were used to store/archive data VERY slow, but high capacity The tar utility was originally written to archive data to tape drives Now, we use it to archive files/directories
16 Tar: Tape Archiver tar command Concatenates file contents (each separated by header information) Preserves owner, permissions, timestamp information, etc. -f -v Specify tar file (either as input for output) Verbose output lists files names it is reading from/writing to the archive
17 Creating an Archive To create an archive from files and directories, use the cf option: tar cf myarchive.tar file1 file2 file3 Puts file1, file2, and file3 into the archive myarchive.tar
18 Unpacking an Archive To unpack the archive, use the xf option tar xf myarchive.tar
19 Listing the Contents To list the contents of a tar file without unpacking it, use the tf option tar -tf myarchive.tar
20 Compressing AND Tarring If you re using GNU tar, you can compress and tar files at the same time: -z Use gzip compression -y Use bzip2 compression Examples: tar cvzf myarchive.tgz file1 file2 file3 Creates compressed archive with gzip tar xvyf myarchive.tbz2 Unpacks bzip2 compressed archive.tgz =.tar.gz and.tbz2 =.tar.bz2
21 Assorted Useful Utilities
22 srm: Secure Removal srm command Securely deletes files Overwrites file data and then deletes file (unlinks hard link) May not be available on all systems (or may be named something else)
23 split split command Allows you to split a file into pieces Useful when you have a VERY large.tar file Syntax: split -b byte_count[k k M m G g] [-a suffix_length] [file [prefix]] -a suffix length; determines how many letters to use for each part Example: split -b 650m -a 1 big_tarball.tar Default prefix: x Becomes xa, xb, xc,
24 Message Digests Say you want to give a file to a friend; when they download it, how do they know for sure that the file data is the original file data? Could have been altered or corrupted (either unintentionally or intentionally) One way to handle this: Generate a message digest for the file Your friend downloads the file and the digest They generate a digest from the file they received If their digest matches your digest, life is good Message digest = kind of like a fingerprint for the data Believed to be computationally infeasible to have two different files generate the same digest
25 Generating Message Digests Depending on what kind of digest you want to generate, the name of the command is different Under FreeBSD, command is usually just the name: md5 generates MD5 digest sha1 generates SHA-1 digest Under Linux, name + sum md5sum sha1sum sha256sum MD5 is completely crackable (and with SHA-1 it s possible), so it s recommended you use SHA-256 (or higher) if security is a concern
7. Archiving and compressing 7.1 Introduction
7. Archiving and compressing 7.1 Introduction In this chapter, we discuss how to manage archive files at the command line. File archiving is used when one or more files need to be transmitted or stored
More informationCS Unix Tools. Fall 2010 Lecture 8. Hussam Abu-Libdeh based on slides by David Slater. September 24, 2010
Fall 2010 Lecture 8 Hussam Abu-Libdeh based on slides by David Slater September 24, 2010 Compression & Archiving zip / unzip Compress and archive (bundle) files into a single file. A new compressed.zip
More informationArchives. Gather and compress Campus-Booster ID : **XXXXX. Copyright SUPINFO. All rights reserved
Archives Gather and compress Campus-Booster ID : **XXXXX www.supinfo.com Copyright SUPINFO. All rights reserved Archives Your trainer Presenter s Name Title: **Enter title or job role. Accomplishments:
More informationUser Commands GZIP ( 1 )
NAME gzip, gunzip, gzcat compress or expand files SYNOPSIS gzip [ acdfhllnnrtvv19 ] [ S suffix] [ name... ] gunzip [ acfhllnnrtvv ] [ S suffix] [ name... ] gzcat [ fhlv ] [ name... ] DESCRIPTION Gzip reduces
More informationLab #1 Installing a System Due Friday, September 6, 2002
Lab #1 Installing a System Due Friday, September 6, 2002 Name: Lab Time: Grade: /10 The Steps of Installing a System Today you will install a software package. Implementing a software system is only part
More informationUtilities. September 8, 2015
Utilities September 8, 2015 Useful ideas Listing files and display text and binary files Copy, move, and remove files Search, sort, print, compare files Using pipes Compression and archiving Your fellow
More informationIntroduction to Linux Organizing Files
Introduction to Linux Organizing Files Computational Science and Engineering North Carolina A&T State University Instructor: Dr. K. M. Flurchick Email: kmflurch@ncat.edu Arranging, Organizing, Packing
More informationCS Unix Tools & Scripting
Cornell University, Spring 2014 1 January 29, 2014 1 Slides evolved from previous versions by Hussam Abu-Libdeh and David Slater Vim: Tip of the day! Search and Replace Search for search term: /search
More informationFile: PLT File Format Libraries
File: PLT File Format Libraries Version 4.0 June 11, 2008 1 Contents 1 gzip Compression and File Creation 3 2 gzip Decompression 4 3 zip File Creation 6 4 tar File Creation 7 5 MD5 Message Digest 8 6 GIF
More informationHandling Ordinary Files
Handling Ordinary Files Unit 2 Sahaj Computer Solutions visit : projectsatsahaj.com 1 cat: Displaying and Creating Files cat is one of the most frequently used commands on Unix-like operating systems.
More informationFile: Racket File Format Libraries
File: Racket File Format Libraries Version 5.0.2 November 6, 2010 1 Contents 1 gzip Compression and File Creation 3 2 gzip Decompression 4 3 zip File Creation 6 4 tar File Creation 7 5 MD5 Message Digest
More informationUnzip command in unix
Unzip command in unix Search 24-4-2015 Howto Extract Zip Files in a Linux and. You need to use the unzip command on a Linux or Unix like system. The nixcraft takes a lot of my time and. 16-4-2010 Howto:
More informationPackage Management System
Package Management System The name "package" is used in Linux for an application with all of its Supported files. A package management system is a collection of tools to automate the process of installing,
More informationLecture 3. Essential skills for bioinformatics: Unix/Linux
Lecture 3 Essential skills for bioinformatics: Unix/Linux RETRIEVING DATA Overview Whether downloading large sequencing datasets or accessing a web application hundreds of times to download specific files,
More informationCS 307: UNIX PROGRAMMING ENVIRONMENT FIND COMMAND
CS 307: UNIX PROGRAMMING ENVIRONMENT FIND COMMAND Prof. Michael J. Reale Fall 2014 Finding Files in a Directory Tree Suppose you want to find a file with a certain filename (or with a filename matching
More informationLecture 5. Additional useful commands. COP 3353 Introduction to UNIX
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX diff diff compares two text files ( can also be used on directories) and prints the lines for which the files differ. The format is as
More information1 Introduction Creating tar archives Extracting tar archives Creating tarballs Extracting tarballs...
Department of Computer Science COS132 Lecture Notes: Archives January 2014 Copyright c 2014 by Vreda Pieterse. All rights reserved. Contents 1 Introduction................................. 2 2 Creating
More informationFall Lecture 5. Operating Systems: Configuration & Use CIS345. The Linux Utilities. Mostafa Z. Ali.
Fall 2009 Lecture 5 Operating Systems: Configuration & Use CIS345 The Linux Utilities Mostafa Z. Ali mzali@just.edu.jo 1 1 The Linux Utilities Linux did not have a GUI. It ran on character based terminals
More informationFile: Racket File Format Libraries
File: Racket File Format Libraries Version 5.1 February 14, 2011 1 Contents 1 Convertible: Data-Conversion Protocol 3 2 gzip Compression and File Creation 4 3 gzip Decompression 5 4 zip File Creation 7
More informationManaging file systems 1
Contents Managing file systems 1 Overview 1 File systems 1 Directories 2 Files 2 Specifying a directory name or file name 3 FIPS compliance 3 File system management restrictions and guidelines 4 Managing
More informationThe build2 Toolchain Installation and Upgrade
The build2 Toolchain Installation and Upgrade Copyright 2014-2019 Code Synthesis Ltd Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License This revision
More informationWhere can UNIX be used? Getting to the terminal. Where are you? most important/useful commands & examples. Real Unix computers
Where can UNIX be used? Introduction to Unix: most important/useful commands & examples Bingbing Yuan Jan. 19, 2010 Real Unix computers tak, the Whitehead h Scientific Linux server Apply for an account
More informationIntroduction to the shell Part II
Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility
More informationUbuntu unzip tar file
Ubuntu unzip tar file Search I received a huge.tar.gz file from a client that contains. What command do I need to unzip/extract a.tar.gz file?. Unable to unzip a file with the ubuntu. 16-11-2017 How to
More informationCSE 390a Lecture 6. bash scripting continued; remote X windows; unix tidbits
1 CSE 390a Lecture 6 bash scripting continued; remote X windows; unix tidbits slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ Lecture summary
More information1 Very Short Linux Manual
1 Very Short Linux Manual Assume you have a computer that runs (any flavor) of Linux. The programs we would like to be able to run in this course are FORM, LATEXand whatever C programs we make. The first
More informationSession: Shell Programming Topic: Additional Commands
Lecture Session: Shell Programming Topic: Additional Commands Daniel Chang diff [-b][-i][-w] filename1 filename2 diff [-b][-i][-w] filename1 directory1 diff [-b][-i][-w][-r] directory1 directory2 Description:
More informationUnix unzip zip compress uncompress zip zip zip zip Extracting zip Unzip ZIP Unix Unix zip extracting ZIP zip zip unzip zip unzip zip Unix zipped
Unix unzip zip Jan 28, 2011. Typically one uses tar to create an uncompressed archive and either gzip or bzip2 to compress that archive. The corresponding gunzip and bunzip2 commands can be used to uncompress
More informationComputer 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 informationGNU gzip. The data compression program for Gzip version January by Jean-loup Gailly
GNU gzip The data compression program for Gzip version 1.9 7 January 2018 by Jean-loup Gailly This manual is for GNU Gzip (version 1.9, 7 January 2018), and documents commands for compressing and decompressing
More informationFile: Racket File Format Libraries
File: Racket File Format Libraries Version 5.3.6 August 9, 2013 1 Contents 1 Convertible: Data-Conversion Protocol 3 2 gzip Compression and File Creation 5 3 gzip Decompression 6 4 zip File Creation 7
More informationgzip The data compression program for Gzip Version April 2007 by Jean-loup Gailly
gzip The data compression program for Gzip Version 1.3.12 3 April 2007 by Jean-loup Gailly This manual is for Gzip (version 1.3.12, 3 April 2007), and documents commands for compressing and decompressing
More informationUnzip linux tgz. Search
Unzip linux tgz Search 本文介绍了 linux 下的压缩程式 tar gzip gunzip bzip2 bunzip2 compress uncompress zip unzip rar unrar 等程式, 以及如何使用它们. Excelente, nunca está de mas. Yo también guardo post/notas jajaja, saludos!
More informationUsing the Device File Systems, Directories, and Files
Using the Device File Systems, Directories, and Files This chapter describes how to use your device file systems, directories, and files. Finding Feature Information, on page 1 Licensing Requirements for
More informationComputer Systems and Architecture
Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,
More informationOutline. gzip and gunzip data compression archiving files and pipes in Unix. format conversions encrypting text
Outline 1 Compressing Files gzip and gunzip data compression archiving files and pipes in Unix 2 File Methods in Python format conversions encrypting text 3 Using Buffers counting and replacing words using
More informationCSE 390a Lecture 6. bash scripting continued; remote X windows; unix tidbits
CSE 390a Lecture 6 bash scripting continued; remote X windows; unix tidbits slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ 1 Lecture summary
More information4PSA Client Backup User's Guide. for Plesk and newer versions
4PSA Client Backup 3.5.0 for Plesk 8.0.0 and newer versions User's Guide For more information about 4PSA Client Backup, check: http://www.4psa.com Copyright 2011 Rack-Soft. 4PSA is a registered trademark
More informationWeek 2 Lecture 3. Unix
Lecture 3 Unix Terminal and Shell 2 Terminal Prompt Command Argument Result 3 Shell Intro A system program that allows a user to execute: shell functions (e.g., ls -la) other programs (e.g., eclipse) shell
More informationIntroduction Variables Helper commands Control Flow Constructs Basic Plumbing. Bash Scripting. Alessandro Barenghi
Bash Scripting Alessandro Barenghi Dipartimento di Elettronica, Informazione e Bioingegneria Politecnico di Milano alessandro.barenghi - at - polimi.it April 28, 2015 Introduction The bash command shell
More informationLinux II and III. Douglas Scofield. Crea-ng directories and files 18/01/14. Evolu5onary Biology Centre, Uppsala University
Linux II and III Douglas Scofield Evolu5onary Biology Centre, Uppsala University douglas.scofield@ebc.uu.se slides at Crea-ng directories and files mkdir 1 Crea-ng directories and files touch if file does
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 informationPackage management rpm Package management with yum The tar tool
rpm, yum, and tar Package management rpm Package management with yum The tar tool Chapter 13 RPM - Red Hat s Package Manager Package management systems take all the various files containing programs and
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 informationBasic Shell Commands
Basic Shell Commands Jeremy Sanders October 2011 1. acroread - Read or print a PDF file. 2. cat - Send a file to the screen in one go. Useful for piping to other programs cat file1 # list file1 to screen
More informationThe KBackup Handbook. Martin Koller
Martin Koller 2 Contents 1 Introduction 5 2 Using KBackup 6 2.1 Using profiles........................................ 6 2.2 Archive slices........................................ 7 2.3 Incremental Backup.....................................
More information### build an Archive::Extract object ### my $ae = Archive::Extract->new( archive => 'foo.tgz' );
NAME SYNOPSIS Archive::Extract - A generic archive extracting mechanism use Archive::Extract; ### build an Archive::Extract object ### my $ae = Archive::Extract->new( archive => 'foo.tgz' ); ### extract
More informationIntroduction to Linux
Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions
More informationFile Checksums in Python: The Hard Way
File Checksums in Python: The Hard Way Shane Kerr Amsterdam Python Meetup Group 2018-04-25 Data Hoarding I hate losing data. I don t trust the cloud. Disks are big now! But...
More informationSYNOPSIS lbunzip2 bunzip2 [ n WTHRS] [ k c t] [ z] [ f] [ s] [ u] [ v] [ S] [FILE... ]
NAME lbzip2 parallel bzip2 utility SYNOPSIS lbzip2 bzip2 [ n WTHRS] [ k c t] [ d] [ 1.. 9] [ f] [ s] [ u] [ v] [ S] [FILE... ] lbunzip2 bunzip2 [ n WTHRS] [ k c t] [ z] [ f] [ s] [ u] [ v] [ S] [FILE...
More informationFirst 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 informationUFTP STANDALONE CLIENT
UFTP Standalone Client UFTP STANDALONE CLIENT UNICORE Team Document Version: 1.0.0 Component Version: 0.7.0 Date: 19 07 2017 UFTP Standalone Client Contents 1 Prerequisites 1 2 Installation 1 3 Basic Usage
More informationGNU CPIO September by Robert Carleton and Sergey Poznyakoff
GNU CPIO 2.12 12 September 2015 by Robert Carleton and Sergey Poznyakoff This manual documents GNU cpio (version 2.12, 12 September 2015). Copyright c 1995, 2001-2002, 2004, 2010, 2014-2015 Free Software
More informationUnix - Basics Course on Unix and Genomic Data Prague, January 2017
Unix - Basics Course on Unix and Genomic Data Prague, January 2017 Libor Mořkovský, Václav Janoušek, Anastassiya Zidkova, Anna Přistoupilová, Filip Sedlák http://ngs-course.readthedocs.org/en/praha-january-2017/
More informationcomputer user has lost data at some point, perhaps because of a corrupted file or accidental
CHAPTER 31 Backing Up Data Every computer user knows that backing up data is vital. This is usually because every computer user has lost data at some point, perhaps because of a corrupted file or accidental
More informationUnix L555. Dept. of Linguistics, Indiana University Fall Unix. Unix. Directories. Files. Useful Commands. Permissions. tar.
L555 Dept. of Linguistics, Indiana University Fall 2010 1 / 21 What is? is an operating system, like DOS or Windows developed in 1969 by Bell Labs works well for single computers as well as for servers
More informationLinux unzip command line
P ford residence southampton, ny Linux unzip command line In this tutorial we can check how to extract tar.gz files using Linux Command line tools. A.tar.gz file is nothing but an archive. It is a file
More informationUNIX 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 informationEssential Skills for Bioinformatics: Unix/Linux
Essential Skills for Bioinformatics: Unix/Linux WORKING WITH COMPRESSED DATA Overview Data compression, the process of condensing data so that it takes up less space (on disk drives, in memory, or across
More informationSTUDY OF VARIOUS DATA COMPRESSION TOOLS
STUDY OF VARIOUS DATA COMPRESSION TOOLS Divya Singh [1], Vimal Bibhu [2], Abhishek Anand [3], Kamalesh Maity [4],Bhaskar Joshi [5] Senior Lecturer, Department of Computer Science and Engineering, AMITY
More informationUseful 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 informationLinux 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 informationInitial Bootloader > Flash Drive. Warning. If not used carefully this process can be dangerous
Initial Bootloader > Flash Drive Warning If not used carefully this process can be dangerous Running the script used in this article with an incorrect argument can cause loss of data and potentially damage
More informationbackupchecker Documentation
backupchecker Documentation Release 1.9 Carl Chenet Apr 13, 2017 Contents 1 Guide 3 1.1 How to install Backup Checker..................................... 3 1.2 Configuration
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 informationUser Commands tar ( 1 )
NAME tar create tape archives and add or extract files SYNOPSIS tar c [ bbeeffhiklnoppqvwx@ [0-7]] [block] [tarfile] [exclude-file] {-I include-file -C directory file file}... tar r [ bbeeffhiklnqvw@ [0-7]]
More informationUser Manual. version Copyright 2006 Paloş & Sons LTD. Copyright 2006 Paloş & Sons LTD. All rights reserved! Page 1/26
User Manual Copyright 2006 Paloş & Sons LTD. version 0.1.2 Copyright 2006 Paloş & Sons LTD. All rights reserved! Page 1/26 Table of Contents 1) Introduction 2) Features and requirements 3) Installing psarchive
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 informationFirst 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 informationPractical Knowledge Transfering, moving and exporting files Martin Dahlö
Practical Knowledge Transfering, moving and exporting files 160318 Martin Dahlö martin.dahlo@scilifelab.uu.se UPPMAX Moving files to and from UPPMAX Moving files within UPPMAX Compressing files Web export
More informationUnix basics exercise MBV-INFX410
Unix basics exercise MBV-INFX410 In order to start this exercise, you need to be logged in on a UNIX computer with a terminal window open on your computer. It is best if you are logged in on freebee.abel.uio.no.
More informationLinux Software Management. Linux System Administration COMP2018 Summer 2017
Linux Software Management Linux System Administration COMP2018 Summer 2017 OSS Distribution And Installation Open Source Software at its simplest is just source code distributed by any of several means
More informationUsing Linux as a Virtual Machine
Intro to UNIX Using Linux as a Virtual Machine We will use the VMware Player to run a Virtual Machine which is a way of having more than one Operating System (OS) running at once. Your Virtual OS (Linux)
More informationUnix/Linux Primer. Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois
Unix/Linux Primer Taras V. Pogorelov and Mike Hallock School of Chemical Sciences, University of Illinois August 25, 2017 This primer is designed to introduce basic UNIX/Linux concepts and commands. No
More informationProgramming Standards: You must conform to good programming/documentation standards. Some specifics:
CS3114 (Spring 2011) PROGRAMMING ASSIGNMENT #3 Due Thursday, April 7 @ 11:00 PM for 100 points Early bonus date: Wednesday, April 6 @ 11:00 PM for a 10 point bonus Initial Schedule due Thursday, March
More informationhttp://xkcd.com/208/ 1. Review of pipes 2. Regular expressions 3. sed 4. Editing Files 5. Shell loops 6. Shell scripts cat seqs.fa >0! TGCAGGTATATCTATTAGCAGGTTTAATTTTGCCTGCACTTGGTTGGGTACATTATTTTAAGTGTATTTGACAAG!
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 informationCloud Computing and Unix: An Introduction. Dr. Sophie Shaw University of Aberdeen, UK
Cloud Computing and Unix: An Introduction Dr. Sophie Shaw University of Aberdeen, UK s.shaw@abdn.ac.uk Aberdeen London Exeter What We re Going To Do Why Unix? Cloud Computing Connecting to AWS Introduction
More informationCloud Computing and Unix: An Introduction. Dr. Sophie Shaw University of Aberdeen, UK
Cloud Computing and Unix: An Introduction Dr. Sophie Shaw University of Aberdeen, UK s.shaw@abdn.ac.uk Aberdeen London Exeter What We re Going To Do Why Unix? Cloud Computing Connecting to AWS Introduction
More informationGNU sharutils, version
GNU sharutils, version 4.13.3 A set of shell archiver utilities Edition 4.13.3, 31 December 2012 Jan Djärv François Pinard Bruce Korb This manual documents version 4.13.3 of the GNU shar utilities. Copyright
More informationVersion Control with Git
Version Control with Git Methods & Tools for Software Engineering (MTSE) Fall 2017 Prof. Arie Gurfinkel based on https://git-scm.com/book What is Version (Revision) Control A system for managing changes
More informationPrerequisites: General computing knowledge and experience. No prior knowledge with Linux is required. Supported Distributions:
This course prepares students to take the 101 exam of the LPI level 1 certification. The Linux Professional Institute (LPI) is the go to certification body for vendor independent Linux certifications.
More informationUnix Introduction. Part 3
Unix Introduction Part 3 More Unix Commands cat more head tail Working with files Now that you can navigate directories and move files around, you need to be able to work with the files and directories
More informationFREEENGINEER.ORG. 1 of 6 11/5/15 8:31 PM. Learn UNIX in 10 minutes. Version 1.3. Preface
FREEENGINEER.ORG Learn UNIX in 10 minutes. Version 1.3 Preface This is something that I had given out to students (CAD user training) in years past. The purpose was to have on one page the basics commands
More informationCSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu September 26, Nachos Overview
CSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu September 26, 2003 Nachos Overview Operating Systems is one of the fundamental courses for a student who majors in computer software. A good
More informationhttp://xkcd.com/208/ 1. Review of pipes 2. Regular expressions 3. sed 4. awk 5. Editing Files 6. Shell loops 7. Shell scripts cat seqs.fa >0! TGCAGGTATATCTATTAGCAGGTTTAATTTTGCCTGCACTTGGTTGGGTACATTATTTTAAGTGTATTTGACAAG!
More informationNAME optipng optimize Portable Network Graphics files. SYNOPSIS optipng [? h help] optipng [options...] files...
NAME optipng optimize Portable Network Graphics files SYNOPSIS optipng [? h help] optipng [options...] files... DESCRIPTION OptiPNG shall attempt to optimize PNG files, i.e. reduce their size to a minimum,
More informationIntroduction To Linux. Rob Thomas - ACRC
Introduction To Linux Rob Thomas - ACRC What Is Linux A free Operating System based on UNIX (TM) An operating system originating at Bell Labs. circa 1969 in the USA More of this later... Why Linux? Free
More informationRead 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 informationThe Unix Shell. Pipes and Filters
The Unix Shell Copyright Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See http://software-carpentry.org/license.html for more information. shell shell pwd
More informationUnzip zip files command line
Unzip zip files command line The Borg System is 100 % Unzip zip files command line Can I unzip files through the command line? Preferably using open source/free tools. There is a zip/unzip option in the
More informationMIGRATORY COMPRESSION Coarse-grained Data Reordering to Improve Compressibility
MIGRATORY COMPRESSION Coarse-grained Data Reordering to Improve Compressibility Xing Lin *, Guanlin Lu, Fred Douglis, Philip Shilane, Grant Wallace * University of Utah EMC Corporation Data Protection
More informationAutoArchive. Release 1.4.1
AutoArchive Release 1.4.1 Sep 23, 2017 Contents 1 Contents 1 1.1 Program Description........................................... 1 1.2 Operations Explained.......................................... 5 1.3
More informationRunning Programs in UNIX 1 / 30
Running Programs in UNIX 1 / 30 Outline Cmdline Running Programs in UNIX Capturing Output Using Pipes in UNIX to pass Input/Output 2 / 30 cmdline options in BASH ^ means "Control key" cancel a running
More informationBasic Linux Commands. Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay. May 5, 2009
Basic Linux Commands Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay May 5, 2009 General Purpose utilities Linux File System File Handling Commands Compressing and Archiving Files Simple Filters General
More informationUnix/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 informationFile system management commands 1
Contents File system management commands 1 cd 1 copy 3 delete 5 dir 7 fdisk 9 file prompt 11 fixdisk 11 format 12 gunzip 12 gzip 13 md5sum 14 mkdir 14 more 15 mount 16 move 17 pwd 18 rename 18 reset recycle-bin
More informationIT 341: Introduction to System Administration. Notes for Project #8: Backing Up Files with rsync
IT 341: Introduction to System Administration Notes for Project #8: Backing Up Files with rsync These notes explain some of the concepts you will encounter in Project #08: Backing Up Files with rsync Topics
More informationCSCI2467: Systems Programming Concepts
CSCI2467: Systems Programming Concepts Class activity: bash shell literacy Instructor: Matthew Toups Fall 2017 Today 0 Shells History Usage Scripts vs. Programs 1 Bash shell: practical uses for your systems
More informationFinal Exam Solutions
COS 226 FINAL SOLUTIONS, FALL 214 1 COS 226 Algorithms and Data Structures Fall 214 Final Exam Solutions 1. Digraph traversal. (a) 8 5 6 1 4 2 3 (b) 4 2 3 1 5 6 8 2. Analysis of algorithms. (a) N (b) log
More information