Search Results

Search: Posts Made By: Bernard
10,890
Posted By Bernard
A little complement... If the variable you use...
A little complement...
If the variable you use in awk contains blanks (" ") you will need to add quotes like following:

for i in ` hostname ` ; do
df -k | awk -v i="$i" '{print $1, $2, i}' ...
Showing results 1 to 1 of 1

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