- Ubuntu 20.04 Essentials
- Neil Smyth
- 115字
- 2021-06-11 17:39:43
9.11 Configuring Aliases
As you gain proficiency with the shell environment it is likely that you will find yourself frequently issuing commands with the same arguments. For example, you may often use the ls command with the l and t options:
$ ls –lt
To reduce the amount of typing involved in issuing a command, it is possible to create an alias that maps to the command and arguments. For example, to create an alias such that entering the letter l will cause the ls –lt command to be executed, the following statement would be used:
$ alias l="ls –lt"
Entering l at the command prompt will now execute the original statement.
推薦閱讀
- 平面設計初步
- Python Artificial Intelligence Projects for Beginners
- Linux Mint System Administrator’s Beginner's Guide
- 數控銑削(加工中心)編程與加工
- PIC單片機C語言非常入門與視頻演練
- 最簡數據挖掘
- 網絡綜合布線設計與施工技術
- 悟透AutoCAD 2009完全自學手冊
- 零起點學西門子S7-200 PLC
- ASP.NET 2.0 Web開發入門指南
- Effective Business Intelligence with QuickSight
- 自適應學習:人工智能時代的教育革命
- Mastering MongoDB 4.x
- 51單片機應用程序開發與實踐
- Getting Started with Tableau 2019.2