문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
linux:directory_navigation [2014/08/08 09:28] kwon37xi |
linux:directory_navigation [2021/07/26 22:50] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Linux command line Directory Navigation ====== | ====== Linux command line Directory Navigation ====== | ||
+ | * [[linux: | ||
+ | * [[linux: | ||
- | ===== Autojump | + | ===== Mark/ |
- | * [[https://github.com/joelthelion/autojump|Autojump]]<code sh> | + | * [[http://jeroenjanssens.com/2013/08/ |
- | sudo apt-get install autojump | + | * '' |
- | </ | + | export MARKPATH=$HOME/ |
- | * '' | + | function jump { |
- | . /usr/share/autojump/autojump.sh | + | cd -P " |
+ | } | ||
+ | function jopen { | ||
+ | thunar | ||
+ | } | ||
+ | function mark { | ||
+ | mkdir -p " | ||
+ | } | ||
+ | function unmark { | ||
+ | rm -i " | ||
+ | } | ||
+ | function marks { | ||
+ | ls -l " | ||
+ | } | ||
+ | _completemarks() { | ||
+ | local curw=${COMP_WORDS[COMP_CWORD]} | ||
+ | local wordlist=$(find $MARKPATH -type l -printf " | ||
+ | COMPREPLY=($(compgen -W ' | ||
+ | return 0 | ||
+ | } | ||
+ | |||
+ | complete -F _completemarks jump unmark | ||
</ | </ | ||
+ | * usage< | ||
+ | cd ~/ | ||
+ | mark deep | ||
+ | # This adds a symbolic link named deep to the directory ~/.marks. | ||
+ | # To jump to this directory, type the following from any place in the filesystem: | ||
+ | jump deep | ||
+ | # To remove the bookmark (i.e., the symbolic link), type: | ||
+ | unmark deep | ||
+ | |||
+ | # You can view all marks by typing: | ||
+ | marks | ||
+ | </ | ||
+ | ===== 기타 ===== | ||
+ | * https:// | ||
+ | * https:// |