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!
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
Amy McKnight10,124 Points
I lost the hello.txt file how would I find it?
Was learning about the mv command in terminal and some how I have lost the txt file hello.txt. I think I had renamed it hi.txt but now I cant find that either.
have relaunched the console in hope that would reset the terminal but no luck
Any help would be appreciated trying to follow along but can't as my files are all messed up.
If you know you gave it a .txt extension you can try running this to search your home directory for files ending in .txt
find ~ -type f -name "*.txt"
Aaron HARPT19,845 Points
You could run the ls command, which will show all the files in your directory.