File types in LINUX in hindi

Linux mein alag-alag prakar ke files hote hain jo unke gun aur content ke adhar par pehchan sakte hain. Niche kuch common file types in Linux diye gaye hain:

  1. Regular Files (Regular Text Files ya Binary Files):
  • Ye standard files hoti hain jo user data ya program instructions contain karti hain.
  • Regular text files ko text editors se edit kiya ja sakta hai, jabki binary files non-textual data contain karti hain (jaise ki executables, images, audio files).
  1. Directories:
  • Directories khaas files hoti hain jo doosri files aur directories ko organize karti hain.
  • Inme filenames ki lists hoti hain aur links actual files ya subdirectories ko point karte hain.
  1. Symbolic Links (Symlinks):
  • Symlinks shortcuts ya references hote hain doosri files ya directories ki taraf.
  • Ye files ya directories ko indirectly access karne ka tareeka provide karte hain.
  1. Device Files:
  • Device files system mein hardware devices ko represent karte hain.
  • Inme do pramukh types hote hain: character devices (jaise ki terminals) aur block devices (jaise ki hard drives).
  1. Named Pipes (FIFOs):
  • Named pipes processes ke beech communication channels ka kaam karte hain.
  • Ye data ko processes ke beech first-in, first-out (FIFO) mechanism se transfer karne mein madad karte hain.
  1. Sockets:
  • Sockets network par inter-process communication (IPC) ke liye use hote hain.
  • Inka istemal network programming mein hota hai aur ye ya to UNIX domain sockets hote hain ya network sockets.
  1. Special Files (e.g., /dev/null, /dev/zero):
  • Special files devices ya system resources tak access provide karte hain.
  • For example, /dev/null ek special file hai jo usme likha gaya data discard kar deta hai, jabki /dev/zero null bytes generate karta hai.
  1. Executable Files:
  • Executable files programs ya scripts hote hain jo system dwara run kiye ja sakte hain.
  • Inme binary executables (compiled programs) aur shell scripts (executable instructions wale text files) shamil hote hain.
  1. Character Special Files:
  • Ye files character devices jaise ki serial ports ya terminals ko represent karte hain.
  • Inme data ko characters ki series ke roop mein handle kiya jata hai.
  1. Block Special Files:
    • Block special files block devices jaise ki hard drives aur partitions ko represent karte hain.
    • Inme data ko fixed-size blocks mein handle kiya jata hai.

Ye file types Linux ko unke functionality aur content ke adhar par files ko pehchanne aur manage karne mein madad karte hain. Aap in file types ke saath kaam karne aur files aur directories ko create, delete, copy, move, aur edit karne ke liye various Linux commands aur utilities ka istemal kar sakte hain.

Leave a Comment