SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I thought root is just #
I get ~# what does the nene mean before root symbol? Or is this just the way it is in Slackware8? (I am running dualboot win98se one hd & Slack8 has its own hd) Thnx
If this is home root ~# What do I do here that I cant or dont do in #
Then what is # What is the difference? And I dont know how I login to ~#
I thought I was just logining in as root. lol U can refer me to a book, site or link if this is too basic a ques. Maybe a list defining commands and symbols for slackware8? thnx
You ARE logged in as root. As I said before, the ~ is just your home directory. If you were logged in as a normal user, the ~ would mean /home/username, for root, it's /root.
Edit: ~ for a user's home directory isn't specific to Slackware either.
The Unix prompt is changeable depending on your needs, so ~, and even #, means nothing: it's only information. Only what you type has meaning.
However, it is usual on Unix systems to put a # at the end of root's prompt, and a % at the end of users' prompts (on Linux, for regular users, it is $ instead, I don't know why).
Remember how in DOS and the Windows command line, it shows you the current working directory as part of the prompt? Something like C:\monkey> ? This is the same thing. As has already been explained, Linux (and other Unix-like OSes) uses ~ as a shorthand for whatever your home directory is (For root that would be /root). So if you're currently in your home directory, you'll have ~ as part of your prompt.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.