Search Results

Search: Posts Made By: ramman
783
Posted By ramman
help with awk
Hello all,
I am new to shell scripting.I am using bash shell.
When I execute

"awk 'NR==1{printf \"%s %s\\t\", \$2, \$3 ;exit}' /var/log/zenc"

it says /var/log/zenc no such file or...
1,240
Posted By ramman
hey guys i did try it out and it didn't work...
hey guys i did try it out and it didn't work that's why i posted,let me make my question more clear.

I execute the following code

for i in {1..12};do printf "%s %s\n" "${edate1[$i]}"...
1,240
Posted By ramman
Help in sorting multiple columns
Hello all,

I am using printf to print the sorted o/p in my script.I am trying to sort in following way but doesn't work.


printf "%13s %2s UDP %15s:%s Program %4s HD: %23s HD: %23s %10s %s %s...
2,130
Posted By ramman
Help with printf in shell scripting
Hi all I am using printf in my shell script to format my output.I am using the following code.

printf "|\tIP Address\t|\tModel Number\t|\tDOM/HW\t|\tSoftware Version\t|\n"

printf...
Showing results 1 to 4 of 4

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