logo

'cd' - change directory - Video Man Pages

time2 mo agoview2 views

The 'cd' shell command is used to "change directory." It is the way you navigate around the Linux file system.

  • Go to a specific directory: cd /path/to/directory

  • Use any of the following to go to the $HOME directory of current user: cd cd ~ cd $HOME

  • Go to the $HOME directory of a specific user: cd ~username

  • Go to the root directory: cd /

  • Go to the previous directory: cd -

  • Go to the parent directory (one level up): cd ..

  • Go up two directory levels: cd ../..

  • Add aliases to your shell config for going up 2 or more levels. alias ..='cd ..' alias ...='cd ../..' alias .3='cd ../../..' alias .4='cd ../../../..' alias .5='cd ../../../../..'

VIDMAN: https://gitlab.com/dwt1/vidman

WANT TO SUPPORT THE CHANNEL? πŸ’° Patreon: https://www.patreon.com/distrotube πŸ’³ Paypal: https://www.youtube.com/redirect?event=channel_banner&redir_token=QUFFLUhqazNocEhiaGFBT1l1MnRHbnlIcHFKbXJWVnpQd3xBQ3Jtc0tsLVZJc19YeFlwZ2JqbXVOa3g0Skw4TVhTV2otNm1tM3A1bUNnamh3S2V6OGQtLTBnSjBxYTlvUXMxeEVIS3o4US10NENHMUQ3STk2a01FOFBhUnZjZFctMEhFUTg1TVctQmFfVUdxZXJ4TDl0azlYNA&q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_donations%26business%3Dderek%2540distrotube%252ecom%26lc%3DUS%26item_name%3DDistroTube%26no_note%3D0%26currency_code%3DUSD%26bn%3DPP%252dDonationsBF%253abtn_donateCC_LG%252egif%253aNonHostedGuest πŸ›οΈ Amazon: https://amzn.to/2RotFFi πŸ‘• Teespring: https://teespring.com/stores/distrotube

DT ON THE WEB: πŸ•ΈοΈ Website: http://distro.tube πŸ“ GitLab: https://gitlab.com/dwt1
πŸ—¨οΈ Mastodon: https://fosstodon.org/@distrotube πŸ‘« Reddit: https://www.reddit.com/r/DistroTube/ πŸ“½οΈ Odysee: https://odysee.com/@DistroTube:2

FREE AND OPEN SOURCE SOFTWARE THAT I LIKE: 🌐 Brave Browser - https://brave.com/ πŸ“½οΈ Open Broadcaster Software: https://obsproject.com/ 🎬 Kdenlive: https://kdenlive.org 🎨 GIMP: https://www.gimp.org/ πŸ’» VirtualBox: https://www.virtualbox.org/ πŸ—’οΈ Doom Emacs: https://github.com/hlissner/doom-emacs

Your support is very much appreciated. Thanks, guys!

Loading comments...