Unix - help with ls command
2
0
Entering edit mode
6 weeks ago

I am running through the Unix Bootcamp section of Biostar handbook and it was working perfectly up until I got to the command section saying to input

ls -l
ls -R
ls -l -t -r
ls -lh


My computer was running all sorts of craxy codes for a few minutes, it asked me to allow Terminal access to a few applications. Now when I try to type in ls it does not pull up my files/directory, it only shows the word Shared highlighted in green followed by my home name. When I try to type mkdir it says permission denied. Clearly, I made a mistake in the above step when the computer coded a ton of stuff. Is there a way to fix this? Undo what I did?

ls command mkdir unix • 298 views
2
Entering edit mode
6 weeks ago
Ram 37k

Type cd ~. You're probably in a new location that you're not familiar with. The cd ~ will take you home.

0
Entering edit mode

ahh yes simple fix thank you!!