Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in provided tar command #3

Open
ankur0904 opened this issue Dec 23, 2023 · 2 comments
Open

Issue in provided tar command #3

ankur0904 opened this issue Dec 23, 2023 · 2 comments

Comments

@ankur0904
Copy link

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]
@jianminww
Copy link

@ankur0904 Thank you for your contribution. Have submitted #6 to fix this issue.

@ankur0904
Copy link
Author

@jianminww Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants