Print

Print


Dear all,

When I type:

set -0 emacs
ksh: set: -0: unknown option
Usage: set [-sabefhkmnprtuvxBCGH] [-A name] [-o[option]] [arg ...]
$ tcsh
[neuros-iMac-2:~] neuro% set -0 emacs
set: Variable name must begin with a letter.
[neuros-iMac-2:~] neuro% 

Why is this? 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 Wed, Jul 23, 2014 at 1:31 PM, Isobel French <[log in to unmask]> wrote:
DEar all,

When i type in the command EDITOR=emacs;export EDITOR, this is the response i get:

neuros-iMac-2:~] neuro% EDITOR=emacs;export EDITOR
EDITOR=emacs: Command not found.
export: Command not found.

Why is this happening? 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 18, 2014 at 6:03 PM, 张凯yahoo <[log in to unmask]> wrote:
Dear Isobel,

.DS_Store is short for "Desktop Services Store" in Mac OS. If you want to delete them, just open "Terminal" (in the Applications/Utilities), and then type in
"sudo find / -name “.DS_Store” -depth -exec rm {} \;", next input your administrator password, finally all similar kinds of files effaced. Have fun!

Best,
Kai

____________________

Kai Zhang


PhD student
Cluster Languages of Emotion
Free University of Berlin
Thielallee 38, 14195 Berlin 
Mobile:+49(0)17644403051
E-mail:[log in to unmask]

____________________

Kai Zhang


PhD student
Cluster Languages of Emotion
Free University of Berlin
Thielallee 38, 14195 Berlin, Germany
Mobile:+49(0)17644403051
E-mail: [log in to unmask]


2014-07-18 11:03 GMT+02:00 Isobel French <[log in to unmask]>:

Dear all,

I was going onto the basic unix tutorial and was playing around with emcas. Before doing that I created a directory named 'Belle" so that i could play around with emacs. However when I tried removing the directory this i the response I had:

[neuros-iMac-2:~] neuro% cd Belle
[neuros-iMac-2:~/Belle] neuro% ls
[neuros-iMac-2:~/Belle] neuro% emacs
[neuros-iMac-2:~/Belle] neuro% cd ..
[neuros-iMac-2:~] neuro% rmdir Belle
[neuros-iMac-2:~] neuro% mkdir Belle
[neuros-iMac-2:~] neuro% cd Belle
[neuros-iMac-2:~/Belle] neuro% emacs Belle
[neuros-iMac-2:~/Belle] neuro% emacs Belle
[neuros-iMac-2:~/Belle] neuro% rmdir Belle
rmdir: Belle: No such file or directory
[neuros-iMac-2:~/Belle] neuro% cd ..
[neuros-iMac-2:~] neuro% rmdir Belle
rmdir: Belle: Directory not empty
[neuros-iMac-2:~] neuro% cd Belle
[neuros-iMac-2:~/Belle] neuro% ls
#Belle# #ITF#
[neuros-iMac-2:~/Belle] neuro% rmdir ITF
rmdir: ITF: No such file or directory
[neuros-iMac-2:~/Belle] neuro% cd ..
[neuros-iMac-2:~] neuro% rmdir Belle
rmdir: Belle: Directory not empty
[neuros-iMac-2:~] neuro% rmdir Belle
rmdir: Belle: Directory not empty
[neuros-iMac-2:~] neuro% rmdir Belle
rmdir: Belle: Directory not empty
[neuros-iMac-2:~] neuro% cd Belle
[neuros-iMac-2:~/Belle] neuro% ls
#Belle# #ITF#
[neuros-iMac-2:~/Belle] neuro% ls -la
total 8
-rw-r--r--   1 neuro  staff     0 Jul 18 16:37 #Belle#
-rw-r--r--   1 neuro  staff    28 Jul 18 16:43 #ITF#
drwxr-xr-x   4 neuro  staff   136 Jul 18 16:52 .
drwxrw-r--+ 56 neuro  staff  1904 Jul 18 16:02 ..
[neuros-iMac-2:~/Belle] neuro% rmdir #ITF#
rmdir: #ITF#: Not a directory
[neuros-iMac-2:~/Belle] neuro% 

There is a hidden file in it as well name '.DS_Store"

Can somebody let me know what I have done and how do I rectify it? Also, how will I be able to remove the directory 'Belle' completely? Thanks!!

Best regards,

Isobel French
Academic Coordinator and Research Officer
Division of Neurosurgery
Department of Surgery
Faculty of Medicine
University of Malaya
016-7937605