Hi inforeqd,
I'm not sure that this would solve your problem :
If the script is "myscript", you can make it automatic this way :
myscript << !
y
y
...
(the answer you want : yes or no)
!
Using msdos fdisk, the linux partition has an "unknown type" when you select 3 to delete partitions. It is the only one you should see and then delete.
--
Worthy
Not exactly.
hda : first hard drive on the first disk controller
hdb : second hard drive on the first disk controller
hdc : first hard drive on the second disk controller
hdd : second hard drive on the second disk controller
... and so on
If the first partition on your disk contains win os...
You need to know where your linux partition is. Is it the fist partition on your hard drive or the second.
In both cases, the deletion of your linux partition can be done with MSDOS fdisk.
But in the first case, i don't know whether it is possible to add these disk space back to C drive which...
Hey Smoldyr
I have used PM to do this kind of thing under Linux os but
in your case, i would advice you to use the fdisk tool.
Normally it is recommended to backup your data before doing such difficult operation. For sure you already know that.
So...
On the command line, type : fdisk...
Happy that it helped.
Keep on working on your problem. It seems that you did not exactly obtain the desired result.
If your file contains the following data
...
/root/bla/bla/text:danger
/root/bla/bla/text2:danger
...
the grep command will give you as output these two lines matched. What...
The simplest way (maybe not the best) to do what you want is to use a very powerful adm. tool, the "find" command
Try : find /root -name <pattern you wanna match> -ls > file
And if you want to look for a specific pattern inside the test.txt file,
find /root -name <pattern> -print |...
But can one use a shell variable instead of listing each file to transfer
list="/etc/passwd /etc/group /etc/hosts"
ftp -nv <<!
open xxx.xxx.xxx.xxx
...
mget $list
!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.