0
Terminal komandalar | Part 4
source link: https://dev.to/wahidd/terminal-komandalar-part-4-2iaf
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
alias
Bu komanda takroriy ishlatiladigan komandalar uchun yangi nickname(taxallus) beradi.
-
alias datedir='mkdir $(date "+%d-%m-%Y")'
- ushbu komanda bugungi sana nomi bilan papka yaratadigan uzuuuuun komandaga qisqa nom beradi. Endidatedir
deyish orqali bugungi sana nomi bilan papka yaratsa bo'ladi. -
alias
komandasi bitta terminal session uchun ishlaydi holos
date
Bu komanda hozirgi vaqtni chop etish uchun ishlatiladi.
-
date
deb yozsa, Mon Mar 14 17:55:28 +05 2022 formatda sanani chop etadi -
date '+%d-%m-%Y'
komandasi sanani chop etishda dd-mm-yyyy formatda chop etadi. 14-03-2022 -
date '+%d/%m/%Y'
komandasi 14/03/2022 ni chop etadi
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK