Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using a Linux-based server and I have a q id (UNIX ID). I wanted to know how I could view all the directories and files I have on the server, including /tmp. I have code which creates a folder inside /tmp but I don't know where to look to see if it actually works. I am not very familiar with Linux so this might be a dumb question but I'd appreciate the help!

What I have tried:

I have tried it on Git Bash but I was not able to see the new folder I created inside of /tmp.
Posted
Updated 27-May-21 6:20am

1 solution

If you login to the system you can use the ls command to list files; in this case try:
ls -l /tmp

And if you need help with any command in bash you can get the man page by typing:
man command_name

But given your question I would suggest you get a book on Linux first.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900