10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I am creating a new disk using the following command:
dd if=/dev/zero of=/export/home/ramdisk/0 bs=512 count=4096k
after creating the disk, i tool a ufsdump of a solaris 10 filesytem (disk size 512MB)
ufsdump -cvf /export/home/ufsdump/sol_orig /and then restored the dump files onto... (10 Replies)
Discussion started by: Zam_1234
10 Replies
2. Shell Programming and Scripting
Hi experts
cp bin root src /mnt
but not copy bin/bigfile
any help?
( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum)
Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies
3. Shell Programming and Scripting
I am trying to sort the following files from folder Bag to Apple, Cat Food, Dog Food. I can get all of the files I want into a new folder, but not sure of the best approch to get them to their final directory
My Files
==========
apple.1234.ext
apple.1235.ext
cat food 101.ext
Cat Food... (2 Replies)
Discussion started by: mtschroeder
2 Replies
4. Programming
Hello,
I've been spending a lot of hours trying to imitate cp copying a file to a directory.
cp
I just can't seem to write to a specified directory, it only creates a copy on the current directory.
any hints/tips will help! Thanks!
here's the code i've been trying to manipulate:
... (1 Reply)
Discussion started by: l flipboi l
1 Replies
5. Shell Programming and Scripting
Hi,
I am looking for an answer for following senario:
I have a text file (base.txt) which consist list of files to be searched like:
base.txt
abc.txt
def.txt
fgh.txt
Now i am going to search all the listed files in another directory after reading them one by one, once i found the... (10 Replies)
Discussion started by: apjneeraj
10 Replies
6. UNIX for Dummies Questions & Answers
Hello all,
I've been researching this problem for days, and have gotten no luck . =/
How do you copy a file to another directory without being in the same directory as the file? So, for example, say I wanted to copy the file 'my.txt' that is in the directory ' /export/hom0/user/asdf ' to the... (9 Replies)
Discussion started by: kvnqiu
9 Replies
7. Shell Programming and Scripting
Hi Everybody,
i want a samll help to write a script.
i had source location with :/user/bin (bin contains subdirectories with like names emails etc and had several files in each subdirectory)
and target location with :/usr/scripts (having same subdirectories names and had some files)... (1 Reply)
Discussion started by: Reddy482
1 Replies
8. Solaris
I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it?
Thanks In advance (4 Replies)
Discussion started by: shreethik
4 Replies
9. AIX
I want to serch for a string in all the files in the root directory. i want the search to be limited to only the files in the directory i.e the search to be done only in the files not in the sub directory.
the approaches tried are
1)grep "pattern string"
this command was serching the... (3 Replies)
Discussion started by: Subbu_Angeline
3 Replies
10. UNIX for Dummies Questions & Answers
HP UX 11i
Ok my server is about to run out of space, and i would like to know if there is something that i should be doing on a regular basis to maintain the machine like logs that i should clear or dmp file that i should delete...
Thanks in Advance (2 Replies)
Discussion started by: bbutler3295
2 Replies
GRUB-INSTALL(8) FSF GRUB-INSTALL(8)
NAME
grub-install - install GRUB on your drive
SYNOPSIS
grub-install [OPTION] install_device
DESCRIPTION
Install GRUB on your drive.
-h, --help
print this message and exit
-v, --version
print the version information and exit
--root-directory=DIR
install GRUB images under the directory DIR instead of the root directory
--grub-shell=FILE
use FILE as the grub shell
--no-floppy
do not probe any floppy drive
--force-lba
force GRUB to use LBA mode even for a buggy BIOS
--recheck
probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by --root-directory, and uses the grub shell to install grub into the
boot sector.
The grub source distribution carries this script to ease the installation of grub as a boot loader. In Suse Linux however, grub installa-
tion is much better handled by Yast; use of this script is generally discouraged and therefore unsupported. Consequently, the script has
been renamed to grub-install.unsupported.
In order to (re-)install grub for the currently running system, simply use Yast. For an installation aiming at a differing system, the
crafting of an appropriate device.map and grub shell script is strongly advised, e.g. "grub --batch --device-map=target-device.map < tar-
get-grub.conf"
SEE ALSO
The full documentation for grub-install is maintained as a Texinfo manual. If the info and grub-install programs are properly installed at
your site, the command
info grub-install
should give you access to the complete manual.
grub-install (GNU GRUB 0.97) May 2005 GRUB-INSTALL(8)