Preview

Any Bad Moment

Good Essays
Open Document
Open Document
2957 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Any Bad Moment
Backup utilities cpio cpio command is used to process archive files cpio stands for “copy in, copy out”. cpio performs the following three operations. * Copying files to an archive * Extracting files from an archive * Passing files to another directory tree cpio takes the list of files from the standard input while creating an archive, and sends the output to the standard output.
Syntax
$cpio options devicename -i | (copy in) cpio -i extracts files from the standard input. | -o | (copy out) cpio -o reads the standard input to obtain a list of path names and copies those files onto the standard output. | -p | (pass) cpio -p reads the standard input to obtain a list of path names of files. |
-v Verbose. Print a list of file names.When used with the -t option, the table of contents looks like the output of an ls -l command

In conjunction with the above commands the below commands can be used. -a | Reset access times of input files after they have been copied. Access times are not reset for linked files when cpio -pla is specified (mutually exclusive with -m). | -A | Append files to an archive. The -A option requires the -O option. Valid only with archives that are files, or that are on floppy diskettes or hard disk partitions. | -b | Reverse the order of the bytes within each word. (Use only with the -i option.) | -B | Block input/output 5120 bytes to the record. The default buffer size is 512 bytes when this and the -C options are not used. -B does not apply to the pass option; -B is meaningful only with data directed to or from a character special device, for example, /dev/rmt/0m. | -c | Read or write header information in ASCII character form for portability. There are no UID or GID restrictions associated with this header format. Use this option between SVR4-based machines, or the -H odc option between unknown machines. The -c option implies the use of expanded

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 4 Lab Report

    • 818 Words
    • 4 Pages

    Step 10: To save the file with another name, type in, “ :w gardenfile1” into the vi editor while in command mode.…

    • 818 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Ans : This matches any file with 2 characters, first being a lower case letter and the second being a number from 0 to 9…

    • 529 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    It250

    • 272 Words
    • 2 Pages

    Which of the following Linux utilities lists the names of files in a single directory?…

    • 272 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Ethical Hacking Lab

    • 445 Words
    • 2 Pages

    4. Enter the following command to view the pcap file in hexadecimal format (-x) using absolute, instead of relative, TCP sequence numbers (-S).…

    • 445 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Linux Interview Questions

    • 10428 Words
    • 42 Pages

    2. Write a script to convert all DOS style backslashes to UNIX style slashes in a list of files.…

    • 10428 Words
    • 42 Pages
    Powerful Essays
  • Powerful Essays

    individual assignment

    • 1485 Words
    • 7 Pages

    Step 3. In the Winzip utility program, on the ‘Home’ tab, there should be a button labelled ‘1-Click Unzip’. Press on the ‘1-Click Unzip’ button. The compressed files directories and folders should then be extract. Once Winzip has completed the extraction, then close the Winzip program.…

    • 1485 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Basic Linux Command

    • 359 Words
    • 6 Pages

    Command's Purpose Linux Basic Linux Example Copies files cp cp thisfile.txt /home/thisdirectory Moves files mv mv thisfile.txt /home/thisdirectory Lists files ls ls (all information ls –l) Clears screen clear clear Closes prompt window exit exit Displays or sets date date date Deletes files rm rm thisfile.txt "Echoes" output on the screen echo echo this message Edits files with simple text editor vi vi thisfile.txt Compares the contents of files diff diff file1 file2 Finds a string of text in a file grep grep this word or phrase thisfile.txt Formats a diskette mke2fs (or mformat /sbin/mke2fs /dev/ fd0 (/dev/fd0 is the Linux equivalent of A:) Displays command help man man command Creates a directory…

    • 359 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Life has its ups and downs, highs and lows. Sometimes you feel as if you are on top of the world, other times you feel as if everyone or everything has turned against you.…

    • 943 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    GLenn

    • 2198 Words
    • 9 Pages

    You must be comfortable with the vi editor, the UNIX file system, basic UNIX commands, and shell command line processing (command substitution, all forms of quoting, shell and environment variables, filename wildcards, pipes, redirection).…

    • 2198 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    User Datagram

    • 844 Words
    • 4 Pages

    UDP packets, called user datagrams, have a fixed size header of 8 bytes. The below diagram shows the format of a user datagram.…

    • 844 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Shell Programing

    • 2683 Words
    • 11 Pages

    commands in it. Shell scripts usually begin with a #! and a shell name (complete pathname of shell).…

    • 2683 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    (MBR), a memory buffer register which contains the data to be written into memory or which receives the data read from memory. Similarly…

    • 5855 Words
    • 24 Pages
    Powerful Essays
  • Good Essays

    Linux Commands

    • 5778 Words
    • 24 Pages

    All components of the path will be actual folder names - none will be symbolic links.…

    • 5778 Words
    • 24 Pages
    Good Essays
  • Powerful Essays

    Report 471

    • 2371 Words
    • 10 Pages

    + Decoder block: decoding the 5-bit signal from Write Register to choose which register is used to write the data. This block only works when the signal from RegWrite is sent to activate the block. + There are 32 register from 0 to 31, the register 0 contains only bit 0 as default. The data signal from WriteData will be sent to the chosen register from the decoder block.…

    • 2371 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    One Mark Questions

    • 537 Words
    • 3 Pages

    |1. |What command is used to count the total number of lines, words, and characters contained in a file? |…

    • 537 Words
    • 3 Pages
    Satisfactory Essays

Related Topics