The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
122 views

`psql` expanded mode equivalency for `mysql`

Am frustated by things like: 0:33:1407402356:root@ahost:~# echo 'use wordpress_3_6_1; select * from wp_posts;' | mysql -u mysqluser -pmysqlpasswdord | wc -l -L 42 40585 SQL query results being ...
3
votes
3answers
1k views

How to watch for count of new lines in tail

I want to do something like this: watch tail -f | wc -l #=> 43 #=> 56 #=> 61 #=> 44 #=> ... It counts new lines of tail each second / Linux, CentOs To be more clear. I have got ...
3
votes
3answers
536 views

Why `wc -c` always count 1 more character?

in tmp I type a single character,but wc -c shows 2,why?
2
votes
3answers
925 views

How do I find the total number of lines in a set of found files (using Linux command-line tools)?

I can find the number of lines of each file matching a particular pattern using (for example): $ find . -name "test.save*" -exec wc -l {} \; 673000 ./test.save8.txt 24000 ./from/test1/test.save3.txt ...