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

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,868 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