bash: commonly used commands

2019-06-21  本文已影响0人  Andy512

copy a file from one directory to current directory:
cp path/to/file.txt .
. can be used to refer to the current directory.


make a directory and cd into it:
mkdir xx && cd xx
multi operations in one line can be combined with &&.

上一篇下一篇

猜你喜欢

热点阅读