hi all,
I am new to linux, sometimes i wonder if there is a way to search for the utility command such as useradd or ifconfig. The reason i ask is, in Fedora, there are many command that are hiding in different places.
For example, I now know useradd is under /usr/bin/ and ipconfig is under /sbin, and so does shutdown command. But if i don't know where a command is, is there a way to figure it out quickly instead of digging it up from the book or the internet?
k2k
5
Posting Whiz
Recommended Answers
Jump to PostHi k2k,
There are a few options. Usually, if you're the root user, these things are in your "PATH". Are you by any chance logging in as another user, and using the "su" command to get to root? if so, try using "su -l". This will start a login …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.