Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Dear friends,
please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories..
it is like this,
current directory contains
file1, file2, file3, dir1, dir2
and dir1 conatins
file4, file5
and dir2 contains
file6,... (9 Replies)
hi I have the following input and i want to print all the rows from "BUY" Tag till "SELL" alongwith Buy/sell tag at end of each row
------
INPUT
=====
30/06/2009,NORMAL,ALL,ALL
BUY
1,CBLO/020709,T+0,30/06/2009,100.00,3.00,999835643.46,200906300000422,-, 15:04:42,BUY... (5 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 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)