Really, really depressing UNIX question.
Moderator: Thanas
- SirNitram
- Rest in Peace, Black Mage
- Posts: 28367
- Joined: 2002-07-03 04:48pm
- Location: Somewhere between nowhere and everywhere
Really, really depressing UNIX question.
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?
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?
Manic Progressive: A liberal who violently swings from anger at politicos to despondency over them.
Out Of Context theatre: Ron Paul has repeatedly said he's not a racist. - Destructinator XIII on why Ron Paul isn't racist.
Shadowy Overlord - BMs/Black Mage Monkey - BOTM/Jetfire - Cybertron's Finest/General Miscreant/ASVS/Supermoderator Emeritus
Debator Classification: Trollhunter
Out Of Context theatre: Ron Paul has repeatedly said he's not a racist. - Destructinator XIII on why Ron Paul isn't racist.
Shadowy Overlord - BMs/Black Mage Monkey - BOTM/Jetfire - Cybertron's Finest/General Miscreant/ASVS/Supermoderator Emeritus
Debator Classification: Trollhunter
- Drooling Iguana
- Sith Marauder
- Posts: 4975
- Joined: 2003-05-13 01:07am
- Location: Sector ZZ9 Plural Z Alpha
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".
"Stop! No one can survive these deadly rays!"
"These deadly rays will be your death!"
- Thor and Akton, Starcrash
"Before man reaches the moon your mail will be delivered within hours from New York to California, to England, to India or to Australia by guided missiles.... We stand on the threshold of rocket mail."
- Arthur Summerfield, US Postmaster General 1953 - 1961
"These deadly rays will be your death!"
- Thor and Akton, Starcrash
"Before man reaches the moon your mail will be delivered within hours from New York to California, to England, to India or to Australia by guided missiles.... We stand on the threshold of rocket mail."
- Arthur Summerfield, US Postmaster General 1953 - 1961
- SirNitram
- Rest in Peace, Black Mage
- Posts: 28367
- Joined: 2002-07-03 04:48pm
- Location: Somewhere between nowhere and everywhere
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.
But thanks, I didn't know most of those commands.
Manic Progressive: A liberal who violently swings from anger at politicos to despondency over them.
Out Of Context theatre: Ron Paul has repeatedly said he's not a racist. - Destructinator XIII on why Ron Paul isn't racist.
Shadowy Overlord - BMs/Black Mage Monkey - BOTM/Jetfire - Cybertron's Finest/General Miscreant/ASVS/Supermoderator Emeritus
Debator Classification: Trollhunter
Out Of Context theatre: Ron Paul has repeatedly said he's not a racist. - Destructinator XIII on why Ron Paul isn't racist.
Shadowy Overlord - BMs/Black Mage Monkey - BOTM/Jetfire - Cybertron's Finest/General Miscreant/ASVS/Supermoderator Emeritus
Debator Classification: Trollhunter
Re: Really, really depressing UNIX question.
Do yourself a favor and obtain nano, emacs, or pico(comes with PINE). (g)VI(M) sucks ass.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?
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
- Crayz9000
- Sith Apprentice
- Posts: 7329
- Joined: 2002-07-03 06:39pm
- Location: Improbably superpositioned
- Contact:
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.
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.
A Tribute to Stupidity: The Robert Scott Anderson Archive (currently offline)
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
John Hansen - Slightly Insane Bounty Hunter - ASVS Vets' Assoc. Class of 2000
HAB Cryptanalyst | WG - Intergalactic Alliance and Spoof Author | BotM | Cybertron | SCEF
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
Real men use VI
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Xisiqomelir
- Jedi Council Member
- Posts: 1757
- Joined: 2003-01-16 09:27am
- Location: Valuetown
- Contact:
Well I think pico is distributed with pine, so he might have that.phongn wrote:nano is nice, though I don't know if they'll let him install it.
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.).
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor