0 store only -l convert LF to CR LF (-ll CR LF to LF) r recurse into directories -j junk (don't record) directory names d delete entries in zipfile -m move into zipfile (delete OS files) f freshen: only changed files -u update: only changed or new files If zipfile and list are omitted, zip compresses stdin to stdout. The default action is to add or replace zipfile entries from list, whichĬan include the special name - to compress standard input. ~]# zip -helpĬopyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license. You can check other zip commands option using zip -help command as shown below. ~]# zip file.zip file.txt adding: file.txt (deflated 63%) ~]# rpm -qa | grep -i zipīzip2-libs-1.0.86_64 Step 5: Test zip commandĪfter successful installation of zip package you can check the zip command usage by compressing a simple file.txt file to file.zip format as shown below. 86_64.rpm | 260 kB 00:00:00Ĭomplete! Step 4: Verify Package InstallationĪfter successful installation of zip package, you can query the rpm db and verify the installation using rpm command as shown below. No packages marked for update Step 3: Install zip commandĪfter updating all the packages it is now time to install zip package using yum install zip -y command as shown below. Loading mirror speeds from cached hostfile In this example since system is already updated with latest version so it does not have any new updates to install. Step 2: Update Your Systemīefore installing zip package you need to first update all the packages to the latest version using yum update -y command as shown below. #Cmake command not found linuk how toFor more information, Please check Step by Step: How to add User to Sudoers to provide sudo access to the User. You can use any user with sudo access to run all these commands. Please note that here I am using root user to run all the below commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |