+ 7
How to change directory or list if I can't use command "dir", "ls", or "cd" ?
Image Screenshot of the environment: 1 https://ibb.co/gHkacz 2 https://ibb.co/iOmgHz
2 Réponses
0
Adi, it is interesting that it treated your '*' as a string. You should be able to do a 'echo ./*' instead to list the current directory, seeing that your 'echo ../*' worked.
0
You should be able to use the 'echo' command in a *nix shell in a pinch. You may also specify absolute or relative paths:
echo * - to give a listing of the current directory
echo /* - to give a listing of the root directory
echo ../* - to give a listing of the parent directory (one level up from where you are)