Search Results

Search: Posts Made By: dinjo_jo
80,795
Posted By dinjo_jo
Thanks only tr -d '\t' works others dont.
Thanks only tr -d '\t' works others dont.
37,742
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,691
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,897
Posted By dinjo_jo
No & does move the job to next line
No & does move the job to next line
32,672
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,718
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 07:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy