Search Results

Search: Posts Made By: mehimadri
6,002
Posted By kalyankalyan
I think you need to add the user to /etc/sudoers ...
I think you need to add the user to /etc/sudoers

as below


# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
user ALL=(ALL) NOPASSWD: ALL
6,002
Posted By nchourasiya
please check if the keys entry are available at...
please check if the keys entry are available at both communicating servers
2,243
Posted By bartus11
# atq
# atq
7,832
Posted By kevintse

7,832
Posted By Chubler_XL
awk -F"|" 'BEGIN {...
awk -F"|" 'BEGIN { B["Asia"]=B["Casablanca"]=B["Brando"]=1; } $2 && ($4 in B) ' InputFile.csv > outfile

If you have many more than 3 criteria (our you may change them) you should consider...
7,832
Posted By Scrutinizer
nawk -F\| '$2&&$4~/^(Brando|Casablanca|Asia)$/'...
nawk -F\| '$2&&$4~/^(Brando|Casablanca|Asia)$/' InputFile.csv > outfile
1,597
Posted By agama
Easy solution in awk: #!/usr/bin/env ksh ...
Easy solution in awk:


#!/usr/bin/env ksh
awk '
NF > 1 {
for( i = 2; i <= NF; i++ )
printf( "%s %s\n", $1, $(i) );
}
' <input_file
...
1,597
Posted By rdcwayx
awk 'NR==1{print;next} {for (i=2;i<=NF;i++)print...
awk 'NR==1{print;next} {for (i=2;i<=NF;i++)print $1,$i}' infile
Showing results 1 to 8 of 8

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