Search Results

Search: Posts Made By: Ramanareddygv
7,127
Posted By RudiC
Or, may be a bit more...
Or, may be a bit more flexible:FN=/usr/local/data/sales/taxware/indata/stepprod
echo ${FN##*/} $( wc -l < $FN )
7,127
Posted By Yoda
No need to use cat: echo "stepprod $( wc -l <...
No need to use cat:
echo "stepprod $( wc -l < file )"
7,127
Posted By geeky404
This is an other way to do it: echo stepprod...
This is an other way to do it:
echo stepprod `cat your_file |wc -l`
7,127
Posted By Arun_Linux
cat /usr/local/data/sales/taxware/indata/stepprod...
cat /usr/local/data/sales/taxware/indata/stepprod |wc -l | xargs echo stepprod
16,273
Posted By RudiC
If you want the column names as headers, grep for...
If you want the column names as headers, grep for sth. that will certainly be in the header, like UID:ps -ef |grep -E "UID|cly"
If that does not satisfy your needs, Don Cragun posted possible...
16,273
Posted By Don Cragun
Your request is ambiguous. If you include the...
Your request is ambiguous. If you include the following line of code in your shell script and you pass the part of the ID you want to match as the 1st argument to that script, the following prints...
16,273
Posted By balajesuri
To fetch the first column: ps -ef | grep cly |...
To fetch the first column:
ps -ef | grep cly | awk '{print $1}'
Showing results 1 to 7 of 7

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