Top "Stat" questions

The stat(2) system call on POSIX systems.

How to retrieve the user name from the user ID

I am implementing the (ls) command on Unix while learning from a book. During the coding part of my implementation …

c unix system-calls file-descriptor stat
Convert size_t to string

I'm trying to write a TCP server which a client can use to browse the server's directories. In addition to …

c linux posix stat size-t
How to use the mv command in Python with subprocess

I have a lot of files in /home/somedir/subdir/ and I'm trying to move them all up to /home/…

python unix subprocess stat mv
Git log --stat summary of branch

I would like to show how many changes (insertions+deletions) I made on a feature branch. Is there a way …

git logging statistics branch stat
R : stat_smooth groups (x axis)

I have a Database, and want to show a figure using stat_smooth. I can show the avg_time vs …

r ggplot2 smooth stat
In Posix how is type dev_t getting used?

What I am after is the meaning of such type and what interface can use it. It is explained in …

c posix stat
C++ stat.h incomplete type and cannot be defined

I am having a very strange issue with stat.h At the top of my code, I have declarations: #include &…

c++ filesize stat incomplete-type
What are the advantages of using fstat() vs stat()?

If I have an open file with a known file descriptor, what are the advantages of using fstat(), versus stat()? …

c file system-calls stat fstat
What is lstat() alternative in windows?

In linux, when stat() is used with broken link files, it fails with -1. So I used lstat() which succeeded. …

c stat
Get file attributes (hidden, readonly, system, archive) in Python

Just started learning Python. How can i get a status of file's attributes in Python? I know that os.chmod(…

python attributes operating-system chmod stat