hi,
the input file has n columns delimeted with "|" like on example below.
how to find max lenght for each column and use it later for printf formatting the input file?
awk '{ printf "%-[highlight #EF2929]max1[/highlight]s %-[highlight #EF2929]max2[/highlight]s %-[highlight...
hell
I have joined a linux to domain using sssd
realm join --user=administrator example.com
it configured all stuff in sssd.conf, nsswitch.conf and in pam modules there are sss configured in
I can see users accounts from AS but I can't login ssh or even su.
ssh fails on
Mar 29 14:15:35 host...
Hello,
I want a regex (with OR as below) also matching "md" lines in which 3rd column is not a string "active". Is it possible?
https://regex101.com/r/LxD8t2/2
hello.
I have network interfaces configuration file on debian - with a few stanzas like:
allow-hotplug eth2
iface eth2 inet static
address 192.168.198.24
netmask 255.255.255.0
broadcast 192.168.198.255
I'd like to extract from this file IP of address attribute of...
hello,
I'd like to get whole 1st line (header line, makred in blue) printf in each iteration in below for loop.
What I get now is:
# cat inputtest
===> hostA: transfer 16/09/2016,00:00:01 - 16/09/2016,23:59:59 5 42.64
===> hostB: transfer 16/09/2016,00:00:01 -...
I've a text file with many lines where are many messages beginning with XX and ending with bracket ")" (each one)
I'd like to split it so each message is saved to separate file (e.g. file names with increasing number)
so file1 will have:
XX sfjsklf
sfsfsfsf
(sdfsdfsf
sfsfsf
gfdfgdgdghdh)...
how long it would take someone want to hack password like this?
^3<JOG;=s#iT4&Fb;9/UH<|<}>Th|U6OBx?fcr~e$UgdWc8Jv9^?*^q]BOesCtM}|"7gA?%Q_?)h^E2k75S4!_&MdN9j9tdSs$ZJ
one of the mdraid (md0/md1) disks is lost - raid works as degraded fine but all LV commands hands now.
why? is there a way fix it withour reboot? lv commands hangs for a long and returns errors that can't read failed disk - why? the volume group is built of md devices.
Hello,
I have a dual VIOS each serving NPIV to client LPARs.
Can I create additional zonning to the physical FC adapters on VIOS (which are also used for NPIV traffic) to map SAN storage to VIO itself?
Or maybe someone knows if Debian linux for power can be boot/supports NPIV storage attached?
how could I guess on client lpar side what type of storage (real storage box/type) is mapped to it from vios? I have no access to vios.
should client lpar using such VSCSI disks have installed any host attachment kit so there are valid ODM entries and I can see proper disk type on lsdev? Now i...
is it possible with exim4 (on Debian) to get all outgoing mails redirected to one/same email address?
so process all outgoing emails and somehow replace their recipients to one external mail address?
is it a bug? for me it is insecure if the same fs can be mounted many times in such "hidden" mode
root@clnod1:~# mount /dev/drbd1 /mnt
root@clnod1:~# mount /dev/drbd1 /opt
root@clnod1:~# mount /dev/drbd1 /mnt2
root@clnod1:~# df|grep drbd
/dev/drbd1 2535100 115712 2277680...
hello,
was there any change from some openssh version that following does not work anymore?
here only simple example of the config:
Host host2
Hostname localhost
Host host1
Hostname host2
when I run ssh host1 it fails:
$ ssh host1
ssh: Could not resolve hostname host2: no...
hi,
I have many of dirs named like in example:
31DEC15
01JAN16
...
09JAN16
...
and want to delete those whose name is older than 10 days
I have no gnu sort on a system (no -M), is there any possibility to get reliable solution in such case?
hi,
I'd like to have colored the first occurrence of an email address xxxx@xxxx.xxx.xxx in each matched line
I tried with gnu grep like this:
grep --color -P "[[:space:]]+[[:alpha:]]+@[[:alnum:]]+.+[[:space:]]" input
but it shows all in color to the end of line.
I found another way with tput...
hello,
on the output of:
ps -uauser -e -o pid,ppid,args
I can extract lines like (it is example):
17531 11234 bcommand options .....
17803 17802 /bin/bash ascript .....
17871 17803 acommand options .....
11234 17755 /bin/bash bscript .....
etc...
and I want to search for pairs of...
hello
input from ps can be:
user 29976 29787 2 16:45 ? 00:00:00 rsync -H --timeout=60 --force -av --no-owner --no-group --log-file=/tmp/rsync.1448639132.log --include-from=/tmp/sycnzKVqT ....
but options can also be in another order, like:
user 29976 29787 2 16:45 ? 00:00:00...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.