Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
curl http://beyondgrep.com/ack-2.02-single-file > ~/bin/ack && chmod 0755 !#:3
ack インストール ガイド!#:3のの意味は何ですか?
!#:3
bashまたはzshでは!、履歴コマンドを示します(シェバン行では#!なく、bashまたはzshなどとは何の関係もありません)。
!
#!
!#は、これまでに入力したコマンド ライン全体を意味し:3、3 番目の単語 (この場合は ) を選択し~/bin/ackます。
!#
:3
~/bin/ack
したがって、コマンドは次と同等です。
curl http://beyondgrep.com/ack-2.02-single-file > ~/bin/ack && chmod 0755 ~/bin/ack