Search Results

Search: Posts Made By: ksgnathan
1,782
Posted By zozoo
Hi u can try as below /var/backup # cat...
Hi u can try as below


/var/backup # cat test
hi
bye ...
Forum: AIX 10-15-2013
6,360
Posted By mnitinp
use following command rmvdev -vtd...
use following command


rmvdev -vtd xxx334.xxxxAs

edit by bakunin: please use CODE-tags to enclose code, commands and terminal output. It enhances the readability. Thank you.
1,494
Posted By Corona688
So, they should start at zero, then go up one by...
So, they should start at zero, then go up one by one?

lspv | awk '{ sub(/[^0-9]*/, "") } (NR-1) != $1 { print "ERR" ; exit 1 }'
1,305
Posted By krishmaths
ls /dev | awk 'match($0,/asm/) {print...
ls /dev | awk 'match($0,/asm/) {print substr($0,RSTART,RLENGTH)}'
2,809
Posted By RudiC
Easy with awk:awk '$1 ~ /Server/ {printf...
Easy with awk:awk '$1 ~ /Server/ {printf "\n"; printf "%s,", $1; SL=""; next}
{printf "%s%s", SL, $1; SL="/"}
END {printf "\n"}
' file...
2,133
Posted By Yoda
In bash version >= 3, you can use built-in...
In bash version >= 3, you can use built-in regular expression comparison operator =~
#!/bin/bash

while read ADAP
do
if [[ "$ADAP" =~ fcs.* ]]
then
printf "FC...
2,799
Posted By pravin27
awk '{s[$1" "$2]++} END {for(f in s) print...
awk '{s[$1" "$2]++} END {for(f in s) print f,s[f]}' lspath
Showing results 1 to 7 of 7

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