Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Posts tagged file

This tag doesn't have any usage information yet.

This tag doesn't have a detailed wiki yet.

66%
+2 −0
Q&A How to count the lines of a file?

How to get the number of lines in a file? I.e. for a file like this: Line one Line 2 Final line I would like to do something like this: $ count-lines /path/to/the/file/above 3

2 answers  ·  posted 9d ago by Iizuki‭  ·  last activity 8d ago by Michael‭

Question shell file
71%
+3 −0
Q&A Can I make a compressed RAM drive and externally prepare a (pre-)compressed file to copy onto it?

I don't know what these things are called exactly in the Linux world. But there is the concept of a drive in RAM, to write files onto and read them like it was any disk drive. There is also the c...

1 answer  ·  posted 2y ago by CanisSomnolentus‭  ·  edited 1mo ago by matthewsnyder‭

Question file RAMdisk ramfs
60%
+1 −0
Q&A How do I find files?

How can I search for files on my system? Ideally, I would like to search by various criteria, like date, name, extension, etc.

1 answer  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 6mo ago by matthewsnyder‭

Question shell file
71%
+3 −0
Q&A Why does the file command fail to recognize non-text files as such?

POSIX defines Text file as A file that contains characters organized into zero or more lines. The lines do not contain NUL characters and none can exceed {LINE_MAX} bytes in length, inclu...

2 answers  ·  posted 2y ago by Quasímodo‭  ·  last activity 2y ago by LawrenceC‭

Question posix file