General :: Fidsk -l Command Not Working Satisfactorily?
Jun 22, 2010
On running sudo fdisk -l command The output is as follow...
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10443 83883366 7 HPFS/NTFS
/dev/sda2 14335 19456 41142465 f W95 Ext'd (LBA)
[code]....
I want to change the filesystem of sda5 to ext3... I used the following command to do that....
Code:
sudo mkfs.ext3 /dev/sda5
After it completes I run the sudo fdisk -l command again.. but the ouput still remains the same.. That is it still shows that the filesystem of sda5 is NTFS...
View 2 Replies
ADVERTISEMENT
Aug 18, 2009
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
View 7 Replies
View Related
Jul 6, 2011
I am running this command in Ubuntu and windows but I get the full length instead of 10 mins. I want to split it in 10 minutes.ffmpeg -i 2000.flv -ss "00:00:00" -t "00:10:00" -vcodec copy -acodec libfaac 2010.flv
View 2 Replies
View Related
Jan 2, 2011
I'm running Ubuntu 10.04 and while trying to install the Wacom driver and kernel I get to the step after ./config and get this message when I use make.
make: *** No targets specified and no makefile found. Stop.
I've tried looking up on it and they all say that build-essentials should be installed first. So I looked into it and I found out that it's already installed along with the make command itself.
Anyway to get Ubuntu to recognize it as installed?
View 8 Replies
View Related
Jan 25, 2010
Ive set a password for root after rebooting tried to su in console and authentication error. however sudo works fine but if your like me using sudo all the time starts getting annoying and at times i find myself apt-getting alot of packages so su is best for me my other 9.10 works fine which i installed from a canoical cd i went through my normal routine of changing my default user permissions.
e.g(add default to everygroup, and set a root password) so after the first time it wouldn't work i remembered that on my other 9.10 i changed the groups that root was in so i did the same thing i did with my default user. well it still doesn't work but i read somewhere that its possible to change it in the console.
View 5 Replies
View Related
Jan 5, 2010
I have a website that I need to go to often and disable a monitor. To disable I need to login to the website-> click on monitor -> then uncheck a box.
I am told that I can do this through a scipt using the WGET command. I got the parameterized query and then tried to execute it through a *.sh script.
The script generates a php file in the location from where it is executed. When I go to the site and check the monitor is not disabled.
View 2 Replies
View Related
Dec 14, 2009
I would like to know the working of init command.please tell discribe the init script stored in vim /etc/rc.d/init.d/functions. what happen when init changes its run level.
View 2 Replies
View Related
Nov 23, 2010
I read and saw a video that says that typing in 'links' command followed by a website, will open a site in terminal.
However, when I type in the links command, terminal returns the error 'bash: links: command not found'.
What package or library needs to be installed to get this command to work.
View 2 Replies
View Related
Sep 9, 2011
I have questions about mail,
I am using following command on my linux account of my compnay
mail -s 'Hi' username@gmail.com
But I dont receive any emails, where as did not receive any error while executing the above command, so whats going on and what is happening.
what email id do mail use to send the email by default. Is there any way or command to print this by default user id.
View 2 Replies
View Related
Aug 26, 2010
The command export is working inside a shell script, but when I type it at the command prompt / terminal it doesn't work. "export: The command not found" error is displayed instead.
I tried this:
cat test.sh
Code:
abc=123
export abc
echo "Exit status of export abc: $?"
[code]....
I tried it before on my RHEL system and it was working. I have checked
Code:
echo $PATH
which is okay. What could be the problem?
View 7 Replies
View Related
Feb 5, 2011
I want to create a Live USB ..I have the ISO image in the hard disk
Where Sdb is my USB
The copy operation is okay...It says no of records in / out and gives the statistics
But when I boot the system , getting the error:
Boot :
In some cases , the USB itself is not recognized by BIOS at boot..
My BIOS supports boot from USB ..I have Boot order 1. CD/DVD 2. USB 3. HDD
Also what is the filesystem to be adopted for dd?
I usually format using FAT or FAT 32
1.mkfs.vfat /dev/sdb -I (or)
2.mkdosfs /dev/sdb (or)
3.mkdosfs -F 32 /dev/sdb
What is the correct way of partitioning USB drive? - FAT or FAT 32....Most Live USB creators (unetbootin/LiLi Live/Usb Creator) recognize only FAT32...
I dont want a Linux filesystem (ext2,ext3 or 4or reiserfs)for my USB as it is not portable across many systems as MS OSes do not read them..Also I had little success in booting a USB when I partitioned it using ext2..I read somewhere that ext2 will not reduce the life of the USB drive compared to other fs.
View 3 Replies
View Related
Jan 21, 2010
Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.
I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.
View 2 Replies
View Related
Mar 15, 2010
I am geting this problem since lat one year. please send me quikly the solution or the remedy of it.
Tape command:
Giving error like below archback is a shell script for the above same command for backup.
View 2 Replies
View Related
Mar 22, 2011
I created a user named Bob. Now i want to change its home directory to be Bob1. I did this
usermod -d /home/Bob1 Bob
but not effect !!!
The name was still Bob. What might be issue ?
View 8 Replies
View Related
Aug 20, 2010
I have the following command:ssh $USER@$HOST "ls /ops/pkg/ec/`grep "PKRTS" /ops/pkg/ec | awk '{print $1}'`* > /tmp/tmp_file"What the above SHOULD do..is, ssh to the host then execute the command.The command should first execute the grep and awk between the back ticks, and generate a file name, then ls using that filename* and write that data to a temp file.However, it executes the grep and awk before even SSH'ing and the command that goes to the server is simply an "ls /ops/pkg/ec/* > /tmp/tmp_file" since the grep and awk return nothing on the local machine.
View 1 Replies
View Related
May 28, 2010
Are there Unix/Linux commands to find out the IP address of running computers on LAN?
View 4 Replies
View Related
Sep 27, 2010
I have both windows7 and Linux 10.04 installed in my system. The problem occurred on a forced shut down.The message which is appearing on the screen isgrub rescueNo such partitionNo command other than ls and set are working. Set shows root to be in (hd0,6). ls is not listing (hd0,6)The ls is not able to read any of the partition it lists and shows error:unknown file system.
View 1 Replies
View Related
Mar 3, 2010
i have mandriva 2010 but i want to create ext3 file system. so i am using mke2fs command in terminal. but "command not found" such message is coming. how to solve this problem
View 2 Replies
View Related
Jan 29, 2010
I am just trying to print the timestamp. which is not working.
#!/bin/bash
TSTAMP= date '+%d.%m.%y-%H:%M:%S'
echo "${TSTAMP}"
It is not displaying anything. What is wrong with the above commands.
View 3 Replies
View Related
Apr 5, 2011
I use ubuntu 10.04 and here's the problem. I've installed pssh, but when I type pssh i got this message
Code:
# pssh
Traceback (most recent call last):
File "/usr/bin/pssh", line 29, in <module>
from psshlib.basethread import BaseThread
ImportError: No module named basethread
Also, if I type man pssh I got this message:
See 'man 7 undocumented' for help when manual pages are not available. I've reinstalled it, but nothing changed. I've found that basethread is located here:
/usr/lib/python2.5/site-packages/psshlib/basethread.py
/usr/lib/python2.5/site-packages/psshlib/basethread.pyc
View 4 Replies
View Related
May 29, 2011
Just trying to execute cd command in a .cshrc file (bash shell in SUSE Linux) it says."No such file or directory".Do you see any reasons for this
View 3 Replies
View Related
Jul 13, 2011
When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.
Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.
I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.
View 1 Replies
View Related
May 4, 2010
Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample
Code:
yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.
View 6 Replies
View Related
Oct 30, 2009
I have some files which are UTF8 and have first line as blank. It shows as data file by "file" command. If I remove the blank line, it shows it as UTF8 text file. I have to choose displayable text files from many files, so I used "file" command.
Note: I do not have permission to attach file. So not able to attach sample file here.
View 5 Replies
View Related
Dec 3, 2009
How can i install the ls command again?
View 6 Replies
View Related
May 28, 2010
iam trying to copy the nand image from my wm6 phone using the program"WM5torage"when i run this command:dd if=/dev/sdb of=winmobile.img bs=512 i get the: dd: opening `/dev/sdb': Permission deniedive tried sdb1 through sdb5 and get the same error.here is some more info:
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
View 4 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Jul 21, 2010
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.
View 1 Replies
View Related