• Home
  • WordPress
  • web Hosting
    • Free hosting
    • Cheap Hosting
    • comparison cloud , vps, shared, wordpress
    • managed wordpress hosting
    • managed cloud hosting
  • page Speed
  • Deals
  • Services
  • About

RAaz Kumar .com

wordpress tutorials seo hosting etc


Top 10 zip / tar commands to compress & extract files in linux

Zip & unzip tar gunzip commands explained

apt install zip
apt install unzip
zip archive.zip file
zip archive.zip folder1 file2 file3
Directory and sub directories
zip -r bak.zip directory
zip -r bak.zip directorypath
zip path/bak.zip path/directory
zip -r /var/www/bak.zip /var/www/html
Compression level 0-9
zip -9 -r archivename.zip directory_name
Compression with password
zip -e  archivename.zip directory_name
Password
Confirm password
Compress data in multiple files with size limit
zip -s 1g -r archivename.zip directory
1gb each
Zip all current directory
zip archivename *
Zio hidden files
zip archive.zip .* *
Zip only specific extensions
zip archive.zip *.html

Unzip

unzip  archive.zip
-q supress output screenprinting
unzip to different directory
sudo unzip latest.zip -d /var/www
Unzip password protected files
unzip -P PasswOrd filename.zip
unzip -P filename.zip
Enter password
Confirm password

Tar

tarball, or tar, gzip, and bzip in Linux
Extract a tar.gz archive
 tar -xvzf bigfile.tar.gz
x –  Extract files
v – Verbose, print
z –  file is a “gzipped” file
f – Use the following tar archive for the operation
specific directory or path
 tar -xvzf bigfile.tar.gz -C /folder/subfolder/
-c  parameter helps to directory path
gzip extraction
single file
tar -xz -f wp.tar.gz “./new/one.txt”
Multiple
tar -xv -f wordpress.tar.gz “./new/two.php” “./new/three.html”
Wildcard
 tar -xv -f wordpress.tar.gz –wildcards “*.php”
Gzip View files without extraction using -t
 tar -tz -f abc.tar.gz
Grep/ less
 tar -tvz -f wordpress.tar.gz | grep wp-config.php
Create a tar/tar.gz archive
without compression
tar -cvf files.tar ./latest/
Z=gzip j=bzip, bz2 algorithm
With compression
tar -cvzf files.tar ./latest/
Add files to existing compress ed archives
Use gunzip to uncompress the tar and then add
using the “r” option it adds files to existing archives, without the creation of a new one
gunzip college.tar.gz
 tar -rf college.tar ./tech/top.ppt
# gzip college.tar
ls
College.tar.gz

Related topics:

  1. TOP 10 mv & cp commands in linux to move & copy files in Linux
  2. 3 Ways (SCP, rsync, Sftp) linux server migration between two remote server apache nginx
  3. Top 10 GREP Commands in linux to search files directory words strings
  4. linux commands pdf (files & Directories, zip & unzip process, search etc)
  5. Top 10 most used Cat commands with examples (create, view, append files)

tutorials

  • MySQL Tutorial (create,connect database, update tables, export etc) Documentation & TIPS
  • apache server tutorial (install,config, performance tuning, security, error handling)
  • Linux sysadmin tutorials linux system administrator
    • top 10 apt & apt-get commands (most used) apt vs apt-get
    • linux commands pdf (files & Directories, zip & unzip process, search etc)
    • linux performance tuning inode limit file descriptors tco, kernel etc
    • Top 10 most used Cat commands with examples (create, view, append files)
    • Ip tables / ufw / firewall d commands for block port ip rate limiting
    • Top 10 zip / tar commands to compress & extract files in linux
    • TOP 10 mv & cp commands in linux to move & copy files in Linux
    • Top 10 GREP Commands in linux to search files directory words strings
    • lsof netstat commands to know listening ports in linux 3 ways
    • Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop
    • 3 Ways (SCP, rsync, Sftp) linux server migration between two remote server apache nginx
    • linux system specs commands (CPU, Memory, Disk )speed, type. manufacture
    • linux sysctl command tweaks & hardening
    • linux security limits.conf deciding user limits process limits for nginx server
    • ulimit linux unlimited command unlimto set & know user limits open files file descriptor max user process etc.
    • red hat linux certification cost jobs salary syllabus courses fees
    • ufw firewall commads allow port enable disable ubuntu 20.04
    • ddos attack prevention
    • change ssh port in linux - avoid sshd ddos attacks
    • ping command
    • memcached install ubuntu wordpress
    • check linux version (lsb_release -a) ubuntu debian 32 or 64 bit
    • rsync command linux with examples comparison to scp
    • how to uninstall package in linux ubuntu rpm, yum apt-get
    • increase open file limit linux File descriptor ft nginx , mysql, lemp
    • remove repository ubuntu
    • htop commad memory details virtual vs shard vs resident
    • chown command in Linux with Examples
    • Kill PHP process
    • VIrtual Memory vs RSS Memory vs Shared memory in Linux
    • oom killer fixing it by configuration linux ubuntu
    • Install Lemp nginx mysql php fpm Stack on Debian 11 with repository
    • connect two remote servers linux command line
    • auto start after oom killer Mysql & php fpm nginx etc ubuntu wth systemd or cron job
  • Core Java Tutorial Free online
  • HTML & CSS Tutorials
  • Php tutorials
  • ubuntu tutorials installation download issues etc
  • redis install ubuntu 20.04 with wordpress php redis mysql configuration
  • [INTRO] Ethical hacking / cyber Security / Penetration testing Tutorial -{updates frequently}
  • Android Studio tutorials syllabus Topics Course details #AndroidApplicationDevelopment
  • AUdio Editing Background Noise removal (Audacity, Adobe Premiere Addition, Camtasia Filmora Windows Obs)
  • Vivek Bindra Videos Transcription (business strategy)
  • nginx server tutorials (installation, configuration, performance tuning, security)
  • what is vpn vs proxy vs tor, http vs https, http2, tcp vs udp, kali linux sql source code injection
  • how to create a website free of cost on google
  • CCNA Syllabus pdf (CCNA / CCNP vs devops vs mcsa /MCSE)
  • Devops course Syllabus topics PDF AWS, Azure, cisco, redhat
  • Redis performance metrics & tuning for nginx apache ubuntu & debian
  • xampp tutorials 2021 installation errors fix wordpress phpmyadmin mysql apache
  • new relic installation linux (infrastructure agent , php, mysql , nginx)
  • new relic mysql install integration - 2 ways fix problems
  • new relic php agent install in 3 steps
  • git commands

 

 

wordpress Pagespeed optimization

Digitalocean free $100 Credit

Cloudways Review pricing promo codes

Siteground cpu limits Pricing

Shared Hosting

Managed wordpress Hosting

Managed Hosting Cloud server

VPS Hosting

Cloud Hosting – Unmanaged

Google cloud Pricing

Aws Pricing

Azure pricing

nginx server tutorials

apache server tutorials

linux sysadmin tutorials

mysql Commands list pdf

LEMP Install Ubuntu

Mysql Performance Tuning

Nginx Performance tuning

Linux Performance tuning

Php -fpm performance tuning

Redis Performance tuning

linux server security

nginx security best practices

wordpress security plugins

 

 

wordpress

 

Top 5  WP Google Analytics Plugins

WP Backup Plugins

Wp Comment Plugins

Top wordpress Security Plugins

WP Seo Plugins

WP Caching Plugins

Best Adsense Plugins for WordPress

Wp social Sharing Plugins

autoshare social media plugins

WP speed Optimization Plugins

Speedup WordPress google Score

More Wp tuts

Server Admin Cloud

 

Installing Nginx LEMP On ubuntu

Installing apache Lamp ubuntu

nginx fastcgi cache enable

php – fpm install  & Configuration

Opcache install & Configure

php -fpm pool manager explained

Mysql Install & Configuration

Redis Object cache install & configure

 

Nginx as Reverse Proxy and Load balancer

Load Balance / auto scaling in google cloud

Linux Commands PDF

Mysql Commands Pdf

Letsencrypt tutorial

mysqldump export & import 

Pagespeed Module install & configure

nginx.conf best file

mysql.conf best file

upgrade ubuntu

© 2023 - All Rights Reserved Disclaimer & Privacy Policy