Search Results

Search: Posts Made By: elohssa
3,482
Posted By elohssa
After first seeing the code I also felt this...
After first seeing the code I also felt this could be it but this command doesn't seem to work in the shell as I get the following...

cat: –: No such file or directory
wc: –l: No such file or...
3,482
Posted By elohssa
^ Yea, as far as I understand it the first 2...
^ Yea, as far as I understand it the first 2 statements output all the text files that have "text1" in the filename. After that it just makes no sense :confused:
3,482
Posted By elohssa
What does this do (newbie question)...
I was looking through some code online and came accross this...

ls *.txt | grep text1 | cat file1 – file2 | `echo wc –l`

I know what "ls|grep text1" does and I know a word count gets echoed but...
Showing results 1 to 3 of 3

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