Search Results

Search: Posts Made By: kadawtomtom978
2,021
Posted By kadawtomtom978
Thank You both for the explanation.
Thank You both for the explanation.
2,021
Posted By kadawtomtom978
Lols, that was a simple fix. Thanks a bunch!:b: ...
Lols, that was a simple fix. Thanks a bunch!:b:

Also, like I mentioned earlier. I'm very new to this. How did your code fix my issue?
2,021
Posted By kadawtomtom978
for X in /data/test/input/*.dat do basename...
for X in /data/test/input/*.dat
do
basename $X
wc -l $X
done > dat_results.out

give me this result

test1.dat
7 /data/test/input/test1.dat
test2.dat
7 /data/test/input/test2.dat...
2,021
Posted By kadawtomtom978
No, this is not. It is voluntarily work related ...
No, this is not. It is voluntarily work related and a learning experience. I don't want to manually run the command for each file.
2,021
Posted By kadawtomtom978
Count Command Help
Hi Everyone,

I'm new to unix scripting. Hoping you guys can help me out. I am trying to create a script that will do a count command for each file (in this example *.dat) within a predefined...
Showing results 1 to 5 of 5

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