I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
I want to add a default path /bin/mycommands along with others to be loaded as default path for all new accounts created on my system . With out the new accounts not having to change thie manually to /bin/mycommands.Do I change the /etc/profile ? is there any better way?
Please throw some... (2 Replies)
hi i have some perl scripts with shebang line as (#! /usr/bin/env perl ) instead of actual absolute path of perl ( i know why its that way ) everything works fine from command line , the problem is when i am trying to run those scripts from web ( local web tool ) it throws error as /usr/bin/env :... (6 Replies)
How to code shell script to know if the file in a dirctory is empty i.e., zero byte then not to execute any graph.Please help on this thanks in advance.
---------- Post updated at 08:18 AM ---------- Previous update was at 08:14 AM ----------
I know if clause wil help.my question is how to... (7 Replies)
The way this works from the command prompt is:
___________________________________________
cd /data/local/bin
chmod 0755 file.bin
./file.bin
_______________________________________________
How do I make this happen in a script. The file must be run in its directory but I can not get the... (2 Replies)
Good day. I currently have a request to have sftp access to a specific directory for a user(s). They can have access to that folder only, and nothing below it.
Now here is the gotcha that seems to be catching me. The folder they need access to is NOT owned by root, and most of the parent... (0 Replies)
Hello,
When i run a bash script on ubuntu i get this message..
#!/bin/bash cannot find file or directory...
Can anibody help me with this, because the file actually exists....
Is there any extra configuration to be made? (5 Replies)
Hi,
I am getting below error in Solaris 10 SPARC when trying to issue a search on /var/tmp partition
Below is the query
/bin/find /var/tmp/ -type f -atime +1
Below is the result
/bin/find: stat() error <File> : No such file or directory (28 Replies)
I keep getting this error and I am not sure why.
-bash: ./p4: /bin/ksh^M: bad interpreter: No such file or directory
First I run my makefile and this works fine:
goodmain: main.o
gcc -o goodmain main.o
main.o: main.c
gcc -c main.c
Then I want to limit my output so I... (11 Replies)
Hi,
I installed ruby using rvm with root user on Linux.
Now i m trying the below command as a non root user with sudo privileges.
sudo /usr/local/rvm/rubies/ruby-2.2.5/bin/gem install passenger
I get the below error:
I had even reset the path for both gem as well as ruby as you... (8 Replies)
Discussion started by: mohtashims
8 Replies
LEARN ABOUT CENTOS
grub2-install
GRUB-INSTALL(1) General Commands Manual GRUB-INSTALL(1)NAME
grub-install -- Install GRUB on a device.
SYNOPSIS
grub-install [--modules=MODULES] [--install-modules=MODULES]
[--themes=THEMES] [--fonts=FONTS] [--locales=LOCALES]
[--compress[=no,xz,gz,lzo]] [-d | --directory=DIR]
[--grub-mkimage=FILE] [--boot-directory=DIR]
[--target=TARGET] [--grub-setup=FILE]
[--grub-mkrelpath=FILE] [--grub-probe=FILE]
[--allow-floppy] [--recheck] [--force] [--force-file-id]
[--disk-module=MODULE] [--no-nvram] [--removable]
[--bootloader-id=ID] [--efi-directory=DIR] INSTALL_DEVICE
DESCRIPTION
grub-install installs GRUB onto a device. This includes copying GRUB images into the target directory (generally /boot/grub), and on some
platforms may also include installing GRUB onto a boot sector.
OPTIONS --modules=MODULES
Pre-load modules specified by MODULES.
--install-modules=MODULES
Install only MODULES and their dependencies. The default is to install all available modules.
--themes=THEMES
Install THEMES. The default is to install the starfield theme, if available.
--fonts=FONTS
Install FONTS. The default is to install the unicode font.
--locales=LOCALES
Install only locales listed in LOCALES. The default is to install all available locales.
--compress=no,xz,gz,lzo
Compress GRUB files using the specified compression algorithm.
--directory=DIR
Use images and modules in DIR.
--grub-mkimage=FILE
Use FILE as grub-mkimage. The default is /usr/bin/grub-mkimage.
--boot-directory=DIR
Use DIR as the boot directory. The default is /boot. GRUB will put its files in a subdirectory of this directory named grub.
--target=TARGET
Install GRUB for TARGET platform. The default is the platform grub-install is running on.
--grub-setup=FILE
Use FILE as grub-setup. The default is /usr/bin/grub-setup.
--grub-mkrelpath=FILE
Use FILE as grub-mkrelpath. The default is /usr/bin/grub-mkrelpath.
--grub-probe=FILE
Use FILE as grub-probe. The default is /usr/bin/grub-mkrelpath.
--allow-floppy
Make the device also bootable as a floppy. This option is the default for /dev/fdX devices. Some BIOSes will not boot images cre-
ated with this option.
--recheck
Delete any existing device map and create a new one if necessary.
--force
Install even if problems are detected.
--force-file-id
Use identifier file even if UUID is available.
--disk-module=MODULE
Use MODULE for disk access. This allows you to manually specify either biosdisk or native disk access. This option is only avail-
able on the BIOS target platform.
--no-nvram
Do not update the boot-device NVRAM variable. This option is only available on IEEE1275 target platforms.
--removable
Treat the target device as if it is removeable. This option is only available on the EFI target platform.
--bootloader-id=ID
Use ID as the bootloader ID. This opption is only available on the EFI target platform.
--efi-directory=DIR
Use DIR as the EFI System Partition root. This opption is only available on the EFI ta rget platform.
INSTALL_DEVICE
Install GRUB to the block device INSTALL_DEVICE.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-INSTALL(1)