Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Joe Dayvie
Joe Dayvie
11,956 Points

Learning Console for Ruby on Rails

Hello,

Currently on the Rails Development Track and about to finish up the Console portion. I will be honest...I understood it well at first but by the end, I am completely lost and confused.

Would you say this is normal? Have others been quite confused/stressed out when first working in the console?

Tell me I am not crazy...please? =P

Joe

2 Answers

Sage Elliott
Sage Elliott
30,003 Points

Hello, Joe! You're not crazy! I found it frustrating at first too. But now I feel weird when I'm NOT working in the console! Just keep working away at it and you'll get used to it sooner than you think! :)

Joe Dayvie
Joe Dayvie
11,956 Points

Sage,

Thank you for the words of encouragement! Its nice to know I am not crazy nor alone =)

Joe

William Li
PLUS
William Li
Courses Plus Student 26,865 Points

Hi, Joe Dayvie , how have you been? I remember having a forum conversation with you about Xcode & Swift a while back, now let's talk a little about something near and dear to my heart -- the UNIX terminal.

I've been working with the console everyday for the almost 10 years, and to be honest, I don't remember everything taught in this course. For example, background job, foreground job are sth I always need to look them up, because I just don't use them very often.

The thing about the console is that, it's massive, it can be considered as a complete Operating System on its own. You aren't supposed to remember everything there's to know about the console, and I doubt anyone could. What you should do is to gain better understanding of the console by constantly using and exploring various aspects of it.

Here're some suggestions I can offer:

  • remember some of the most frequently used commands, such as ls, rm, cd, mkdir, touch, echo, history, grep ... etc. Having a good grasp of these few most useful commands goes a long way, since most of your time spend on console is to repeatedly typing them, one after another.
  • almost all console commands come with man page of help docs; either by typing man command_name or command_name --help, it'll show you a comprehensive list of things you can do with the commands, this info is invaluable.
  • have a cheatsheet handy so that you don't have to google everytime you forget about how to use 1 small command. I always have this book on my desk for reference The Linux Command Line: A Complete Introduction
Joe Dayvie
Joe Dayvie
11,956 Points

William,

Thank you for your detailed, in-depth help! I am glad to hear that I am not alone in this and that it's common to not remember it all quickly. You make some very good points, especially that it is massive so it will take time. The aspects you mentioned I (for the most part) remember and understand - Its everything afterwards that I get a little lost with (especially the first, manual "Installing Software" portion!). At this point, I am just trying to get by to pass the quiz so I can continue onto Git, etc.

I appreciate your words of encouragement too and will have to look into that book. At this point, I am still a little confused how to tie this into Ruby but I am sure it will make sense as I continue the track.

Thank you! =)

Edit: The apt-get method is much easier to understand than the initial manual method described.

Joe