hi ppl,
I have a basic doubt as to how shell treats strings.
e.g:given a line of data like this "5","6","45","77","89"
extracting the value from each field to a variable will conatin a string("5") or just the number?
If it conatins "5", how do we perform mathematical operations with that... (3 Replies)
Hello All,
I have 2 files
1 ) source file eg
asasa 1.2.3.4 adfhsdfsdfasdf
zxzxzx 2.3.4.56 dsadasdasdsadasd
kjjkjkjk 30.3.4.5 asdsadsadsadsadsad
vxcvxcvx 1.2.3.4 qwewqewqeqweqwe
2) patern file
1.2.3.4 A
2.3.4.56 B
30.3.4.5 C
I need the source to be changed to
asasa A... (2 Replies)
Hi together,
unfortunately I am not a shell script guru - the following might touch
the depths of awk, substr, split, regexps, where I am still fighting with - but as always the boss needs a fast solution :-(
So: I have the following USER/PASSWORD-installation-config-file, from where I want to... (10 Replies)
Hi,
I have a following file:
role.IMPACT_USER.user=admin
role.IMPACT_USER.user=dd12345
role.IMPACT_USER.user=ss76767
#role.IMPACT_USER.user=root
#role.IMPACT_USER.group=System
role.IMPACT_USER.group=ImpactUser
#Description: Allow users to login in to Impact, start and stop service... (5 Replies)
Hi,
I have a shell script, which reads a *.txt file - line by line. In this text file, I have some lines beginning with "#" that I want to ignore :
MY_FILE
#blah blah blah 1
blah blah blah 2
blah blah blah 3
#blah blah blah 4
I want my script to read only the following lines... (3 Replies)
Hello All,
I have a .CSV file where I expect all numeric data in all the columns other than column headers.
But sometimes I get the files (result of statistics computation by other persons) like below( sample data)
SNO,Data1,Data2,Data3
1,2,3,4
2,3,4,SOME STRING
3,4,Inf,5
4,5,4,4
I... (9 Replies)
Hi,
I wrote a simple script, which will call other scripts or run commands on a UNIX server. my script has multiple steps/commands with some delay in between.
I usually get some email notifications after the successful execution of each step.
**My intention is to get email alerts when it is... (5 Replies)
Hi,
I currently use a script to extract *.deb files located in a Directory called
"/var/mobile/Media/Downloads"
The Problem is howver I want the script to ignore the folder:
"/var/mobile/Media/Downloads/New Debs and Files"
(it shall NOT decompile any of the files in that folder.
Here is... (2 Replies)
I have a bi-lingual database of a large number of dictionaries. It so happens that in some a given string is in upper case and in others it is in lower case. An example will illustrate the issue.
toll Tax=पथ-कर
Toll tax=राहदारी कर
toll tax=टोल
I want to treat all three instances of toll tax... (3 Replies)
Discussion started by: gimley
3 Replies
LEARN ABOUT CENTOS
grub2-mkrescue
GRUB-MKRESCUE(3) Library Functions Manual GRUB-MKRESCUE(3)NAME
grub-mkrescue -- Generate a GRUB rescue image using GNU Xorriso.
SYNOPSIS
grub-mkrescue [-o | --output=FILE] [--modules=MODULES]
[--install-modules=MODULES] [--themes=THEMES]
[--fonts=FONTS] [--locales=LOCALES]
[--compress[=no,xz,gz,lzo]] [-d | --directory=DIR]
[--grub-mkimage=FILE] [--rom-directory=DIR]
[--xorriso=FILE] [--grub-glue-efi=FILE]
[--grub-render-label=FILE] [--label-font=FILE]
[--label-color=COLOR] [--label-bgcolor=FILE]
[--product-name=STRING] [--product-version=STRING]
[--sparc-boot] [--arcs-boot]
DESCRIPTION
grub-mkrescue can be used to generate a rescue image with the GRUB bootloader.
OPTIONS --output=FILE
Write the generated file to FILE. The default is to write to standard output.
--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(1). The default is /usr/bin/grub-mkimage.
--rom-directory=DIR
Save ROM images in DIR.
--xorriso=FILE
Use FILE as xorriso.
--grub-glue-efi=FILE
Use FILE as grub-glue-efi(3).
--grub-render-label=FILE
Use FILE as grub-render-label(3).
--label-font=FILE
Use FILE as the font file for generated labels.
--label-color=COLOR
Use COLOR as the color for generated labels.
--label-bgcolor=COLOR
Use COLOR as the background color for generated labels.
--product-name=STRING
Use STRING as the product name in generated labels.
--product-version=STRING
Use STRING as the product version in generated labels.
--sparc-boot
Enable booting the SPARC platform. This disables HFS+, APM, ARCS, and "boot as disk image" on the i386-pc target platform.
--arcs-boot
Enable ARCS booting. This is typically for big-endian MIPS machines, and disables HFS+, APM, sparc64, and "boot as disk image" on
the i386-pc target platform.
-- All options after a -- will be passed directly to xorriso's command line when generating the image.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-MKRESCUE(3)