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...
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
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
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?
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.
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.
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
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.
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.
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.
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.
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
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:
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.
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.
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.
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
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,
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?
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.