what is the code for :
Using the tar command, create a compressed archive file using gzip option called home.tar.gz
Following is the tar command to create a compressed archive file.
command:$ tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
e.g: $ tar -czvf home.tar.gz ~/Documents/Chegg/Test/home/
Meaning of the options is as follows:
SCREENSHOTS: (Directory Contents)

Before executing the command:

After executing the command:

Contents of the home.tar.gz file:

NOTE: The home.tar.gz file will get created in the present working directory. i.e the directory from where you executed the command.
Feel free to ask any doubts related to this answer in comments section below.
what is the code for : Using the tar command, create a compressed archive file using...
Answer the question explaining why with at least four sentences and show the command steps on Linux preferably using screenshots. Which of the following commands displays the contents of a gzip compressed tar archive? A. gzip archive.tgz | tar xvf - B. tar ztf archive.tgz C. gzip -d archive.tgz | tar tvf - D. tar cf archive.tgz
COSC 3411 /ITAP 3411 Homework (UNIX Shell Commands) How would you ensure that all ordinary files created by you have rw-rw---- as default permissions? How would you sort in the background a file called "bad.txt", and place the results in a file called "sort.txt"? Archive the contents of your home directory (including any subdirectories) using tar. Compress the tar archive with gzip. Now extract their contents. Use the “find” command to locate in /docs and /usr/docs all files that Begin...
Could you help me do the commands from nmber 16 to 21
For this assignment, you will: Unpack a tar archive. Change the unpacked files. Repack the files into a new tar archive. Turn in your new tar archive. Details Do not use an editor unless it specifically states to edit the file. By "editor" I mean vim, gedit, pico, etc. Despite its name, we don't consider sed to be an editor in this assignment, so you may use it...
Create a file using echo command Display properties of the file Check whether file is readable or not If it is readable then read content and display content of the file on the monitor Check syntax of the script and execute Deliverable: shell script (filetest.csh) and logfile (results.log)
Create a bash script to do the following on your CentOS6 VM. To back up your home folder using tar command daily. Use gzip as the compression for tar (z option). – 10pts Hint: Make sure you exclude the tar file itself from the backup. The script should name the tar file backupYYYYMMDD.tar.gz -10 pts The script should keep the last seven days of backup files and delete backup files older than seven days. -10 pts The script should check...
In MATLAB code please
Problems 1. Create a script file called Lab10.m containing your work for the following problems to be uploaded to Canvas under Lab 10. 2. Create symbolic expressions for the following and display them using the pretty command ay 2c2 3. Create the following symbolic equations: 3 4. Factor the following expressions and collect like terms: ax2 - 18az+77a 42 +68x +240
(3) Using OpenSSL from the command line interface a. Create a text file with some input and encrypt it using AES-128 CBC AES-256 CTR DES b. Create a 2048 bit RSA public and private key
Create a find command string that will locate the file called resolv.conf and once found, grep for the number of lines that the string nameserver appears in within the file. Begin your find search within the /etc directory. Complete the find command string by replacing the ## with the required characters. Enter only the characters below. find /etc -name 'resolv.conf' -exec grep ##'nameserver' {} \; (The output of the find command will be a number. Ignore the warnings)
QUESTION 1 From YOUR home directory, execute a find command string that will locate the file called resolv.conf. Include the -exec flag in the find command to cat the file to the screen. Begin your find search from the letc directory Select the correct find command string below that will accomplish this. find /etc-name 'resolv.conf -cat D find /etc-name 'resolv.conf -exec cat 0 find. -name 'resolv.conf -exec cat 0\ find /-name 'resolv.conf' -exec cat 0 QUESTION 2 What find command...
In this module you learned how to create polymorphic code using virtual functions. A file filter reads an input file, transforms it in some way, and writes the results to an output file. Write an abstract file filter class that defines a pure virtual function for transforming a character. Create one subclass of your file filter class that performs encryption, another that transforms a file to all uppercase, and another that creates an unchanged copy of the original file. The...