Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		- 
				
				
roxas1829yYes. Cd is change directory in unix command line. You use it to navigate the file system. But here this alias makes anyone who uses the command change their location to a random directory instead. - 
				
				
maysi2549yThanks for the explanation. I know basic terminal commands but I don't know things like that.
Btw this is really sneaky 😄👍 
Related Rants

Oh yes I know how it feels.
When my neighbor forgets to lock his computer, I append this to his bashrc
alias cd='cd $(ls -d */ | sort -R | head -1) && echo'
undefined
prank
bash
alias
shell