cd

Change the current working directory. More information: <https://manned.org/cd>.

Install

All systems
curl cmd.cat/cd.sh
Debian Debian
apt-get install execline
Ubuntu
apt-get install execline
Alpine
apk add bash
Arch Arch Linux
pacman -S bash
image/svg+xml Kali Linux
apt-get install execline
CentOS
yum install bash
Fedora
dnf install bash
Windows (WSL2)
sudo apt-get update sudo apt-get install execline
OS X
brew install bash
Raspbian
apt-get install bash
Docker
docker run cmd.cat/cd cd powered by Commando

Change the current working directory. More information: <https://manned.org/cd>.

  • Go to the specified directory:
    cd path/to/directory
  • Go up to the parent of the current directory:
    cd ..
  • Go to the home directory of the current user:
    cd
  • Go to the home directory of the specified user:
    cd ~username
  • Go to the previously chosen directory:
    cd -
  • Go to the root directory:
    cd /

© tl;dr; authors and contributors