본문 바로가기 메뉴 바로가기

티끌 IT

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

티끌 IT

검색하기 폼
  • 분류 전체보기 (42)
    • DataCenter (1)
    • Network (16)
      • LoadBalance (3)
      • HTTP (1)
      • VxLAN (1)
    • Automation(Network) (1)
    • Docker & k8s (1)
    • Python (1)
    • Linux (8)
      • Scripts (0)
      • Nginx (0)
      • Opensource (0)
      • Bash (5)
      • 성능향상, 튜닝 (0)
    • 형상관리 툴(git) (0)
    • DNS (1)
    • Mysql (1)
    • macOS(OSX) (2)
    • Windows (6)
    • Bug & Error (4)
    • License (0)
    • Column (0)
    • TIP(시스템, 경험, 관리) (0)
  • 방명록

alias (1)
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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • dns 동작
  • multiple ping
  • link aggregation
  • date 시간 변경
  • vni
  • iso8601
  • vlan
  • HTTP
  • dns 동작 방식
  • ping
  • Windows
  • http/0.9
  • ssh
  • http/1.0
  • bash
  • VXLAN
  • Switch
  • vtep
  • HTTP/1.1
  • date 미래
  • 802.1ax
  • ping multi
  • docker logs
  • 윈도우
  • data plane
  • tag
  • date 과거
  • head end replication
  • 802.3ad
  • date 시간 지정
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바