Telegram Group & Telegram Channel
🔰دستورات مهم برای مدیران سیستم یا همون سیس ادمین های لینوکسی #سری دوم

🔰دستور stat
🔹در لینوکس برای نمایش اطلاعات مفصل در مورد یک فایل یا دایرکتوری استفاده می‌شود. این دستور اطلاعاتی مانند زمان ایجاد، زمان آخرین تغییر، زمان آخرین دسترسی، مجوزها، نوع فایل و سایر جزئیات را نمایش می‌دهد.

stat  /path/to/file_or_directory

stat  /home/user/example.txt



🔹خروجی دستور

File: /home/user/example.txt
Size: 1234 Blocks: 8 IO Block: 4096 regular file
Device: 803h/2051d Inode: 1234567 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ user) Gid: ( 1000/ user)
Access: 2023-10-01 12:34:56.000000000 +0000
Modify: 2023-09-25 15:45:30.000000000 +0000
Change: 2023-09-25 15:45:30.000000000 +0000
Birth: -


🔹توضیح خروجی:


File: نام فایل.
Size: اندازه فایل بر حسب بایت.
Blocks: تعداد بلاک های اختصاص داده شده به فایل.
IO Block: اندازه بلاک I/O.
regular file: نوع فایل (مثلاً فایل معمولی، دایرکتوری، پیوند مجازی و غیره).
Device: شماره دستگاه.
Inode: شماره inode فایل.
Links: تعداد لینک های سخت (hard links).
Access: مجوزهای دسترسی به فایل.
Uid/Gid: شناسه کاربری و گروهی که فایل را در اختیار دارند.
Access: زمان آخرین دسترسی به فایل.
Modify: زمان آخرین تغییر در محتوای فایل.
Change: زمان آخرین تغییر در سطح متادیتا (مثلاً مجوزها یا inode).
Birth: زمان ایجاد فایل (در برخی سیستم‌عامل‌ها پشتیبانی می‌شود).

📌نویسنده: حسین سیلانی
📌منبع :
آکادمی کندوی دانش

https://learninghive.ir



tg-me.com/linuxtnt/4045
Create:
Last Update:

🔰دستورات مهم برای مدیران سیستم یا همون سیس ادمین های لینوکسی #سری دوم

🔰دستور stat
🔹در لینوکس برای نمایش اطلاعات مفصل در مورد یک فایل یا دایرکتوری استفاده می‌شود. این دستور اطلاعاتی مانند زمان ایجاد، زمان آخرین تغییر، زمان آخرین دسترسی، مجوزها، نوع فایل و سایر جزئیات را نمایش می‌دهد.

stat  /path/to/file_or_directory

stat  /home/user/example.txt



🔹خروجی دستور

File: /home/user/example.txt
Size: 1234 Blocks: 8 IO Block: 4096 regular file
Device: 803h/2051d Inode: 1234567 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ user) Gid: ( 1000/ user)
Access: 2023-10-01 12:34:56.000000000 +0000
Modify: 2023-09-25 15:45:30.000000000 +0000
Change: 2023-09-25 15:45:30.000000000 +0000
Birth: -


🔹توضیح خروجی:


File: نام فایل.
Size: اندازه فایل بر حسب بایت.
Blocks: تعداد بلاک های اختصاص داده شده به فایل.
IO Block: اندازه بلاک I/O.
regular file: نوع فایل (مثلاً فایل معمولی، دایرکتوری، پیوند مجازی و غیره).
Device: شماره دستگاه.
Inode: شماره inode فایل.
Links: تعداد لینک های سخت (hard links).
Access: مجوزهای دسترسی به فایل.
Uid/Gid: شناسه کاربری و گروهی که فایل را در اختیار دارند.
Access: زمان آخرین دسترسی به فایل.
Modify: زمان آخرین تغییر در محتوای فایل.
Change: زمان آخرین تغییر در سطح متادیتا (مثلاً مجوزها یا inode).
Birth: زمان ایجاد فایل (در برخی سیستم‌عامل‌ها پشتیبانی می‌شود).

📌نویسنده: حسین سیلانی
📌منبع :
آکادمی کندوی دانش

https://learninghive.ir

BY linuxtnt(linux tips and tricks)


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/linuxtnt/4045

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

How Does Bitcoin Work?

Bitcoin is built on a distributed digital record called a blockchain. As the name implies, blockchain is a linked body of data, made up of units called blocks that contain information about each and every transaction, including date and time, total value, buyer and seller, and a unique identifying code for each exchange. Entries are strung together in chronological order, creating a digital chain of blocks. “Once a block is added to the blockchain, it becomes accessible to anyone who wishes to view it, acting as a public ledger of cryptocurrency transactions,” says Stacey Harris, consultant for Pelicoin, a network of cryptocurrency ATMs. Blockchain is decentralized, which means it’s not controlled by any one organization. “It’s like a Google Doc that anyone can work on,” says Buchi Okoro, CEO and co-founder of African cryptocurrency exchange Quidax. “Nobody owns it, but anyone who has a link can contribute to it. And as different people update it, your copy also gets updated.”

telegram from us


Telegram linuxtnt(linux tips and tricks)
FROM USA