+ 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

1st Sep 2018, 4:00 AM
Adi Pratama
Adi Pratama - avatar
2 Respostas
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.
1st Sep 2018, 4:44 AM
Jojo
Jojo - avatar
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)
1st Sep 2018, 4:19 AM
Jojo
Jojo - avatar