(12) United States Patent (10) Patent No.: US 8,417,833 B1 Amdahl (45) Date of Patent: Apr

Total Page:16

File Type:pdf, Size:1020Kb

(12) United States Patent (10) Patent No.: US 8,417,833 B1 Amdahl (45) Date of Patent: Apr USOO841 7833B1 (12) United States Patent (10) Patent No.: US 8,417,833 B1 Amdahl (45) Date of Patent: Apr. 9, 2013 (54) METACODEC FOR OPTIMIZING NETWORK 1992, A ck 3. 3. al et al. 375,240 DATA COMPRESSION BASED ON - - aO . COMPARISON OF WRITE AND READ RATES 4,971.407 A 11/1990 Hofman (Continued) (75) Inventor: s Carl Amdahl, Los Gatos, CA FOREIGN PATENT DOCUMENTS EP O929 173 A2 7, 1999 (73) Assignee: F5 Networks, Inc., Seattle, WA (US) EP O947 104 B1 11, 2002 (Continued) (*) Notice: Subject to any disclaimer, the term of this patent is extended or adjusted under 35 OTHER PUBLICATIONS U.S.C. 154(b) by 601 days. Cheng, J.M., et al. "A fast, highly reliable data compression chip and algorithm for storage systems.” IBM, vol. 40, No. 6, Nov. 1996, 11 (21) Appl. No.: 11/564,805 pg.S. (22) Filed: Nov. 29, 2006 (Continued) Primary Examiner — Alina N Boutah (51) as is (2006.01) Assistant Examiner — Clarence John G06F I3/00 (2006.015 (74) Attorney, Agent, or Firm — Frommer Lawrence & G06F 3/28 (2006.01) Haug LLP: John W. Branch H04F 2/28 (2006.01) (57) ABSTRACT (52) U.S. Cl. ........ 709/247; 370/389: 711/167; 711/168; 711/169: 711/170: 711/171: 711/172: 711/173 A method, system, and apparatus are directed towards selec ... s s s f389: tively compressing data for transmission over a network. In (58) Field of Classification Search .......... 370/389; one embodiment, a sending network device and receiving 709/247; 711/ 167 173 network device negotiates different compression modes to See application file for complete search history. communicate data between them. An initial compression mode may be selected based on a network bandwidth. The (56) References Cited sending network device then reads data, and compresses using the selected compression mode. The compressed data U.S. PATENT DOCUMENTS may then be written out. Ratios of compression and the write 4,021,782 A 5/1977 Hoerning times are then employed to selectively adjust the compression 4,054,951 A 10, 1977 Jackson et al. 4,316,222 A 2, 1982 Subramaniam mode for Subsequent data compressions. In one embodiment, 4,386,416 A 5, 1983 Giltner et al. a compression ratio is also employed to determine whether to 4,593,324 A 6, 1986 Ohikubo et al. employ the selected compression mode, or to reduce the level 4,626,829 A 12/1986 Hauck of compression by using a different compression mode. The 4,701,745 A 10, 1987 Waterworth et al. 4,862,167 A 8/1989 Copeland, III receiving network device having received information about 4,876,541 A 10, 1989 Storer the selected compression mode, then employs that compres 4,890.282 A 12/1989 Lambert et al. sion mode to decompress the received data. 4,891,643 A 1/1990 Mitchell et al. 4,897,717 A 1/1990 Hamilton et al. 21 Claims, 6 Drawing Sheets s Cienfevice 83. Traffic 06 Management device (Md. US 8,417,833 B1 Page 2 U.S. PATENT DOCUMENTS OTHER PUBLICATIONS 4,988.9985,003,307 A 3/19911, 1991 WhitingO’Brien et al. Simpson, W. &“The 8 Point-To-Pointinf-Try-Pri Protocol (PPP).”s RFC 1661, Jul. 5,016,009 A 5/1991 Whiting et al. 1994, 54 pgs. 5,109,433 A 4, 1992 Notenboom Schneider, K., et al. “PPP for Data Compression in Data Circuit 5,126,739 A 6/1992 Whiting et al. Terminating Equipment (DCE).” RFC 1976, Aug. 1996, 10 pgs. 5,146,221 A 9/1992 Whiting et al. Castineyra, I., et al. “The Nimrod Routing Architecture.” RFC 1992, 5,150,430 A 9, 1992 Chu Aug. 1996, 27 pgs. 5,155.484 A 10/1992 Chambers, IV “Direct Access Storage Device Compression and Decompression 5,167,034 A 11/1992 MacLean, Jr. et al. Data Flow.' IBM Technical Disclosure Bulletin, vol. 38, No. 11, Nov. 5,212,742 A 5, 1993 Normile et al. 1995, pp. 291-295. 357.6 A I tal “Drive Image Professional for DOS, OS/2, and Windows.” WSDC 5,280,6004.- : W A 1/1994 VanC MarenCla. et al. Dowload Guide, http://wsdcds01.watson.ibm.com/WSDC.nsf. 5,293,388 A 3, 1994 Monroe et al. Guides/Download/Applications-Drivelmage.htm, accessed Nov. 22. 5.333,212 A 7/1994 Ligtenberg 1999, 4pgs. 5,341,440 A 8, 1994 Earl et al. "Drive Image Professional.” WSDC Download Guide, http:// 5,367,629 A 11/1994 Chu et al. wisdcds01.watson.ibm.com/wsdc.nsf/Guides/Download. Applica 5,379,036 A 1, 1995 Storer tions-Drivelmage.htm, accessed May 3, 2001, 5 pgs. 5,410,671 A 4/1995 Elgamal et al. Electronic Engineering Times, Issue 759, Aug. 16, 1993, 37 pgs. 5,414.425 A 5/1995 Whiting et al. ALDC1-5S Adaptive Lossless Data Compression, IBM Micro 5,463,390 A 10/1995 Whiting et al. electronics, May 1994.2 pgs. 5,479,587 A 12/1995 Campbell et al. ALDC1-20S–Adaptive Lossless Data Compression, IBM Micro 5.488.364 A 1, 1996 Cole electronics, May 1994, 2 pgs. 5.488.483. A 1, 1996 Murayama ALDC1-40S–Adaptive Lossless Data Compression, IBM Micro 5,504.842 A 4, 1996 Gentile electronics, May 1994, 2 pgs. 5.539,8655,506,944 A 4,7, 1996 GentilGentile ALDC-MACRO-Adaptive Lossless Data Compression, IBM - - - ce Microelectronics, May 1994.2 pgs. 5.544.2905,542,031 A 7,8, 1996 GentileDouglass et al. Craft, David J., “Data& 8 Compression Choice No Easy Call.”s Computer 5,546,395 A 8/1996 Sharma et al. Technology Review, Jan.1994.2 pgs. s 5,546,475 A 8, 1996 Bolle et al. Data Compression Applications and Innovations Workshop.” Pro 5,553,160 A 9, 1996 Dawson ceedings of a Workshop held in conjunction with the IEEE Data 5.559.978. A 9/1996 Spilo Compression Conference, Mar. 31, 1995, 123 pgs. 561 5.287 A 3, 1997 Fu et al. IBM Microelectronics Comdex Fall 1993 Booth Location, 1 pg. 5,638.498 A 6/1997 Tyler et al. IBM Technology Products Introduces New Family of High-Perfor 5,646,946 A 7, 1997 VanderMeer et al. mance Data Compression Products.” IBM Coporation, Somers, NY. 5,768.445 A 6, 1998 Troeller et al. Aug. 16, 1993.6 pgs. 5,768,525 A 6, 1998 Kralowetz et al. Zebrose, Katherine L., “Integrating Hardware Acclerators into 5,774,715 A 6/1998 Madany et al. Internetworking Switches.” Telco Systems, 10 pgs. 5,805,932 A 9, 1998 Kawashima et al. Readme, Powerquest Corporation, 6 pgs. 5,850,565 A 12/1998 Wightman et al. Costlow, Terry “Sony designs faster, denser tape drive.” Electronic 5,874,907 A 2, 1999 Craft Engineering Times, May 20, 1996, 2 pgs. 5,884,269 A 3, 1999 Cellier et al. Electronic Engineering Times, Issue 767, Oct. 11, 1993, 34pgs. 5,892,847 A 4/1999 Johnson “IBM Announces New Feature for 3480 Subsystem.” Tucson Today, 5,909,250 A 6, 1999 Hardiman vol. 12, No. 337, Jul 25, 1989, 1 pg. 5,951,623 A 9/1999 Reynar et al. Craft, D.J. "A fast hardware data compression algorithm and some 5.991,515 A 11, 1999 Fall et al. algorithmic extensions.” IBM Journal of Research and Development, 6,070,179 A 5, 2000 Craft vol. 42, No. 6, Nov. 1998, 14pgs. 6,138,156 A 10, 2000 Fletcher et al. “Magstar and IBM 3590 High Performance Tape Subsystem Tech 6,178.489 B1 1/2001 Singh nical Guide.” IBM, Nov. 1996, 288 pgs. 6,314,095 B1 1 1/2001 Loa Gailly, J., gzip The data compression program”. Edition 1.2.4 for 6,349,150 B1* 22002 Jones ........................ 382,238 Gzip Version 1.2.4, pp. 1-13, Jul. 1993. Can be found at http://www. 6,473,458 B1 102002 Shimizu et al. gnu.org/software gzip/manual/html mono? gzip.html. 6,477,201 B1 1 1/2002 Wine et al. “Gzip Wikipedia, the free encyclopedia'. Wikipedia, pp. 1-4. Dec. 6,728,785 B1 4, 2004 Jungck 6, 2005. Can be found at http://en.wikipedia.org/wiki/Gzip. 6,763,031 B1 7/2004 Gibson et al. Gailly, J., “Invoking gzip, pp. 1-2, Jul. 1993. Can be found at 6,775,235 B2 8, 2004 Datta et al. http://www.math.utah.edu/docs/info/gzip 4.html#SEC7. 6,879,631 B1 4/2005 Schultz et al. “Data compression Wikipedia, the free encyclopedia'. Wikipedia, 6,882,753 B2 4, 2005 Chen et al. pp. 1-7. Dec. 6, 2005. Can be found at http://en.wikipedia.org/wiki/ : R 38. R al 1 Data compression algorithm. 2002fO156946- W A1* 10, 2002 MEO1 etala. T10/33 Roelofs, Greg, zlib A Massively Spiffy Yet Delicately Unobtrusive . Compression Library (Also Free, Not to Mention Unencumbered by 2004/O103215 A1 5, 2004 Ernst et al. Patents), pp. 1-5, Last updated on Aug. 7, 2005. Can be found at 2005, 0008017 A1 1/2005 Datta et al. http:/www. zib net 2008.0025298 A1 ck 1/2008 Lev-Ran et al. .............. 370,389 Krintz, Chandra. .and . M. Sucu, Sezgin, "Adaptive on-the-Fly Compres FOREIGN PATENT DOCUMENTS sion (Abstract). EEE Computer Society, vol. 17. No. 1, pp. 1-2, Jan. E. i. 3: A. 58. 2006.DLAbsToc.jsp?resourcePath=/dl/trans/td.&toc=comp/trans/td/ Can be found at http://cs.dl2.computer.org/persagen/ EP 1434 437 A2 6, 2004 2006/01/11 toc-Xml&DOI=101109 TPDS.
Recommended publications
  • Unix (And Linux)
    AWK....................................................................................................................................4 BC .....................................................................................................................................11 CHGRP .............................................................................................................................16 CHMOD.............................................................................................................................19 CHOWN ............................................................................................................................26 CP .....................................................................................................................................29 CRON................................................................................................................................34 CSH...................................................................................................................................36 CUT...................................................................................................................................71 DATE ................................................................................................................................75 DF .....................................................................................................................................79 DIFF ..................................................................................................................................84
    [Show full text]
  • How to Open Downloaded Zip File
    how to open downloaded zip file What Is a ZIP File? A file with the ZIP file extension is a ZIP Compressed file and is the most widely used archive format you'll run into. A ZIP file, like other archive file formats, is simply a collection of one or more files and/or folders but is compressed into a single file for easy transportation and compression. ZIP File Uses. The most common use for ZIP files is for software downloads. Zipping a software program saves storage space on the server, decreases the time it takes for you to download it to your computer, and keeps the hundreds or thousands of files nicely organized in the single ZIP file. Another example can be seen when downloading or sharing dozens of photos. Instead of sending each image individually over email or saving each image one by one from a website, the sender can put the files in a ZIP archive so that only one file needs to be transferred. How to Open a ZIP File. The easiest way to open a ZIP file is to double-click on it and let your computer show you the folders and files contained inside. In most operating systems, including Windows and macOS, ZIP files are handled internally, without the need for any extra software. Other Tools and Capabilities. However, there are many compression/decompression tools that can be used to open (and create!) ZIP files. There's a reason they're commonly referred to as zip/unzip tools! Including Windows, just about all programs that unzip ZIP files also have the ability to zip them; in other words, they can compress one or more files into the ZIP format.
    [Show full text]
  • Basics of UNIX
    Basics of UNIX August 23, 2012 By UNIX, I mean any UNIX-like operating system, including Linux and Mac OS X. On the Mac you can access a UNIX terminal window with the Terminal application (under Applica- tions/Utilities). Most modern scientific computing is done on UNIX-based machines, often by remotely logging in to a UNIX-based server. 1 Connecting to a UNIX machine from {UNIX, Mac, Windows} See the file on bspace on connecting remotely to SCF. In addition, this SCF help page has infor- mation on logging in to remote machines via ssh without having to type your password every time. This can save a lot of time. 2 Getting help from SCF More generally, the department computing FAQs is the place to go for answers to questions about SCF. For questions not answered there, the SCF requests: “please report any problems regarding equipment or system software to the SCF staff by sending mail to ’trouble’ or by reporting the prob- lem directly to room 498/499. For information/questions on the use of application packages (e.g., R, SAS, Matlab), programming languages and libraries send mail to ’consult’. Questions/problems regarding accounts should be sent to ’manager’.” Note that for the purpose of this class, questions about application packages, languages, li- braries, etc. can be directed to me. 1 3 Files and directories 1. Files are stored in directories (aka folders) that are in a (inverted) directory tree, with “/” as the root of the tree 2. Where am I? > pwd 3. What’s in a directory? > ls > ls -a > ls -al 4.
    [Show full text]
  • Ten Thousand Security Pitfalls: the ZIP File Format
    Ten thousand security pitfalls: The ZIP file format. Gynvael Coldwind @ Technische Hochschule Ingolstadt, 2018 About your presenter (among other things) All opinions expressed during this presentation are mine and mine alone, and not those of my barber, my accountant or my employer. What's on the menu Also featuring: Steganograph 1. What's ZIP used for again? 2. What can be stored in a ZIP? y a. Also, file names 3. ZIP format 101 and format repair 4. Legacy ZIP encryption 5. ZIP format and multiple personalities 6. ZIP encryption and CRC32 7. Miscellaneous, i.e. all the things not mentioned so far. Or actually, hacking a "secure cloud disk" website. EDITORIAL NOTE Everything in this color is a quote from the official ZIP specification by PKWARE Inc. The specification is commonly known as APPNOTE.TXT https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT Cyber Secure CloudDisk Where is ZIP used? .zip files, obviously Default ZIP file icon from Microsoft Windows 10's Explorer And also... Open Packaging Conventions: .3mf, .dwfx, .cddx, .familyx, .fdix, .appv, .semblio, .vsix, .vsdx, .appx, .appxbundle, .cspkg, .xps, .nupkg, .oxps, .jtx, .slx, .smpk, .odt, .odp, .ods, ... .scdoc, (OpenDocument) and Offixe Open XML formats: .docx, .pptx, .xlsx https://en.wikipedia.org/wiki/Open_Packaging_Conventions And also... .war (Web application archive) .rar (not THAT .rar) .jar (resource adapter archive) (Java Archive) .ear (enterprise archive) .sar (service archive) .par (Plan Archive) .kar (Karaf ARchive) https://en.wikipedia.org/wiki/JAR_(file_format)
    [Show full text]
  • (12) United States Patent (10) Patent No.: US 7.444,347 B1 Alley Et Al
    USOO7444347B1 (12) United States Patent (10) Patent No.: US 7.444,347 B1 Alley et al. (45) Date of Patent: Oct. 28, 2008 (54) SYSTEMS, METHODS AND COMPUTER 2005/0261891 A1* 11/2005 Chan et al. ..................... TO4/9 PRODUCTS FOR COMPRESSION OF 2007/004401.0 A1* 2, 2007 Sull et al. .. ... 715,500.1 HERARCHICAL IDENTIFIERS 2007/0128899 A1* 6/2007 Mayer ........................ 439,152 (75) Inventors: Charles L. Alley, Durham, NC (US); FOREIGN PATENT DOCUMENTS Anthony J Bybell, Carrboro, NC (US); WO WOO135216 5, 2001 Jason M. Sullivan, Raleigh, NC (US) Naming Issues in the Design of Transparently Distributed Operating (73) Assignee: International Business Machines Systems, 1987, Robert J. Stroud. (Item 1 from file 35) 1010738 Corporation, Armonk, NY (US) Order No. AADDX-80202)) online; retrieved on Oct. 26, 2007: retrieved from the Internet <URL http://www.dialogweb.com/dgi/ dwclient. (*) Notice: Subject to any disclaimer, the term of this ModelSim EE/PLUS Reference Manual, The ModelSim Elite Edi patent is extended or adjusted under 35 tion for VHDL. Verilog, and Mixed-HDL Simulation, Software Ver U.S.C. 154(b) by 0 days. sion 5.2, (Modern Technology, Inc.) Oct. 1998, online), retrieved on Nov. 2, 2007: Retrieved from the Internet <URL: <http://courses. (21) Appl. No.: 11/941,376 ece3.uiuc.edu/ece4 12/References/modelsimfee manual 52.pdf>. (22) Filed: Nov. 16, 2007 * cited by examiner Primary Examiner Kuen S Lu (51) Int. C. (74) Attorney, Agent, or Firm—Cantor Colburn LLP: Josh G06F 7/30 (2006.01) Cockburn G06F 7/00 (2006.01) (52) U.S.
    [Show full text]
  • OOMMF User's Guide October 2, 2001 This Manual Documents Release
    OOMMF User's Guide October 2, 2001 This manual documents release 1.1b1. Abstract This manual describes OOMMF (Object Oriented Micromagnetic Framework), a public domain micromagnetics program developed at the National Institute of Stan- dards and Technology. The program is designed to be portable, flexible, and extensible, with a user-friendly graphical interface. The code is written in C++ and Tcl/Tk. Tar- get systems include a wide range of Unix platforms, Windows NT, and Windows 95/98. Contents Disclaimer iii 1 Overview of OOMMF 1 2 Installation 3 2.1 Requirements ................................... 3 2.2 Basic Installation ................................. 4 2.2.1 Download ................................. 4 2.2.2 Check Your Platform Configuration ................... 5 2.2.3 Compiling and Linking .......................... 9 2.2.4 Installing ................................. 9 2.2.5 Using OOMMF Software ......................... 10 2.2.6 Reporting Problems ........................... 10 2.3 Advanced Installation ............................... 10 2.3.1 Reducing Disk Space Usage ....................... 10 2.3.2 Local Customizations ........................... 10 2.3.3 Managing OOMMF Platform Names .................. 11 2.3.4 Microsoft Windows Options ....................... 13 3 Quick Start: Example OOMMF Session 16 4 OOMMF Architecture Overview 20 5 Command Line Launching 22 6 OOMMF Launcher/Control Interface: mmLaunch 25 7 Micromagnetic Problem Editor: mmProbEd 27 8 Micromagnetic Problem File Source: FileSource 29 9 The 2D Micromagnetic Solver: mmSolve2D 31 10 Data Table Display: mmDataTable 39 11 Data Graph Display: mmGraph 42 12 Vector Field Display: mmDisp 46 i 13 Data Archive: mmArchive 56 14 Documentation Viewer: mmHelp 58 15 Command Line Utilities 60 15.1 Making Bitmaps from Vector Fields: avf2ppm ................. 60 15.2 Bitmap File Format Conversion: any2ppm ..................
    [Show full text]
  • Zipgenius 6 Help
    Table of contents Introduction ........................................................................................................... 2 Why compression is useful? ................................................................................ 2 Supported archives ............................................................................................ 3 ZipGenius features ............................................................................................. 5 Updates ............................................................................................................ 7 System requirements ......................................................................................... 8 Unattended setup .............................................................................................. 8 User Interface ........................................................................................................ 8 Toolbars ............................................................................................................ 8 Common Tasks Bar ............................................................................................ 9 First Step Assistant .......................................................................................... 10 History ............................................................................................................ 10 Windows integration ........................................................................................ 12 Folder view .....................................................................................................
    [Show full text]
  • Installation and Administration Solidworks 2020
    INSTALLATION AND ADMINISTRATION SOLIDWORKS 2020 / Visualize Contents Legal Notices............................................................................................................6 1 SOLIDWORKS Installation and Administration......................................................9 Individual Installation or Administrative Image.............................................................................10 Check System and Software Requirements.................................................................................11 Installing 3DEXPERIENCE Add-Ins.............................................................................................11 2 Individual Installations..........................................................................................12 Installation on Individual Computers............................................................................................12 Administration of Individual Installations......................................................................................14 Modifying an Installation..........................................................................................................14 Repairing an Installation..........................................................................................................15 Rolling Back an Individual Installation to a Previous Service Pack.........................................15 Removing an Installation.........................................................................................................16 Upgrading
    [Show full text]
  • Efficient Transition Adjacency Relation Computation for Process Model Similarity 3
    IEEE TRANSACTIONS ON SERVICES COMPUTING, VOL. X, NO. X, X 2018 1 Efficient Transition Adjacency Relation Computation for Process Model Similarity Jisheng Pei, Lijie Wen, Xiaojun Ye, and Akhil Kumar Abstract—Many activities in business process management, such as process retrieval, process mining and process integration, need to determine the similarity between business processes. Along with many other relational behavior semantics, Transition Adjacency Relation (abbr. TAR) has been proposed as a kind of behavioral gene of process models and a useful perspective for process similarity measurement. In this article we explain why it is still relevant and necessary to improve TAR or pTAR (i.e., projected TAR) computation efficiency and put forward a novel approach for TAR computation based on Petri net unfolding. This approach not only improves the efficiency of TAR computation, but also enables the long-expected combined usage of TAR and Behavior Profiles (abbr. BP) in process model similarity estimation. Index Terms—Transition Adjacency Relation, Petri Net, Unfolding, Process Model Similarity. F 1 INTRODUCTION ing and similarity measurement, researchers have noticed Since its first introduction [1], Transition Adjacency Relation the limitations to its expressive powers [9]. It has been (TAR) has been applied in a wide range of business process discussed in several works that while some process models model analysis scenarios such as similarity measurement [2– may have identical behavior profiles but produce different 6], process model retrieval [7, 8], and process mining [9, 10]. output traces. Different from conformance checking between a process As a result, a comprehensive relational semantics called model and an event log [11], a process similarity algo- 4C Spectrum has been proposed in [13] to make up for the rithm based on TAR (TAR similarity in short) takes two missing expressive power of BP.
    [Show full text]
  • GEOB 373: Image Acquisition and Download Tutorial
    GEOB 373: Image Acquisition and Download Tutorial Prepared for Geob 373 by BK March 7, 2019. 1 Image Analysis with ArcGIS 10 Image Acquisition and Download Tutorial Introduction This “Image Acquisition and Download Tutorial” has been prepared so that you can learn how to search for, order and download Landsat imagery. You will be required to download the imagery for your final projects, so it is important that you become familiar with the process. Procedure File management is crucial for a successful project! Before you start compiling your data, ensure you have become familiar with the file structure and the data used in a project. Create folders on the drive you are allowed to save data on (e.g., temporarily, during the download process, you can use C:\temp\download, but remember you will have to transfer the files to your USB drive). Accessing Landsat Imagery using the USGS Global Visualization Viewer (GloVis) In this tutorial you will be shown how to acquire an image of Vancouver using GloVis. After accessing the image through GloVis, you should confirm that the downloaded files are the correct ones by viewing them using ArcMap. Step 1: Open GloVis (http://glovis.usgs.gov) in a web browser. Launch GloVis, but do not select the ‘full screen’ option as that will hide the login button. Step 2: Log into GloVis (or, if this is your first time entering the system, create an account). If you don’t see the login link, click on the Toggle Full Screen mode button (highlighted in blue in the figure below).
    [Show full text]
  • Archive Utility Download Mac Free Best Zip Program for Mac: 4 Options to Know
    archive utility download mac free Best Zip Program for Mac: 4 Options to Know. Files you may use on your computer will be of different formats and no matter which operating system your computer runs on, you would certainly have come across .zip files. Zipped files or compressed files, as they’re called, are used when you wish to save space on your computer and also when they need to be sent via the internet. Zip files have been in existence for many years now and is helpful when you have to deal with a large number of files that you may need to send to someone via email or reduce the actual size of the files when sharing. Like on Windows, you can also open .zip files on your Mac and create .zip files by compressing other files. In this post, we’ll list the programs you may use to open and compress .ZIP files on a Mac. Mac’s Archive Utility The Unarchiver RAR Extractor Keka. Mac’s Archive Utility. Mac offers a native compressing and decompressing solution in the form of the Archive Utility that’s built right into the macOS system. Not only can you summon the app from the Launchpad or through Spotlight, but the ability to compress a file into archive format is also built right into the Mac’s Finder app. This way, you are not required to open a separate app or preset values for compression. By default, the Archive Utility inside Finder compresses files in ZIP format and leaves the files and archive alone when decompressing or compressing.
    [Show full text]
  • < Direct Input from a File to a Command Eg Wc < Input.Txt > Direct Output From
    UNIX COMMANDS: Commands Description < Direct input from a file to a command e.g. wc < input.txt > Direct output from a command to a file e.g. ls > output.txt >> Append output from a command to a file e.g. date >> output.txt | Redirect (pipe) the standard output of one command to the standard input of another e.g. echo hello world | tr “a-z” “A-Z” - sends the output of the echo command to the tr command for translation to uppercase ; Combine commands e.g. echo hello world ; cal \ Escape the following special character e.g. echo Prompt\> - prints out Prompt> ./ Execute a script in the current directory e.g. ./myscript.sh .. Parent directory e.g. cd .. - change to parent directory ~ Alias for the home directory e.g. cd ~ - change to home directory & Run command line in the background ^C (Ctrl + C) kills a running process ^Z (Ctrl + Z) suspend a running process bunzip2 Uncompress a file from zip format e.g. bunzip2 input.txt.bz2 bzip2 Compress a file to zip format e.g. bzip2 input.txt cat Display the text content of one or more files in consecutive order as one document (can be used to combine files) e.g. cat input1.txt input2.txt cd Change working directory e.g. cd /usr/bin/ chmod Change access permission of a file or director for the User, Group, and Other users. The numerical code for changing permission. # Permission rwx 7 Full 111 6 read and write 110 5 read and execute 101 4 read only 100 3 write and execute 011 2 write only 010 1 execute only 001 0 None 000 e.g.
    [Show full text]