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.
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
you need a backslash infront of the quote...
like this:
tar -xjf 19506-pinux\'s-tux-cursors-theme-0.3-cur.tar.bz2
if you type
tar -xjf 19506
do not press enter just yet...
but hit tab 1, or 2 times it will automatically add the rest of the filename
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
you start a string as a single cml parameter where spaces and other stuff is allowed tar (and any other program would to) came up with the >
waiting for you to close the string with another '
The '>' is from your PS2 variable, which is the shell's way to show that you're continuing the command on another line. This usually happens when you start a quoted string, and haven't closed it before you hit enter. Try typing
[code[
echo "one
two
three"
[/code]
and see the prompt change. PS1 is the one you usually see, and PS3 and PS4 are also defined. man bash for more details than you want to see.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.