$(...) means execute the command ... and print the output
to the command line.
<(...) and =(...) create a temporary file of the output and
redirect the output of this to the command line.
To understand the difference try:
and
The first will fail as diff expects input from a file.
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)
Can someone tell me how to get the version of bash that I am running?
I'm running cygwin bash on Windows XP at home and cygwin bash on Vista at work.
Is this the version number for bash?
$ uname -a
CYGWIN_NT-6.0 US-SEA-L3BER9K 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
This is the... (2 Replies)
Hi,
could someone pls enlighten me on the difference between the "root" package and "usr" package?
Like in this example:
pkginfo -l SUNWGtku | grep -i desc
DESC: GTK - The GIMP Toolkit (Usr)
and
pkginfo -l SUNWGtkr | grep -i desc
DESC: GTK - The GIMP Toolkit (Root)... (6 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)
Please show me how to make substitution over the contents of a file in a perl script.
In a perl script, the core part of substitution operation is
s/FINDPATTERN/REPLACEPATTERN/g;
However, I cannot figure out how to make the substitution occur over the contents of a file. The following... (3 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)
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)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT HPUX
getext
getext(1M)getext(1M)NAME
getext - get VxFS extent attributes
SYNOPSIS
file...
DESCRIPTION
displays extent attribute information associated with a set of files.
Options
recognizes the following options:
Do not print the filenames for which extent attributes are displayed.
Specify the VxFS file system type.
Do not print output for files that do not have fixed extent sizes
or reservations.
Echo the completed command line, but do not execute the command.
The command line is generated by incorporating the user-specified options. This option allows the user to verify the
command line.
Operands
recognizes the following operand:
file Name of file in a VxFS file system.
Notes
Only the and allocation flags (set through setext(1M) or the ioctl) are persistent attributes of the file and therefore visible via or the
ioctl. is also visible, although it is cleared and the reservation is reduced on the final close of the file.
EXAMPLES
The following example shows a file with a block size of 1024 bytes, 36 blocks reserved, a fixed extent size of 3 blocks, and all extents
aligned to 3 block boundaries:
The file size cannot be extended once the current reservation is exhausted. Reservations and fixed extent sizes are allocated in units of
the file system block size.
SEE ALSO setext(1M), vxfsio(7).
getext(1M)