jaywcjlove / jaywcjlove/linux-command

about cp command

Open
#85 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Markdown
Stars
36.9k
Forks
6.6k
PR merge metrics
No merged PRs in 30d

Description

By `alias` command, you will see the following info in some os(For example, `rhel7.4`).
By default, `cp` is `cp -i`.
Under this situation, you need use `\cp` to the origin command.(e.g. ,`\cp -f`)
```bash
alias cp='cp -i'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias mv='mv -i'
alias rm='rm -i'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.