Search Results

Search: Posts Made By: Duo11
36,828
Posted By pkabali
`command`
Maybe I missed it but I didnt see a statement to actually run anything?

is this it?
echo ./sorter $NUM? >> outputfile
if yes then you have to do the following to actually run the sorter...
36,828
Posted By dinjo_jo
This works for me #!/bin/bash args=("$@") ...
This works for me

#!/bin/bash
args=("$@")
INDEX=0
touch sorterfile
if [ -z $args ]; then
echo "Error"
else
while [ $# -gt $INDEX ]; do
NUM=${args[$INDEX]}
echo $NUM
echo ./sorter $NUM >>...
5,482
Posted By homeboy
ps aux | sort -k1 - | awk '{print $1}' | uniq -c ...
ps aux | sort -k1 - | awk '{print $1}' | uniq -c
is this OK?
Showing results 1 to 3 of 3

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