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 &&
.
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 &&
.
本文标题:bash: commonly used commands
本文链接:https://www.haomeiwen.com/subject/flrpqctx.html
网友评论