LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-27-2015, 02:44 PM   #1
avinashupawar30
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
bash: mount: command not found


Hello experts, this is Avinash. I am very new to Linux.
I've Red Hat Enterprise Linux 6 installed.
I'm trying to mount CD drive
# mount -t iso9660 /dev/scd0 /media/cdrom
I got following error
bash: mount: command not found

While searching for solution I came across some websites and I tried one of the solutions, which was as follows

install the cifs-utils

I tried it using
# yum install cifs-utils

it says
Loaded plugins: refresh-packagekit
Setting up install progress
Nothing to do

I'm root user. I don't understand, what's happening.. Did I miss anything while installing the OS?
What should I do .. Please help ..
thank you.
 
Old 09-27-2015, 04:03 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
$ rpm -ql cifs-utils : No 'mount' in cifs-utils.

Please use you search options : $ yum provides */mount

# yum install util-linux-ng
 
Old 09-27-2015, 06:42 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Mount is a very basic command included by default in every Linux distribution. This means that something is wrong with your install. Either somehow mount was removed, or you modified your PATH and removed the directory it lives in "/bin".

What is the output of "echo $PATH" and "which mount" as root, since that's what you were running as? Have you done anything recently regarding root's or your user's .bashrc or .bash_profile, or have you removed any packages recently?

Last edited by suicidaleggroll; 09-27-2015 at 06:43 PM.
 
Old 09-28-2015, 02:21 AM   #4
avinashupawar30
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Mount is a very basic command included by default in every Linux distribution. This means that something is wrong with your install. Either somehow mount was removed, or you modified your PATH and removed the directory it lives in "/bin".

What is the output of "echo $PATH" and "which mount" as root, since that's what you were running as? Have you done anything recently regarding root's or your user's .bashrc or .bash_profile, or have you removed any packages recently?
no, i haven't done anything to .bash_profile. i don't know where is that located either. may be there was something wrong with the installation.
so i reinstalled the os and it works fine. may be i did not choose proper packages..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash: Mount Command Not Found After Chrooting.. diskonek Linux From Scratch 4 03-04-2011 10:17 AM
Bash command not found Legolas327 Linux - Newbie 9 06-27-2007 07:44 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
mount: command not found Cirdan Linux From Scratch 4 12-20-2005 10:31 PM
-bash: cp: command not found johnlittlepeap Fedora 2 11-15-2004 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration