alias로 명령어 약자 사용하기
1. vi ~/.bashrc 혹은 ~/.bash_profile로 들어가 alias 할 명령어 입력. 예시) # alias Python v3 !! alias py='python3' 2. source ~/.bash_profile로 적용. 3. 적용한 약자로 명령어 실행 확인. 예시) operator$ py Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> print("Hello Bash alias") Hello Bash al..
Linux/Bash
2019. 4. 20. 05:21
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- date 시간 지정
- vlan
- 802.1ax
- multiple ping
- ping multi
- ssh
- head end replication
- dns 동작
- tag
- date 시간 변경
- docker logs
- dns 동작 방식
- bash
- http/0.9
- ping
- Windows
- 윈도우
- vni
- Switch
- HTTP/1.1
- date 미래
- vtep
- http/1.0
- date 과거
- HTTP
- iso8601
- link aggregation
- VXLAN
- data plane
- 802.3ad
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함
