NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Newsat11
Sep 23, 2015Luminary
Finding Readynas file structure
I am using SSH to move a file to a directory where I can edit it and then move out back. Everytime I us the ls. command in the root directory nothing is returned, therefore I can't see the potential d...
- Sep 23, 2015
try entering
cd //
after you log in.
StephenB
Sep 23, 2015Guru - Experienced User
try entering
cd //
after you log in.
Newsat11
Sep 23, 2015Luminary
Thanks again. One last question that my SSH training didn't cover. Do I want to move the file to an accessible share then move it back after it has been edited, or do I want to copy it then copy it back? If I use the copy function with the file automatically overwrite the previous version or is there something I need to be aware of?
- StephenBSep 23, 2015Guru - Experienced User
Start by making a local copy (same folder), just in case.
for instance
cp filename filename.orig
Then copy the file to the share, edit it, and then copy it back. Check the owner/group and permissions (ls -al) after you copy back. You can change the owner/group with chown and chgrp. chmod will let you change permissions. You can find linux man pages for all of those commands pretty easily.
With Windows, you need to be careful to use notepad++ and preserve linux text format conventions. That's not an issue on the Mac.
- Newsat11Sep 26, 2015Luminary
We're good, I am all done will all of this. Learning the Command Line turned out to be easy. I was dreading it but I am on do other things. I will starting new thread, so I will talk to you soon. I will always keep pushing...
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!