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
		
- 
				
				@simo002m What will happen with this command ?
 
 Actually I removed my Ubuntu yesterday so can't test it now ..
- 
				
				 simo002m5818y@Vaibhavkumar Well it appends the exit command to the .bashrc file(that loads every time you start bash), this means that when he starts bash or opens the terminal(if he has set bash as his default shell) it will imidiatly close simo002m5818y@Vaibhavkumar Well it appends the exit command to the .bashrc file(that loads every time you start bash), this means that when he starts bash or opens the terminal(if he has set bash as his default shell) it will imidiatly close




Run this command in your friend's terminal and watch the show...
echo "exit" >> ~/.bashrc
See how long it takes then to figure out what's going on.
joke/meme
terminal prank