Ubuntu :: Formating All Drives Through Command Line?

May 25, 2010

I dont know what to do, since noone responded me, I think I need to do this. My problems are in my previous post, all I am asking for a little advice on how can I remove all that is in my PC throught the command line(I can't get further)

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Use Command Line To Setup Shared Drives

Jul 14, 2010

setup a number of shared drives for accessing music, movies, photos and general files (documents, pdf files etc). now while a gui would be great, how to use the command line to setup these shared drives and also how to make the available in both windows and linux.

View 6 Replies View Related

Ubuntu :: Difference Between Using GPT Partition Table When Formating Hard Drives And MS-DOS Partition Table?

Aug 6, 2010

Is there a difference between using GPT partition table when formating hard drives and MS-DOS partition table? What are the advantages/disadvantages of using either?

View 2 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu :: 10.04~drive Not Formating?

Dec 28, 2010

i have sd drive that does not want to format. I tried gparted with errors saying the same thing...i want use this drive as free so i can put pictures in it and stuff

Code:
root@sal:~# sudo chown sal /media/fc30-3da9
chown: cannot access `/media/fc30-3da9': No such file or directory

[code]....

View 2 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

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

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Server :: Drives Change Device Ids While On-line?

Dec 4, 2010

I'm not sure what to make of this. I have setup an Ubuntu 10.10 server with two software raids.md0 is a four disk raid5 - 3TBmd1 is a two disk mirror - 300GBI think I have a drive failing (and am going to replace it regardless, but I have to take an outage), what appears to happen is it comes on-line with one id (/dev/sda) then something happens AFTER the rebuild completes and the drive changes to another id (in this case /dev/sdh) and puts the array in a failed state.Is this some sort of protection mechanism to prevent degradation to the array? When setting this up, presumably before the disk started to fail, Ids seemed to jump from reboot to reboot and caused me all kinds of issues.Also, neither device appears to return info after the change.

Code:
bwoods@MediaServer:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]

[code]....

View 2 Replies View Related

Ubuntu :: Noob Uninstalling & Formating \ Want The Whole Pc Clean?

Mar 30, 2010

i have 2 hard drives with originally Win XP on one of them, and i thought it would be cool to have one with WinXP and the other one with Linux.so i choose Ubuntu. i just wished someone would have told me how Pro you really have to be for Linux.and that its totally not what i was looking for,...and apparently im a total Noob.so i Installed it, wasnt that hard, and first i thought what a cool OS ill keep it!than i tried Booting my Old OS *WinXP* from the other Harddisk (worked perfectly until than)/so Basically Ubuntu ****** up my WinXP because now i get the NTLDR Missing Error trying to start WinXP, that never happend before with that Pc.

i tought great now i have to reinstall Xp, but it came much worse,...i boot from the XP cd, and cant use the "normal" install funktion, because some errors say that i cant use the Partitions etc (no idea) up to cd reading errors,...so i wanted to try the Windows Repair console and easy Format C and D to get rid of Linux and reinstall a clean WinXP/
which OFC needs a stupid Admin Password, which i honestly NEVER have choosen.(i have no idea what the admin PW could be).than i made the big mistake of all, and tried to learn to Format anything with Linux,...20 stupid "tutorials" Later i still couldnt make it because im not that good with English and Linux,.

and all that programming speech, fdisk etc really is to complicated for me,...(i spent 1 hour finding where to enter the any command, because all tutorials ofc know that you ofc need the Terminal application,....half of the "how Tos: and Tutorials simply dont work because he doesnt know the Commands im entering probably Wrong, and and the other half is way to complicated for me to understand and requires knowledge i simply dont haveholy mother of god, i can tell you i never missed Windows so much,... right click, format done,... (again im not that good with Pcs)trying to get a windows admin pw is even more complicated than simply formating,... i guess.so now after aproxx 5 hours of trying to Format a hard drive under Linux i give up and came to you.

what i would need is simply a totally Idiotproove Manual to format Everything!
i have NO Idea how Linux works,.. so please if you could tell me step by step, just what to type or what buttons to press in this stupid Terminal,....i want the whole Pc clean again, so i never have to Suffer under Linux Pro"ness" again seriously its been a long time since i was so angry with my computer, and youre my last hopeand yes im very aware that im posting a kinda antiLinux thread in a Linux forum,

View 3 Replies View Related

Programming :: Effect Of Using Eval To Execute A Command As Opposed To Writing It On The Command-line?

Jun 18, 2010

Code: cmd='date | wc'

$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?

View 4 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

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

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related

General :: Formating Through Lan Network

May 19, 2011

recently my pc crash down n i dont have cd rom cant find an option on my board for booting from usb

MB : 845
1gb ram
160 gb hd

n guys i this one wud for linux installation from laptop i have the cables both cross and parallel kindly teach me how to perform lan format//

View 6 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Programming :: Convert This Awk Command From Command Line Into An Awk Script ?

Oct 15, 2010

I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:

This is what i have after my BEGIN

Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'

View 1 Replies View Related

Ubuntu Servers :: Proper Raid1 Data Drive Formating

Feb 4, 2011

I have a ubuntu sever with a raid1 data drive formated in native linux ext3. I have searched for answers to my question but most likely I'm not asking it correctly. I want to use the data drive to store backups of files from various ubuntu and windows machines. Do I need to reformat the drive as ntfs to enable windows use or can it remain as ext3? For that matter can I reformat as ext4 as a soultion? Again, I wish to use the data drive as a backup storage.

View 3 Replies View Related

Debian Hardware :: Connector Difference Between 3.5 And 5.25 Drives On Drive Select Line?

May 17, 2010

I am trying to read a 5 1/4 in. floppy disk using an Intel D865 PERL motherboard, at 3 GHz. Bios was set to read this floppy. The system Lenny 2.6.31 i386 can't detect the 5.25 drive. Drive select seems not to be responding on the 5.25 drive. When connecting a 3 1/2 in. drive to the same motherboard connector (after changing the BIOS setting appropriately), r/w is ok under both linux and XP. I have tried three floppy 5.25 drives and different cables. All known to be ok on another box. I have tried XP and another linux, Etch. I have installed the latest available Bios upgrade from Intel. Upgraded from 0061 to 0089 bios versions. Is this a possible connector difference between 3.5 and 5.25 drives on the drive select line? The cable drive end connectors are different between the two drives.

View 5 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Software :: Command Line Cd Command Not Working Right

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

General :: Windows - Reformat A SD Card To VFAT After Formating It Ext3?

Feb 17, 2010

I have formatted a sd card ext3 for some test but I would like to to reformat to vfat. I have used linux to reformat using mkfs.vfat but still can't read it in windows. The next thing I was going to try was to dd from a good SD card but wanted to see

View 1 Replies View Related

Ubuntu :: Find Drives To Mount From Command Prompt?

Mar 18, 2010

So, I plugged in two hard drives to my server. I started with two, an IDE and an SATA. Then I plugged in another SATA and an external SATA using a PCI controller card.

I currently only have command prompt (Putty) access. How can I set the drives up to be usable. They were on another server that died.

View 9 Replies View Related

SUSE :: Command For Mounting Other Drives (XP And USB)

Jan 10, 2009

I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.

View 3 Replies View Related

OpenSUSE Install :: CD And Two Different Flash Drives (using The Dd Command

Dec 16, 2010

I downloaded the KDE openSUSE live-cd image and I burnt it on a CD and two different flash drives (using the dd command, as intended) and my computer freezes even before it boots the live cd/usb, at the bios laptop welcome screen (where you access the boot menu etc.)

I have an HP 6735b: ATI Radeon HD 3200, Broadcom wireless card. How could I fix this?

View 8 Replies View Related

Ubuntu :: How To Do Everything From Command Line

May 8, 2010

How can we do everything, or as much as we can do, from the command line? In particular, I am trying to get rid of the top panel in Ubuntu. Because,

1) It takes unnecessary valuable space.
2) Even if I use a huge monitor, it introduces distraction to me while working.

I created a shortcut so that with a single keyboard key I can open a terminal. For example, if I want to restart the computer, I use: "sudo shutdown -r now". Or I can even create a shorter alias. So I do not need the logout menu. But my problem is, some programs put an icon on the top panel when they are working. So, what is the best way of using command line, and getting rid of the top menu.

View 5 Replies View Related

Ubuntu :: 7-zip Still Command Line Only?

Sep 5, 2010

I was wondring if 7zip still only runs in the command line. I searched and got a bunch of old threads like this: [URL].. but I'm not sure if that has changed since 2007. A GUI would be awesome.

View 2 Replies View Related

Ubuntu :: How To FTP Using Command Line

Sep 17, 2010

I have a virtual private server that I SSH into. While I am using SSH, I need to be able to FTP from command line to another server. I want to do this in the easiest most sure way possible. (I am not using my real IP below for security.) I have tried the following commands.

sftp 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host
Couldn't read packet: Connection reset by peer
ssh 10.99.99.99
ssh: connect to host 10.99.99.99 port 22: No route to host

View 5 Replies View Related

Ubuntu :: No Command Line / Get That?

Dec 7, 2010

About two months ago I upgraded my dual boot Linux-x86-64 Vista from Heron to 10.04 Lucid. Initially everything worked fine including wireless etc. Once I accidentally changed a few /etc permissions which caused a problem, but fixed it going into recovery mode. For the past weeks, I only used the windows. Over the weekend I tried logging into Ubuntu, the gnome would not come up. So, I went into recovery mode and typed "sudo apt-get update && sudo apt-get upgrade" which also went through. However, after that I lost the recovery options. I had used that command very successfully in the past. Right now, I have no command line that would allow me to type something. I was wondering if there are any keys Alt+Del + something that would give me a prompt I can work with. I'm totally baffled as to how this can happen.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved