0
Does anyone knows how to list directorys and files on a server?
I know that by guessing the url like https://www.google.com/secretfile.zip or something like that we can but it is not an effective way. is there any other way you know??
1 Answer
+ 2
i presume it's a linux server:
ls -la -> in your terminal it lists every file and folder on a line with a timestamp, size, creation date and permissions on the left. this includes hidden files and folders which start with a dot ( . )
cd is used to change directory like this:
cd myDirectory
to see the path where you are in the folders tree use pwd
pwd -> prints the working (current) directory
here is a list with the commands and examples in linux using bash:
https://www.tecmint.com/linux-commands-cheat-sheet/