Page 1 of 1
Really, really depressing UNIX question.
Posted: 2003-06-28 01:01pm
by SirNitram
Yes, I'm this clueless. My UNIX work is restricted to: Checking PINE for mail, Attempting to administer a MUSH.
So, I, being the genius I am, take the MUSH down in an attempt to perform some code changes. Not only does my rusty knowledge of VI prevent me from managing this(AUGH), but now I can't get the game to restart. Since I severely doubt anyone here runs a TINYMush server, I'll ask the next best thing:
Is there a 'WTF IS THIS THING?!' command to identify something found by 'dir'? And how do you execute a program, once you've confirmed it's one?
Posted: 2003-06-28 02:49pm
by Drooling Iguana
If you use the "-l" parameter with the "ls" command, you can view the permissions set for each file. There are three sets of permissions: The first are the owner permissions, which define how the owner of a file can interact with it (by default this is the user who created it, although ownership can be transferred later on.) The second are the group permissions, which define how members of the group the the file is assigned to can interact with it. The third is the world permissions, which define how everyone else can interact with it. The three permission types are Read access, indicated by an "r," write access, indicated by a "w," and exectue access, indicated by an "x." If the file has execute access enabled for your user/group or has it enabled for the world, then it can be executed simply by typing its full path. Remember that, unlike DOS, most UNIX-like operating systems don't include the current directory in its current search path, so if you want to execute a file in the current directory you have to type "./filename" instead of just "filename".
Posted: 2003-06-28 07:56pm
by SirNitram
Thanks alot. I had been doing ./startmush(The application I was trying to fire), but since UNIX lacks that one string of code that differentiates between upper and lowercase, it was returning it as not-applicable.
But thanks, I didn't know most of those commands.
Re: Really, really depressing UNIX question.
Posted: 2003-06-29 02:30am
by Pu-239
SirNitram wrote:Yes, I'm this clueless. My UNIX work is restricted to: Checking PINE for mail, Attempting to administer a MUSH.
So, I, being the genius I am, take the MUSH down in an attempt to perform some code changes. Not only does my rusty knowledge of VI prevent me from managing this(AUGH), but now I can't get the game to restart. Since I severely doubt anyone here runs a TINYMush server, I'll ask the next best thing:
Is there a 'WTF IS THIS THING?!' command to identify something found by 'dir'? And how do you execute a program, once you've confirmed it's one?
Do yourself a favor and obtain nano, emacs, or pico(comes with PINE). (g)VI(M) sucks ass.
Posted: 2003-06-29 02:35am
by Crayz9000
Hell, even Joe is better than VI.
I've kind of learned to cope with VI, but since I never started off working on *nix terminals, I still don't really have the hang of the hjkl navigation, or the command syntax.
Posted: 2003-06-29 04:22pm
by phongn
nano is nice, though I don't know if they'll let him install it.
Posted: 2003-06-29 05:28pm
by Darth Wong
Real men use VI
Posted: 2003-06-29 07:53pm
by Beowulf
Darth Wong wrote:Real crazy men use VI
yup
Posted: 2003-06-29 08:46pm
by Xisiqomelir
Darth Wong wrote:Real men use VI
I concur.
Posted: 2003-06-29 10:39pm
by Pu-239
phongn wrote:nano is nice, though I don't know if they'll let him install it.
Well I think pico is distributed with pine, so he might have that.
Emacs takes too long to load up for quick editing of system files, though I used to use it to type english papers at the last minute on the shitty P120 I had that did not have a working X installation for OO (wordwrap is shitty on almost all of the console text editors, since they use linebreaks, except VI, which I could never figure out how to use backspace properly- IE start writing, save, then when reopening file cannot delete anything previously edited using backspace key. Delete key or :dd (?) I think worked, but that became annoying.).