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

ls -l

my ls -l is hi.txt how do i switch it?

That command lists the files in the folder you're in. If you rename the file, the command will display a different name for it.

Let me know if this helps here

how do i rename it is the question?

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

Use the mv command - mv - move (rename) files

Type man mv for the manual in your terminal.

1 Answer

To reanme:

mv hi.txt new-name.txt

Let me know if this helps here