Loading...

Linux Phrasebook (Developer's Library) by Granneman Scott

Linux Phrasebook (Developer's Library) by Granneman Scott

Author:Granneman, Scott [Granneman, Scott]
Language: eng
Format: azw3
Publisher: Pearson Education
Published: 2015-12-09T05:00:00+00:00


moby-dick/bible:

-rw-r--r-- scott scott 207254 genesis.txt

-rw-r--r-- scott scott 102519 job.txt

$ tar -cf moby.tar moby-dick/ | gzip -c > moby.tar.gz

$ ls -l

drwxr-xr-x scott scott 168 moby-dick

-rw-r--r-- scott scott 20 moby.tar.gz

This method works, but it’s just too much typing! There’s a much easier way that should be your default. It involves three new options for tar: -p (or --preserve-permissions or --same-permissions), which makes sure that permissions are preserved; -z (or --gzip), which invokes gzip from within tar so you don’t have to do so manually; and -v (or --verbose), which isn’t required here but is always useful, as it keeps you notified as to what tar is doing as it runs.

Click here to view code image

$ ls -l moby-dick/*

-rw-r--r-- scott scott 102519 moby-dick/job.txt

-rw-r--r-- scott scott 1236574 moby-dick/moby-dick.txt

-rw-r--r-- scott scott 508925 moby-dick/paradise_lost.txt



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
Hello! Python by Anthony Briggs(8576)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(4706)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2120)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(1687)
The Old New Thing by Raymond Chen(1508)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1383)
Computers For Seniors For Dummies by Nancy C. Muir(1380)
MCSA Windows Server 2016 Study Guide: Exam 70-741 by William Panek(1307)
Database Reliability Engineering: Designing and Operating Resilient Database Systems by Campbell Laine & Majors Charity(1193)
Raspberry Pi Beginners Guide: Ultimate Guide For Rasberry Pi, User guide To Get The Most Out Of Your Investment, Hacking, Programming, Python, Best Hardware, Beginners Guide To Rasberry Pi by Steven Giles(1143)
RHCSA & RHCE Red Hat Enterprise Linux 7: Training and Exam Preparation Guide (EX200 and EX300), Third Edition by Asghar Ghori(1123)
Linux Phrasebook (Developer's Library) by Granneman Scott(1118)
Docker on Windows by Stoneman Elton(1112)
Mastering Docker - Second Edition by McKendrick Russ & Gallagher Scott(1107)
The Complete Windows 10 Privacy Guide: Windows 10 Fall Creators Update version by Martin Brinkmann(1105)
| by admin(1054)
Java Cookbook by Ian F. Darwin(1013)
Windows 7: The Missing Manual by Pogue David(1008)
Hacking: Computer Hacking Beginners Guide How to Hack Wireless Network, Basic Security and Penetration Testing, Kali Linux, Your First Hack by Alan T. Norman(1003)
Linux Device Drivers by Corbet Jonathan & Rubini Alessandro & Kroah-Hartman Greg(999)