coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some question regarding tail and option "-c"


From: Robert Milasan
Subject: Re: Some question regarding tail and option "-c"
Date: Wed, 3 Oct 2012 20:01:45 +0200

On Wed, 3 Oct 2012 11:18:59 -0600
"Bob Proulx" <address@hidden> wrote:

> What version of tail are you using?
> 
>   tail --version
> 
> I think the easiest way to see what is happening at run time is to use
> strace.  Install it if you don't have it.  Then run:
> 
>   cat /etc/passwd | strace -v -o tail.strace tail -c 10
> 
> That should produce about a 14K output file with all of the system
> calls logged.
> 

# tail --version
tail (GNU coreutils) 8.16

# cat /etc/passwd | strace -v -o tail.strace tail -c 10
tail: cannot open ‘10’ for reading: No such file or directory


-- 
Robert Milasan

L3 Support Engineer
SUSE Linux
email: address@hidden
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A



reply via email to

[Prev in Thread] Current Thread [Next in Thread]