Advanced usage of the linux cd command - behind the scenes look at cd - change directory tutorial
♥️ SUBSCRIBE for more videos: https://www.youtube.com/bluemonkey4n6...
Difficulty Level: intermediate
Prerequisites: basic understanding of linux command line and bash
The cd command is one of the first commands that most people learn in Linux. And we are going to explore some advanced usages of the cd command and go behind the scenes to see what the command is really doing with variables like $HOME, $OLDPWD, and $CDPATH.
Video timeline
00:00 intro
00:24 Change directory to the home folder (cd ~)
01:17 behind the scenes of “cd ~“: $HOME
03:43 Change directory to last used folder (cd -)
05:21 behind the scenes of “cd -“: $OLDPWD
05:39 Change directory to folder that is not in the current directory using $CDPATH
08:53 BONUS: advanced command line
If you enjoyed this, please share this knowledge with someone else. I am grateful for you
⭕️ For other videos about the Linux command line, see other videos in this series: • Linux Command Line tutorial
mounting and unmounting tutorial: • mounting and unmounting disks/partiti...
terminals, shells, and consoles: • terminal vs shell vs console - why th...
Must have tech travel gear 2024: • Must have travel tech 2024 - 10 items...
• Bose QuietComfort earbuds II (https://amzn.to/3tJ2wCJ)
• Apple AirPodsPros (https://amzn.to/3tBSK5s)
• Worldwide Travel adapter (https://amzn.to/42eXOaY)
• Enegon Portable powerbank/charger (https://amzn.to/42Rn47y)
• Multi-charger cable 4-ft 4 in 1 USB fast charger with LighteningPort/USB-C/microUSB (https://amzn.to/3RSsM5s)
• GLi-net Mango Travel router (https://amzn.to/3H8cfFK)
• TP-link AC750 Travel router (https://amzn.to/3oc9Aoh)
• Apple Airtags(https://amzn.to/3Tigyp5), Holder: https://amzn.to/3t1YSUh
• Flashlight - OLIGHT Arkfeld (https://amzn.to/3NQ9uN2)
• ThinkTank Cable Management 10 v2.0 (https://amzn.to/45BwN4v)
CAINE forensics distro: http://www.caine-live.net
ParrotOS: https://parrotsec.org
Icons made by freepik from @flaticon http://www.flaticon.com/authors/freepik
Icons made by Smashicons from http://www.flaticon.com/authors/smash...
Hiking Stock Videos by Vecteezy https://www.vecteezy.com/free-videos/...
Music (All That) by Bensound https://www.bensound.com
DISCLAIMER: Links in this video description might be affiliate links. If you purchase a product or service using one of these links, I may receive a small commission at no additional cost to you. Thank you for watching!
#DFIR #commandline #changedirectory
Watch video Advanced usage of the linux cd command - change directory tutorial online without registration, duration hours minute second in high quality. This video was added by user BlueMonkey 4n6 08 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 647 once and liked it 42 people.