Hi Isobel,In the line:[neuros-iMac-2:/] neuro% /etc/rc.common
You forgot the 'more'. The 'Permission denied' message was printed because you were trying to run the file 'rc.common' as a program.In general, that tutorial should be fine to follow on OSX - you just might run into a few issues, such as this one, where files which do exist on Unix/Linux do not exist (or are named differently) on OSX.Cheers,PaulOn Thu, Jul 10, 2014 at 10:51 AM, Isobel French <[log in to unmask]> wrote:
Dear Paul,This is the response I got from the terminal:[neuros-iMac-2:/] neuro% /etc/rc.common/etc/rc.common: Permission denied.[neuros-iMac-2:/] neuro%What does this mean? Thanks a bunch. And do you know where I might be bale to get tutorial that will be based on the OS X system instead? Thank you so much!Best regards,
Isobel FrenchAcademic Coordinator and Research OfficerDivision of NeurosurgeryDepartment of SurgeryFaculty of MedicineUniversity of Malaya016-793760503-79493138On Thu, Jul 10, 2014 at 5:24 PM, paul mccarthy <[log in to unmask]> wrote:
Hi Isobel,It looks like the tutorial which you are following was written for a Linux system. Even though OSX is also a Unix based system, it does not have an identical file system structure to Linux and, in this case, there is no file called '/etc/rc' on OSX.You should be able to continue the tutorial by replacing '/etc/rc' with '/etc/rc.common' (or any other plain text file you happen to have around).Cheers,PaulOn Thu, Jul 10, 2014 at 10:14 AM, Isobel French <[log in to unmask]> wrote:
Dear all,Following the instructions on the Basic Unix Tutorial page given as prior reading before attending the course: http://fsl.fmrib.ox.ac.uk/fslcourse/unix_intro/files.htmlWhen I type in 'more /etc/rc' , this is the response I get:[neuros-iMac-2:/] neuro% more /etc/rc/etc/rc: No such file or directory[neuros-iMac-2:/] neuro% lsApplications Users dev net tmpLibrary Volumes etc opt usrNetwork bin home private varSystem cores mach_kernel sbin[neuros-iMac-2:/] neuro% head -15 /etc/rchead: /etc/rc: No such file or directory[neuros-iMac-2:/] neuro% head -15 /etc/rchead: /etc/rc: No such file or directory[neuros-iMac-2:/] neuro%I do not understand. 'etc' is a directory listed under the home user directory, but is not seen as a directory when i type in the command 'more /etc/rc'. Could somebody help me with this? Tqvm!!Best regards,Isobel FrenchAcademic Coordinator and Research OfficerDivision of NeurosurgeryDepartment of SurgeryFaculty of MedicineUniversity of Malaya016-793760503-79493138