New answers tagged linux
1
vote
Rust code to print shell prompt
Good practices
You use Result::expect() instead of Result::unwrap() with appropriate messages.
Be specific about your types
The ...
5
votes
Accepted
Function for listing processes holding a specified file open
Avoid having to build path names
You avoided building some path names by using fstatat(). But you still are building fd_dir. You ...
Top 50 recent answers are included
Related Tags
linux × 562bash × 194
c × 139
shell × 82
python × 69
c++ × 52
beginner × 52
file-system × 44
sh × 38
installer × 34
posix × 33
performance × 32
assembly × 30
networking × 26
unix × 26
python-3.x × 20
parsing × 17
console × 17
security × 16
socket × 16
strings × 13
server × 13
multithreading × 12
windows × 12
child-process × 12