02-04-2019
I need it to pull the filename not <hostname>. Here is the output from your command and an example of one of the filename I'm pulling information from.
<hostname>.Linux.nfslist
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
<hostname>aix_admin_server:/tools/HourlyProcess nfs 25G 10G 16G 40% /tools/HourlyProcess
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Being new to this area .I have been assigned a task which i am unable to do . Can any one please help me .
Hi I have requirement where i have input file XYZ_111_999_YYYYMMDD_1.TXT and with header and series of Numbers and Footer.
I want to create a mutiple output files with each file having a... (2 Replies)
Discussion started by: bhargavkr
2 Replies
2. Shell Programming and Scripting
*****************************************
Right now i have this current system.
I have two files say xxx.txt and yyy.txt. xxx.txt is with list of patterns within double quotes. Eg.
"this is the line1"
"this is the line2"
The yyy.txt with lot of lines. eg:
"This is a test message which... (7 Replies)
Discussion started by: abinash
7 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am new to shell scripting and have a question. I would like to redirect the output of multple commands to single file, From what I read from the bash manpage and from some searching it seems it cannot be done within the shell except setting up a loop. Is it?
I am running all clearcase... (1 Reply)
Discussion started by: saku
1 Replies
4. Shell Programming and Scripting
Hi ,
I have a Data cleansing process which creates different log file for each step , when the process runs it creates following log files in below order:
p1_tranfrmr_log.txt
p1_tranfrmr_stats.txt
p2_globrtr_log.txt
p2_globrtr_stats.txt
p3_cusparse_log.txt
p3_cusparse_stats.txt
'
'... (8 Replies)
Discussion started by: sonu_pal
8 Replies
5. Shell Programming and Scripting
I am trying to combine 4 .dat files into one single Output file
Inputs are:- file123.dat, file256.dat, file378.dat & file490
Expected Output:-
FileName=file1
{text from file1}
EOF
{blank line}
FileName=file2
{text from file2}
EOF
{blank line}
FileName=file3
{text from file3}
EOF... (4 Replies)
Discussion started by: lancesunny
4 Replies
6. Shell Programming and Scripting
Hi,
I have 3 files with one column value as shown
File: a.txt
------------
Data_a1
Data_a2
File2: b.txt
------------
Data_b1
Data_b2
Data_b3
Data_b4
File3: c.txt
------------
Data_c1
Data_c2
Data_c3
Data_c4
Data_c5 (6 Replies)
Discussion started by: vfrg
6 Replies
7. Shell Programming and Scripting
Hi All,
I am new here but I have a scripting question that I can't seem to figure out with the "find" cmd.
What I am trying to do is to only have to run a single find cmd parsing the directories and output the different file types to induvidual files and I have been running into problems.... (3 Replies)
Discussion started by: swaters
3 Replies
8. Shell Programming and Scripting
Hi Friends ,
Please guide me with the code to extract multiple files from one file .
The File Looks like ( Suppose a file has 2 tables list ,column length may vary )
H..- > File Header....
H....- >Table 1 Header....
D....- > Table 1 Data....
T....- >Table 1 Trailer....
H..-> Table 2... (1 Reply)
Discussion started by: AspiringD
1 Replies
9. Shell Programming and Scripting
Hi Experts,
I have created multiple scripts and send the output to new file, getting this output to my mailbox on daily basis.
I would like to send the all outputs to a single file, need to merge all file outputs on a single file.
For example,
Created script for
df -h > df.doc
grep... (7 Replies)
Discussion started by: seenuvasan1985
7 Replies
10. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
LEARN ABOUT DEBIAN
initramfs.conf
INITRAMFS.CONF(5) initramfs.conf manual INITRAMFS.CONF(5)
NAME
initramfs.conf - configuration file for mkinitramfs
DESCRIPTION
The behaviour of mkinitramfs can be modified by its configuration file.
Each line in the file can be a configuration variable, a blank line, or a comment. The value of an variable is assigned by an statement of
the form: name=[value]
Configuration options can be broken out into configuration snippets and placed in individual files in the /etc/mkinitramfs/conf.d direc-
tory. Files in this directory are always read after the main configuration file, so you can override the settings in the main config file
without editing it directly.
GENERAL VARIABLES
MODULES
Specifies the modules for the initramfs image.
Modules listed in /etc/initramfs-tools/modules and /usr/share/initramfs-tools/modules.d/* are always included in the initramfs, and
are loaded early in the boot process.
list doesn't load any additional modules at boot time, other than those listed in the above files.
most adds most file system, all ata, sata, scsi and usb drivers.
dep tries to guess which modules are necessary for the running box and only adds those modules.
netboot adds the base and network modules, but skips block devices.
The default setting is most.
BUSYBOX
Include busybox utilities for the boot scripts. If set to 'n' mkinitramfs will build an initramfs without busybox. Beware that
many boot scripts need busybox utilities.
KEYMAP
If set to 'y', the console keymap will be loaded during the initramfs stage. The keymap will anyway be loaded by the initscripts
later, and the packages that might need input will normally set this variable automatically, so there should normally be no need to
set this.
COMPRESS
Specifies the compression method used for the initramfs image. mkinitramfs will default to gzip if the kernel lacks support (CON-
FIG_RD) or the corresponding userspace utility is not present.
UMASK Set the umask value of the generated initramfs file. Useful to not disclose eventual keys.
NFS VARIABLES
BOOT Allows one to use an nfs drive as the root of the drive. The default is to boot from local media (hard drive, USB stick). Set to
nfs for an NFS root share.
DEVICE
Specifies the network interface, like eth0.
ROOT Allows optional root bootarg hardcoding, when no root bootarg can be passed. A root bootarg overrides that special setting.
NFSROOT
Defaults to auto in order to pick up value from DHCP server. Otherwise you need to specify HOST:MOUNT.
FILES
/etc/initramfs-tools/initramfs.conf
AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, Jeff Bailey <jbailey@raspberryginger.com> and numerous others.
Loosely based on mkinitrd.conf by Herbert Xu.
SEE ALSO
initramfs-tools(8), mkinitramfs(8), update-initramfs(8).
Linux 2010/11/22 INITRAMFS.CONF(5)