Search Results

Search: Posts Made By: Fundix
2,520
Posted By stomp
Hmm, always these security-paranoid sysadmin...
Hmm, always these security-paranoid sysadmin people.

I think it should be not that difficult, to implement recursive list via
Filesys::SmbClient. Nice exercise for writing recursive code.
...
Forum: Red Hat 03-10-2015
5,257
Posted By fpmurphy
Assuming that you want ISO-8859-15 console fonts ...
Assuming that you want ISO-8859-15 console fonts

Confirm that /lib/kbd/unimaps/iso15.uni exists

If the file exist, add the following setting to /etc/sysconfig/i18n.

SYSFONTACM="iso15"
Forum: Red Hat 03-10-2015
5,257
Posted By RudiC
Did you consider the setfont command?
Did you consider the setfont command?
Forum: Red Hat 03-10-2015
5,257
Posted By cjcox
Linux is pretty flexible (unlike another OS I...
Linux is pretty flexible (unlike another OS I know).

In general same goes for most all Linux terminals.

My recommendation is that you do "man locale" and see if that is enough to get things...
Forum: Red Hat 12-06-2014
2,284
Posted By ongoto
You might test something like this in .kshrc: ...
You might test something like this in .kshrc:
PS1=$(printf "%s%s%s" '\[\033[1;31m\]' "$(whoami)@$(hostname): $(basename $PWD) # " '\[\033[0m\]')
Forum: Red Hat 12-03-2014
2,284
Posted By RavinderSingh13
Hello Fundix, Could you please try...
Hello Fundix,

Could you please try following and let me know if this helps.

PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] '



Thanks,
R. Singh
Forum: Red Hat 12-03-2014
2,284
Posted By RudiC
/u and /h do work in bash. I don't think they do...
/u and /h do work in bash. I don't think they do in ksh, which has different methods.
1,441
Posted By derekludwig
($key, $value) = m{^(.*?)=(.*)$};You may want to...
($key, $value) = m{^(.*?)=(.*)$};You may want to get rid of leading and trailing whitespace with:
($key, $value) = m{^\s*(.+?)\s*=\s*(.*)\s*$};
3,944
Posted By durden_tyler
$ $ cat inputfile.csv ...
$
$ cat inputfile.csv
VALUE,USER1,relatedUSER1,relatedUSER2
-1,userA,userB,userC
1,userN,userD,userB
0,userF,userH,userG
0,userT,userH,userB
1,userN,userB,userA
-1,userA,userF,userC...
8,694
Posted By balajesuri
Fancy name for .. is flipflop operator. Take a...
Fancy name for .. is flipflop operator. Take a look at the perldoc (http://perldoc.perl.org/perlop.html#Range-Operators).
8,694
Posted By balajesuri
if ( $record =~ /top/ .. $record =~ /tail/ )
if ( $record =~ /top/ .. $record =~ /tail/ )
Forum: AIX 05-29-2013
11,993
Posted By Don Cragun
The command locale charmap is telling you (by...
The command locale charmap is telling you (by convention) that the character mapping defining the characters in your current locale is related to ISO standard 8859-1. It says absolutely nothing...
2,080
Posted By alister
Yes. Before the redirections performed by the...
Yes. Before the redirections performed by the exec statement, save (dup) the file descriptors so that you can restore them. An example:
exec 5>&1 6>&2 # save the original stdout and stderr...
1,091
Posted By Yoda
Please find the explanation given by Scrutinizer...
Please find the explanation given by Scrutinizer & Corona688 in this thread (https://www.unix.com/unix-dummies-questions-answers/211219-awk-concatenation-column-values.html)
1,091
Posted By Jotne
1 are always true. Give the same as {print $0}
1 are always true. Give the same as {print $0}
18,476
Posted By pamu
Please check.. $ cat file ...
Please check..

$ cat file
c1,c2,C3,c4,c5,c6
r1,r2,r3,r4,r5,r6
p1,p2,p3,p4,p5,p6
w1,w2,w3,w4,w5,w6
y1,y2,y3,y4,y5,y6
z1,z2,z3,z4,z5,z6
c1,c2,C3,c4,c5,c6
r1,r2,r3,r4,r5,r6
p1,p2,p3,p4,p5,p6...
3,041
Posted By pamu
Good Doubt.. :) See NR - Number of...
Good Doubt.. :)

See

NR - Number of line read. It is total number of lines read.

FNR - Number of line for current file. Total number of lines read for a current file.

So after finishing...
3,041
Posted By pamu
awk 'BEGIN{FS=OFS="|"} # Set...
awk 'BEGIN{FS=OFS="|"} # Set FS=OFS="|"

NR==FNR{a[$2]=$1 FS $2;next} # Reading file1. Create array a and assigns value to a[$2]=$1 FS $2, means a[$2]=$1"|"$2, And next for...
35,002
Posted By bartus11
It is just attaching newline character to the end...
It is just attaching newline character to the end of the last field's length.
35,002
Posted By bartus11
Try: awk -F"|" '{for (i=1;i<NF;i++) printf...
Try: awk -F"|" '{for (i=1;i<NF;i++) printf length($i)"-";printf length($NF)"\n"}' file
Forum: AIX 11-21-2012
5,938
Posted By bakunin
As i like my editor windows the same way as i...
As i like my editor windows the same way as i like my steaks (that is: as rare as possible and not cooked at all) i once researched to make vim behave as close to vi as was possible. I'd still like...
Forum: AIX 11-15-2012
2,438
Posted By johnf
As the MKSYSB backs up just the ROOTVG it is...
As the MKSYSB backs up just the ROOTVG it is generally thought the filesystems will be the default JFS2. Can you be more specific which files are disappearing? Have you any other VGs defined such...
Forum: AIX 11-15-2012
2,438
Posted By bakunin
An mksysb file consists of 4 parts: a...
An mksysb file consists of 4 parts:


a boot block (empty if the output is to a file)
a minimal OS used to restore the system to bare metal
a TOC (empty)
the output of a regular savevg...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy