I wonder what happens if I run tar -cf idk.tar /dev/null

@twann the easiest way is probably too try it out 😁

Follow

@twann
$ tar -cf idk.tar /dev/null
tar: Removing leading '/' from member names
$ wc -c idk.tar
10240 idk.tar

when looking inside it with 7zip, it contains a folder "dev" which contains a file "null" of size 0 bytes and permissions "crw-rw-rw-"

I only knew about '-' and 'd' at the beginning of the file permissions. After seeing 'c' here I learned something new today.
linux.com/training-tutorials/f
@Johann150 @twann

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.