Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 21911

Watching updates at the end of a file, with or without the tail utility

24
votes
grep has extra options to define how many lines before and after the result: -A (after) -B (before) -C (context [before + after]) So in your case you need -A: YOUR_COMMAND |grep -A NUMBER Y …
answered Feb 4 '13 by PersianGulf
77
votes
You can use tail command with -f : tail -f /var/log/syslog It's good solution for real time show. …
answered Aug 16 '12 by PersianGulf
0
votes
You can do it for disappear your files: time wc -l *.txt > tee | tail But a bit you add time for tee command to time . With tee command : root@debian:/home/mohsen/test# time wc -l *.txt … > tee | tail real 0m0.005s user 0m0.000s sys 0m0.000s Without tee command: root@debian:/home/mohsen/test# time wc -l *.txt | tail 8 f3.txt 7 fi.txt 5 mydata.txt 4 newfile.txt …
answered Oct 8 '14 by PersianGulf