Skip to content

Issue in provided tar command #3

@ankur0904

Description

@ankur0904

Describe the bug
The tar command provided here is incomplete

tar -zxvf awsome_codes && cd awsome_codes

Output:

$ tar -zxvf awsome_codes && cd awsome_codes
tar (child): awsome_codes: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error is not recoverable: exiting now

The correct command is:

tar -zxvf awsome_codes.tar.gz && cd awsome_codes

To Reproduce
Steps to reproduce the behavior:

  1. Go to here
  2. Follow all the previous steps till here
  3. After executing the commands you can find the error message.
  4. See error

Expected behavior
The output of the commands should be like this

awsome_codes/
awsome_codes/main.c
awsome_codes/sin_value.h
awsome_codes/hello.c
awsome_codes/sin_value.c
awsome_codes/cos_value.h
awsome_codes/cos_value.c

Screenshots
Screenshot from 2023-12-23 23-24-14

Desktop (please complete the following information):

  • OS: [Ubuntu 22.04.3 LTS]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions