Symbol | Meaning | Description |
- | Regular | Files like word, text etc |
d | Directory | File to hold other file types |
b | Block | Accepts input in blocks [group of byte] e.g. Storage devices |
c | Character | Accepts input one character [byte] at a time e.g. Serial port |
p | Pipe | Allows sending info between apps |
s | Socket | Allows info to be exchanged over network |
l | Link | Additional pathname to reference |
Two types of Links
Hard link share the same inode
Soft link is more of a short cut to the original file
Executables types
1. Binary Files
2. Scripts #!/usr/bin/bash Interpreter
Determining file content
# file filename
Report use of specific file or file system
# fuser file|filesystem
Similar to fuser with more info
# lsof file|filesystem
No comments:
Post a Comment