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 trialShmuel Zilberman
1,409 Pointsls -l
my ls -l is hi.txt how do i switch it?
Shmuel Zilberman
1,409 Pointshow do i rename it is the question?
Dave StSomeWhere
19,870 PointsUse the mv
command - mv - move (rename) files
Type man mv for the manual in your terminal.
1 Answer
Adam N
70,280 PointsTo reanme:
mv hi.txt new-name.txt
Let me know if this helps here
Adam N
70,280 PointsAdam N
70,280 PointsThat 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