tar doesn't work and can't implement file from Ununtu I Use it from Windows
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
****@DESKTOP-BK9717N:/home/pocoloco234# tar xz linux-6.2.tar.xz
tar: Refusing to read archive contents from terminal (missing -f option?)
tar: Error is not recoverable: exiting now
****@DESKTOP-BK9717N:/home/pocoloco234# tar xz linux-6.2.tar.xz -f
tar: option requires an argument -- 'f'
Try 'tar --help' or 'tar --usage' for more information.
bzip2: I won't write compressed data to a terminal.
bzip2: For help, type: `bzip2 --help'.
*ROOT*@DESKTOP-BK9717N:/home/pocoloco234#
why it doesn't give me access not to install or write compressed data to a terminal because I use terminal and I installed those commands:
something tells me that somewhere I make a little mistake but I do not see it I will review all I have sent.
and those are the commands:
command 'hot' from deb hopenpgp-tools (0.22-2build2)
command 'net' from deb samba-common-bin (2:4.13.17~dfsg-0ubuntu1.20.04.5)
command 'nft' from deb nftables (0.9.3-2)
command 'nop' from deb graphviz (2.42.2-3build2)
command 'dot' from deb graphviz (2.42.2-3build2)
command 'nut' from deb nutsqlite (2.0.6-1)
command 'note' from deb note (1.3.26-3)
command 'nox' from deb nox (2019.5.30-2)
command 'jot' from deb athena-jot (9.0-7)
Personally I would stick to the WSL2 kernels and not try to manually install a mainline kernel from scratch especially with your skill level (no offense). The latest WSL2 kernel I believe is 5.15 something. Try the command
I use VirtualBox and it is easy enough to setup. You can update the kernel using Ubuntu repositories which are already configured to run on Ubuntu unlike a mainline kernel from kernel.org.
tar takes the filename (whatever.tar) as the last argument. Its right there, in tar --help:
Code:
Examples:
tar -cf archive.tar foo bar # Create archive.tar from files foo and bar.
tar -tvf archive.tar # List all files in archive.tar verbosely.
tar -xf archive.tar # Extract all files from archive.tar.
Just be old convention, you don't need the minus sign.
I found linux-6.2.tar on linux but don't know how to install it ARROW DOWN
gcc: error: hello.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
root@DESKTOP-BK9717N:/home/pocoloco234# ./hello
bash: ./hello: No such file or directory
root@DESKTOP-BK9717N:/home/pocoloco234# date
Sat Feb 25 12:22:16 EET 2023
root@DESKTOP-BK9717N:/home/pocoloco234# ls
'HELP --' linux-6.2.tar 'sudo_root 8' -------------------- here I found it
root@DESKTOP-BK9717N:/home/pocoloco234# linux-6.2.tar
linux-6.2.tar: command not found
root@DESKTOP-BK9717N:/home/pocoloco234# HELP -- linux-6.2.tar
HELP: command not found
root@DESKTOP-BK9717N:/home/pocoloco234# HELP -- linux-6.2.tar.xz
HELP: command not found
root@DESKTOP-BK9717N:/home/pocoloco234# HELP-- linux-6.2.tar.xz
HELP--: command not found
root@DESKTOP-BK9717N:/home/pocoloco234#
Last edited by palio88@gg; 02-25-2023 at 04:25 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.