LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-26-2014, 06:27 AM   #1
v.sivaprasad
LQ Newbie
 
Registered: Nov 2014
Posts: 1

Rep: Reputation: Disabled
Thumbs down bash command is not working


I Installed my linux in vmware. In linux fdisk and init commands not working why?
 
Old 11-26-2014, 06:45 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,702

Rep: Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270
Depends on what you did. If the system is running, init is working. If you used the entire virtual disk, fdisk can do nothing (all partitions in use), but should be able to list the partitions.
 
Old 11-26-2014, 06:58 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,438

Rep: Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770
I'm really sure those commands are working. Probably did not happen what you had expected. Please specify what did you try and what was the result..
 
Old 11-26-2014, 08:10 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,367
Blog Entries: 16

Rep: Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147
As root, try

Code:
fdisk -l    <---------List partitions
and let us know what happens.
 
Old 11-27-2014, 12:30 AM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,515

Rep: Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892
'not working' is a rather uninformed error message and as such most commands would not simply say this.

Try supplying actual error messages (if any) or describe in much more detail why YOU think it is not working?
 
  


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
beep command in bash not working Mario Blunk SUSE / openSUSE 3 10-08-2014 01:24 AM
[SOLVED] Not sure why this command isn't working under bash and cron cheddarcheese Linux - Newbie 4 05-12-2013 10:04 AM
cd command not working in .cshrc file(bash shell) in SUSE Linux jaili Linux User Groups (LUG) 2 05-30-2011 03:06 AM
bash command not working answerme Linux - Newbie 7 06-04-2009 07:55 AM
same find command not working in bash script, quotes? QuakerOatz Linux - Software 1 07-14-2003 12:04 PM

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

All times are GMT -5. The time now is 12:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration