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.
Most of the commands are not found in my OS .
what's the permanent solution ?
IS there any package to get all basic commands ?
PHP Code:
[root@localhost ~]# fstab -bash: fstab: command not found [root@localhost ~]# whatis fstab fstab (5) - static information about the filesystems fstab-sync (8) - Update the /etc/fstab file in response to HAL event
Last edited by thiyagusham; 11-21-2012 at 01:17 PM.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
OK, Redhat EL.
Commands :
As unprivileged user, you have access to the "2500" commands in /usr/bin/.
And 100 in /bin/.
As root, when you do 'su -' ( su <space> <hyphen> ),
you can use the commands in /sbin/ and /usr/sbin/ . ( About 640 commands.)
With 'su' only : No access, i.e. /sbin/ and /usr/sbin/ are not in your PATH.
When you press TAB twice in your prompt, bash tells you something like
"Display all 4567 possibilities? (y or n)"
Well, what are those 4567 choices exactly? Let's find out...
One way of looking at which are basic commands is that they are universally available. There are some commands that aren't universally available and a few that are different between different Linux distros (eg, networking commands).
Which commands are you actually missing (and not fstab, which isn't a command and isn't missing)?
Apart from what all other senior members have said if you looking for a package for a missing command then you can use
Code:
# yum whatprovides "command name"
this will show you the package name which provides what particular command (again the command may vary as per different distributions, this one is for RHEl and similar distros like CentOS and OEL)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.