Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Regular Expressions in Python Introduction to Regular Expressions Escape Hatches

James N
James N
17,864 Points

erm... just a little tip in case this happens to you...

this isn't really mandatory to the video but i want to mention this anyway. in the case that you press up on the workspaces console and it says vim.bashrc, DO NOT PRESS ENTER! what happens is it shows an endless loop of ~ characters. like this:

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

if you do press enter, you can easily escape by pressing CTRL + Z on windows. I assume that the mac shortcut is something like CMD + Z, but I don't know mac that well so be careful. just wondering, what does vim.bashrc do?

2 Answers

The terminal in Workspaces is of gnu/linux. CTRL+Z 'pauses' a running program/job in the terminal. It says 'Stopped', meaning temporarily stopped. Check out the Development Tools course to learn more. As far as 'vim .bashrc': vim starts the Vim editor, and .bashrc is a file for gnu/linux users' terminal (which uses the bash langauge') for customization (http://unix.stackexchange.com/questions/129143/what-is-the-purpose-of-bashrc-and-how-does-it-work). Interesting that came up when you pressed up. It did the same for me. You could also type ':q' then 'return' to exit this program. (There is a Vim course here as well) FUN STUFF

Alex Deas
Alex Deas
1,714 Points

Just a slight comment, the command should be Ctrl + C as Ctrl + Z only suspends a process whereas Ctrl + C will kill the process, which will reallocate the memory and means the servers don't slow down.

James N
James N
17,864 Points

hmm.... that's wierd. anyway, when i hit CTRL + Z, it says

[1]+  Stopped                 vim .bashrc   

wouldn't that mean it's stopped?

also, what does vim.bashrc do?