Search Results

Search: Posts Made By: ksgnathan
1,763
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,353
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,485
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,300
Posted By krishmaths
ls /dev | awk 'match($0,/asm/) {print...
ls /dev | awk 'match($0,/asm/) {print substr($0,RSTART,RLENGTH)}'
2,791
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,126
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,788
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 05:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy