I need to find two matches in the output from ps. I am searching with ps -ef |grep mysql for:
my.cnf
/bin/sh /usr/bin/mysqld_safe --defaults-file=/data/mysql/master/agis_core/etc/my.cnf
after this match I want to search back and match the hostname which is x number of lines back, above the... (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,
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 don't know if there's a better name for what I call "file collision"... Basically, I have a script that I'm using for quick and dirty MySQL testing. Here's the idea...
#!/usr/local/bin/bash
for num in `jot $1` ## Yep, jot... this is FreeBSD
do
/usr/bin/time mysql --user=root... (2 Replies)
DH_INSTALLXFONTS(1) Debhelper DH_INSTALLXFONTS(1)NAME
dh_installxfonts - register X fonts
SYNOPSIS
dh_installxfonts [debhelperoptions]
DESCRIPTION
dh_installxfonts is a debhelper program that is responsible for registering X fonts, so their corresponding fonts.dir, fonts.alias, and
fonts.scale be rebuilt properly at install time.
Before calling this program, you should have installed any X fonts provided by your package into the appropriate location in the package
build directory, and if you have fonts.alias or fonts.scale files, you should install them into the correct location under etc/X11/fonts in
your package build directory.
Your package should depend on xfonts-utils so that the update-fonts-* commands are available. (This program adds that dependency to
${misc:Depends}.)
This program automatically generates the postinst and postrm commands needed to register X fonts. These commands are inserted into the
maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how this works.
NOTES
See update-fonts-alias(8), update-fonts-scale(8), and update-fonts-dir(8) for more information about X font installation.
See Debian policy, section 11.8.5. for details about doing fonts the Debian way.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLXFONTS(1)