Home alias setting
Post
Cancel

alias setting

  • checking a bashrc file

    1
    
    vi ~/.bashrc
    

    result[EX]

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    
    # .bashrc
    # User specific aliases and functions
    alias rm='rm -i'
    alias cp='cp -i'
    alias mv='mv -i'
    # Source global definitions
    if [ -f /etc/bashrc ]; then
            . /etc/bashrc
            . ~/.bash_aliases
    fi
    
  • add bash_aliases
    1
    
    vi ~/.bash_aliases
    
  • add alias
    1
    2
    
    alias pet="ps -ef|grep tomcat"
    alias tst="./bin/catalina.sh start && tail -f logs/catalina.out"
    
  • reloading a resource file
    1
    
    source ~/.bashrc
    
This post is licensed under CC BY 4.0 by the author.

깃 간단 사용법

git log option

Comments powered by Disqus.

Trending Tags