Search Results

Search: Posts Made By: dinjo_jo
77,526
Posted By dinjo_jo
Thanks only tr -d '\t' works others dont.
Thanks only tr -d '\t' works others dont.
36,697
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 >>...
14,126
Posted By dinjo_jo
if you are on linux it support mult file tail ...
if you are on linux it support mult file tail

tail -f filename -f filename

Or use the below script.

#!/bin/sh

trap 'kill $(jobs -p)' EXIT

for file in "$@"
do

tail -f $file &
done...
30,249
Posted By dinjo_jo
No & does move the job to next line
No & does move the job to next line
32,247
Posted By dinjo_jo
Use this command this is the fastest , even...
Use this command this is the fastest , even faster than find.

ls -lR . | egrep -c '^-'

The reason for difference is output in find and ls is ignoring hidden files.
1,581
Posted By dinjo_jo
Very well explained , top notch
Very well explained , top notch
Showing results 1 to 6 of 6

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