Skip to content

Linux common classification of files

Classification of files :

rw-r–r– 1 oracle oinstall 4626849792 Sep  9 02:56 sibel090912.dmp

‘-‘   –> standard file

drwxrwxr-x 4 oracle oinstall  4096 Dec  7  2011 app

d‘  –> directory

crw——- 1 vcsa tty      7, 131 Nov  5 07:30 vcsa3

c‘  –> Character device

lrwxrwxrwx 1 root root         13 Nov  5 07:28 MAKEDEV -> /sbin/MAKEDEV

l‘  –> Symbloic link

brw-r—– 1 root disk     7,   0 Nov  5 07:28 loop0

b‘ –>  block stoarge device i.e. hard disk

 

One Comment Post a comment
  1. Stoyan's avatar
    Stoyan #

    Let’s add the “sticky” bit to those, since sometimes we need $TMP

    drwxrwxrwt 15 root root 4096 Nov 10 09:40 tmp
    ————t <= this t means that users on the system can freely do 'mkdir -p' for example 😉

    Have a great day!

    November 10, 2012

Leave a reply to Stoyan Cancel reply