Dear Dr Stephen, Tqvm! On Friday, July 11, 2014, Stephen Smith <[log in to unmask]> wrote: > Hi - because /tmp is just a link to the "real" directory /private/tmp (in > your case), you need the following to see the actual contents of the real > directory: > > ls -l /tmp/ > > Cheers. > > > > On 11 Jul 2014, at 09:22, Isobel French <[log in to unmask] > <javascript:_e(%7B%7D,'cvml',[log in to unmask]);>> wrote: > > Dear Paul, > > When I type ls -l /tmp | grep 'root', this is the response the I get: > > [neuros-iMac-2:/tmp] neuro% ls -l /tmp | grep 'root' > lrwxr-xr-x@ 1 root wheel 11 Mar 5 2013 /tmp -> private/tmp > [neuros-iMac-2:/tmp] neuro% > > What does this mean? Thanks! > > > *Best regards,* > > *Isobel French* > *Academic Coordinator and Research Officer* > *Division of Neurosurgery* > *Department of Surgery* > *Faculty of Medicine* > *University of Malaya* > *016-7937605* > *03-79493138* > > > On Fri, Jul 11, 2014 at 1:58 PM, Isobel French <[log in to unmask] > <javascript:_e(%7B%7D,'cvml',[log in to unmask]);>> wrote: > >> Dear Paul, >> >> I am now going through the section on pipelines and filters. when I type >> in 'ls -l /etc | more', this is the response that I get: >> >> neuros-iMac-2:~] neuro% ls -l /etc | more >> lrwxr-xr-x@ 1 root wheel 11 Mar 5 2013 /etc -> private/etc >> [neuros-iMac-2:~] neuro% >> >> Is it because of an incompatibility between OS X and Unix again? Tqvm! >> >> >> *Best regards,* >> >> *Isobel French* >> *Academic Coordinator and Research Officer* >> *Division of Neurosurgery* >> *Department of Surgery* >> *Faculty of Medicine* >> *University of Malaya* >> *016-7937605* >> *03-79493138* >> >> >> On Fri, Jul 11, 2014 at 1:09 PM, Isobel French <[log in to unmask] >> <javascript:_e(%7B%7D,'cvml',[log in to unmask]);>> wrote: >> >>> Dear Paul, >>> >>> Thank you so much for enlightening me. Any further questions I shall >>> post it here again. Thanks! >>> >>> >>> *Best regards,* >>> >>> *Isobel French* >>> *Academic Coordinator and Research Officer* >>> *Division of Neurosurgery* >>> *Department of Surgery* >>> *Faculty of Medicine* >>> *University of Malaya* >>> *016-7937605* >>> *03-79493138* >>> >>> >>> On Thu, Jul 10, 2014 at 6:00 PM, paul mccarthy <[log in to unmask] >>> <javascript:_e(%7B%7D,'cvml',[log in to unmask]);>> wrote: >>> >>>> 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, >>>> >>>> Paul >>>> >>>> >>>> On Thu, Jul 10, 2014 at 10:51 AM, Isobel French <[log in to unmask] >>>> <javascript:_e(%7B%7D,'cvml',[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 French* >>>>> *Academic Coordinator and Research Officer* >>>>> *Division of Neurosurgery* >>>>> *Department of Surgery* >>>>> *Faculty of Medicine* >>>>> *University of Malaya* >>>>> *016-7937605* >>>>> *03-79493138* >>>>> >>>>> >>>>> On Thu, Jul 10, 2014 at 5:24 PM, paul mccarthy < >>>>> [log in to unmask] >>>>> <javascript:_e(%7B%7D,'cvml',[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, >>>>>> >>>>>> Paul >>>>>> >>>>>> >>>>>> On Thu, Jul 10, 2014 at 10:14 AM, Isobel French <[log in to unmask] >>>>>> <javascript:_e(%7B%7D,'cvml',[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.html >>>>>>> >>>>>>> When 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% ls >>>>>>> Applications Users dev net tmp >>>>>>> Library Volumes etc opt usr >>>>>>> Network bin home private var >>>>>>> System cores mach_kernel sbin >>>>>>> [neuros-iMac-2:/] neuro% head -15 /etc/rc >>>>>>> head: /etc/rc: No such file or directory >>>>>>> [neuros-iMac-2:/] neuro% head -15 /etc/rc >>>>>>> head: /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 French* >>>>>>> *Academic Coordinator and Research Officer* >>>>>>> *Division of Neurosurgery* >>>>>>> *Department of Surgery* >>>>>>> *Faculty of Medicine* >>>>>>> *University of Malaya* >>>>>>> *016-7937605* >>>>>>> *03-79493138* >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > > > --------------------------------------------------------------------------- > Stephen M. Smith, Professor of Biomedical Engineering > Associate Director, Oxford University FMRIB Centre > > FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK > +44 (0) 1865 222726 (fax 222717) > [log in to unmask] > <javascript:_e(%7B%7D,'cvml',[log in to unmask]);> > http://www.fmrib.ox.ac.uk/~steve > --------------------------------------------------------------------------- > > Stop the cultural destruction of Tibet <http://smithinks.net> > > > > > -- *Best regards,* *Isobel French* *Academic Coordinator and Research Officer* *Division of Neurosurgery* *Department of Surgery* *Faculty of Medicine* *University of Malaya* *016-7937605* *03-79493138*