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

Development Tools

After moving /renaming hello.txt to hi.txt, entering ls, then les hi.txt I got this message:

After moving /renaming hello.txt to hi.txt, entering ls, then less hi.txt I got this message:

Hi, welcome to the console! The computer you are interacting with is
under your control! Feel free to look around, edit files, and install
software. This is a safe place!

Hello!

This is just some more text to make this file really long.

There
is
just
one
word
per
line
here
so
this
file
can
be
very
very
long
so
that
you
can
see
how
some
programs
scroll
longer
files.

Now here is the last line of the file!
(END)

instead of

treehouse ~ $

What caused this and how can I change it?

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

(END) means you reached the end of the file in less. less is still running, waiting for further input to see if you want to scroll back up and review the file. You can exit by typing q, and that should go back to the normal console prompt.

Thanks for your response. My apologies I attempted to type [q] to get back to the normal console, it didn't work. When I typed [q] it didn't appear on the screen.