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)
Hi, I got several files with this format
1.1.1.1_fa0_1.html or 1.1.1.1_vl100.html
and I need just the fa0_1 or the vl100 string. I managed to extract from the vl100 with
baseline 1.1.1.1_vl100.html .html | awk -F"_" '{print $NF}'
but obviously that command gets only "1" in the fa0_1... (4 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)
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
How can I recursively find all files in a directory and print out the file and first line number of any text blocks that match the below cases?
This would seem to involve find, xargs, *grep, regex, etc.
In summary, I want to find so-called empty "try-catch blocks" that do not contain code... (0 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,
I have a question regarding extracting parts of a string and the meaning of # and % in the syntax. I created an example below.
# filename=/first/second/third/fourth
#
# echo $filename
/first/second/third/fourth
#
# echo "${filename##*/}"
fourth
#
# echo "${filename%/*}"... (3 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 FREEBSD
pseudofs
PSEUDOFS(9) BSD Kernel Developer's Manual PSEUDOFS(9)NAME
pseudofs -- pseudo file system construction kit
SYNOPSIS
#include <fs/pseudofs/pseudofs.h>
DESCRIPTION
The pseudofs module offers an abstract API for pseudo-file systems such as procfs(5) and linprocfs(5). It takes care of all the hairy bits
like interfacing with the VFS system, enforcing access control, keeping track of file numbers, and cloning files and directories that are
process-specific. The consumer module, i.e., the module that implements the actual guts of the file system, needs only provide the directory
structure (represented by a collection of structures declared and initialized by macros provided by pseudofs) and callbacks that report file
attributes or write the actual file contents into sbufs.
SEE ALSO linprocfs(5), linsysfs(5), procfs(5), sbuf(9), vnode(9)HISTORY
The pseudofs module appeared in FreeBSD 5.0.
AUTHORS
The pseudofs module and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD April 20, 2007 BSD