-
December 6th, 2003, 10:31 PM
#11
Junior Member
Emacs is another good editing tool.
[glowpurple]www.openbsd.org - Unix for the practical paranoid[/glowpurple]
-
December 6th, 2003, 10:56 PM
#12
So...let's recap:
(Type) vi [filename]
(To edit file - press) i
(To stop editting) ESC
(To Save and quit) :wq!
(In the shell, give permissions) chmod 755 [filename]
(Assuming you had !/bin/bash, run) ./[filename]
(If not) bash [filename
Don't forget to compile it if you need to. ;-)
As MsM said
gcc filename.c -o filename
then
./filename
MB
-
December 7th, 2003, 05:40 AM
#13
MB> Its a shell script, no need to compile
parz> yeah, you got it
\"Ignorance is bliss....
but only for your enemy\"
-- souleman
-
December 8th, 2003, 07:08 AM
#14
Junior Member
Yes - I recommend everyone learns how to use emacs (or rather, becomes familiar with it - there are so many add-on libraries and such that mastering it can take a while). I prefer to use vi, mostly because I am logged in via ssh, and depending on my client, I have to reset my keys (for meta, ^[letter], etc). Besides that - if you know how to use vi, you seem to automatically receive a badge of honor - "Ohh...HE uses Vi....wow...." - of course, the effect varies - most experienced sysadmins know that vi is both powerful and fairly easy to use, given time.
There are 10 kinds of people in this world: those who understand binary, and those who don\'t.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|