mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
652 B
652 B
cat
طباعة وسلسلة الملفات. لمزيد من التفاصيل: https://manned.org/cat.1posix.
- طباعة محتوي ملف إلى
stdout
:
cat {{path/to/file}}
- دمج عدة ملفات في ملف إخراج:
cat {{path/to/file1 path/to/file2 ...}} > {{path/to/output_file}}
- إلحاق عدة ملفات بملف إخراج:
cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}
- نسخ محتويات ملف إلى ملف إخراج دون استخدام الذاكرة المؤقتة:
cat -u {{/dev/tty12}} > {{/dev/tty13}}
- كتابة
stdin
إلى ملف:
cat - > {{path/to/file}}