Search Results

Search: Posts Made By: nkamalkishore
6,751
Posted By nkamalkishore
Concatenate a string to a variable
Hello All,

How to concatenate a string to a variable in a script

I'm having a file which is consisting of data and i need to extract the first line of the file and append it to a string.
...
2,612
Posted By nkamalkishore
Those two statements are just print a single...
Those two statements are just print a single variable
2,612
Posted By nkamalkishore
I'm displaying the output using the below echo...
I'm displaying the output using the below echo statement

echo " $line $TAB $TAB $line2 $TAB $TAB $(head -1 /tmp/alias_names.list) $TAB $TAB $TAB $(awk -F" " '{print $2}' /tmp/port.list) "
2,612
Posted By nkamalkishore
Output columns needs to be aligned
Hi All

I'm running a shell script and the output is something like:

Col1 Col2 Col3
aaaa aaaaaaa aaaaa
bbbbb bbbbb bbbbbb
ccc cccccc ccccccc

But...
Showing results 1 to 4 of 4

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