LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-09-2004, 09:47 AM   #1
Username[SWE]
LQ Newbie
 
Registered: Apr 2004
Posts: 22

Rep: Reputation: 15
some bash commands dosen't work


I'm using Red hat valhall 7.3 and i found a page with linux bash commands but i cant use some
input: fdisk
output: Bash: fdisk: command not found


i.e Fdisk,unmount,cron and more
 
Old 04-09-2004, 09:51 AM   #2
nalg0rath
Member
 
Registered: Feb 2004
Location: Stockholm, Sweden.
Distribution: Gentoo Linux
Posts: 30

Rep: Reputation: 15
You have to be logged in as root-user to use the fdisk -command.
There is not any "unmount" -command, the name uf the caommand us "umount"
 
Old 04-09-2004, 05:57 PM   #3
Squall
Member
 
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

Rep: Reputation: 30
Also, please be aware for umount/mount you CANNOT be in the same directory. If you are in /mnt/floppy when you're trying to unmount your floppy, it won't work.
 
Old 04-09-2004, 10:20 PM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I didn't know about that one Squall. Not that I'm ever in that situation, but it's a useful thing to know.
 
Old 04-10-2004, 12:53 AM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
bear in mind that there's root access only commands that won't work even if you "su" to change to root as certain paths are not accessible (without the full path to the command) if you don't su and make that the login shell -> use the "su -" command to load /sbin/ and /usr/sbin in the path. using "su -" will let you just use "fdisk" to start up fdisk. the full path to fdisk is /sbin/fdisk in rh 7.3.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
Help! My mouse dosen't work! shimi Linux - Hardware 1 10-24-2004 02:36 PM
bash commands Obie Linux - Security 4 08-15-2004 02:42 PM
nvidia driver form nvida & frame buffer console dosen't work together linuxlah Linux - General 0 03-11-2004 08:38 PM
Webcam dosen't work after kernel update simjii Mandriva 0 01-27-2004 09:44 PM


All times are GMT -5. The time now is 06:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration