View Full Version : cat /var/data/SDMB | grep -i geek
Belrix
08-20-2003, 02:29 PM
There's lots of us geeks here, you can smell it in the postings.
So, to those who understand the subject line, who's a professional geek here on the SDMB?
Obviously, you can count me. I've been doing Unix in various flavors for about 13 years now. I've been paid to run HP-UX, DEC/OSF, Linux, NeXT, Solaris, & AIX. Currently, I'm a large-box Solaris admin with a strong responsibility for all things related to our storage systems, Oracle, Veritas & backups.
And, yes, I know that "grep -i geek /var/data/SDMB" is ok, too.
CharlesW
08-20-2003, 02:56 PM
Pro geek here. I'm not a big *ix user so the topic took me a little, but I understood it.
6 years now, certified CNE on Netware 3.12, 4.x, 5.x. Also have held Cisco CCNA for almost 4 years. Trying to decide if I want to go for security exams(CISSP, GIAC, etc), or MCSE. Experiance is hard to come by in Vegas. Curently working help desk as a goverment contractor.
JohnM
08-20-2003, 03:16 PM
johnm:Botb2f2uCa8nc:3081:22:JohnM:/u04/johnm:/bin/ksh
B.A. in History, M.S. in CompSci, Oracle DBA (since V5), Unix & OpenVMS sysadmin, C and PL/SQL programmer, other duties as assigned.
rjung
08-20-2003, 03:30 PM
Bona fide certifiable geek here. Learned my first programming language at age 11, in one evening (TRS-80 BASIC). Wrangling code in C, C++, Java, JSP, Perl, PHP, FORTRAN, COBOL, and whatnot for about fifteen years now. And anglin' to feed the inner geek by learning more about JSP, SQL, and Cocoa programming.
Giraffe
08-20-2003, 04:08 PM
My only thought when reading the subject line was "why would you cat the file instead of grepping directly?" I use Linux/Unix exclusively at work, and program in Perl, Fortran and C++, along with the occasional tcsh script. I'm a physicist, though, and have never had a CS class, so my coding is probably, how you say, inelegant. But readable at least, which puts me way ahead of my colleagues.
Personal geek dogma:
* tcsh is good, ksh and bash are bad
* emacs is good, vi is bad
* Perl is very good, csh scripts are bad
* foreach is good, typing is bad
My bash and vi homies will take you down, Giraffe.
Reinhold Messner
08-20-2003, 06:41 PM
Originally posted by Giraffe
* emacs is good, vi is bad
Yessssssssss. </mrburns>
cajela
08-20-2003, 07:35 PM
Hello. I thought the same as Giraffe on the grep thing.
Mac OSX (aka FreeBSD with amazing desktop/windowing system) will take over the world of desktops. But the cluster runs debian.
Emacs rules over vi.
Python rules over perl.
Postgresql rules over MySQL.
(heh, usually I avoid religious wars but this looks like fun.)
ultrafilter
08-20-2003, 07:41 PM
Another geek here. I'm not a big unix user, although I can read the subject line. I know a handful of languages--c/c++ mainly. I'm in the middle of designing a language, although it'll never hit public use.
TheFunkySpaceCowboy
08-20-2003, 07:56 PM
bash-2.05a$ cat /etc/passwd |grep spacecowboy
spacecowboy:*:1000:1000:augustus:/home/augustus:/usr/local/bin/bash
:)
Currently I'm the IT manager at a oncology/diagnostic imaging clinic. My current projects are to network all of our scanners (ie MRI, CT, PET etc...) so we can do filmless scans, the other biggie is replacing as much of the unlicensed M$ crapware my predecessor installed in the server room and replace with it Linux solutions.
IT Dogma:
both vi and emacs suck. I prefer 'joe'
A GUI has no business being installed on a server.
Pine rules all MUA's
not quite religous preferences:
Mozilla rules all browsers.
Postfix rules all other MTA's
perl == best for complicated scripts on the local machine
bash == best for simple dirty, ugly written by a sysadmin scripts
PHP == best web scripting language.
I got my start as a pro-geek in college working the computer labs and doing user account maintenance on our OpenVMS system. Since then I've worked alot with Netware 4.x (I think or was it 3.x been a while) various flavors of windows (blech) and a lot of the free *nixes, mostly FreeBSD and Linux.
Giraffe
08-20-2003, 10:59 PM
Addendum: by emacs, I of course mean gnu emacs. Xemacs sucks the sweat off a dead man's balls.
Monstre
08-21-2003, 12:08 AM
Mostly do things in Solaris and Linux, as those are the things running on the servers on my accounts at the campus I teach at (in Computer Science).
vi == bleahh
C++ good... COBOL bad...
gnu gcc/g++ compiler good... MS Visual C++ wish they'd get the bugs out...
tcsh fine... like bash just fine, too...
Still use pine for e-mail on campus. No Outlook for me, thanks... Damn virus spreader.
PHP == best web scripting language.
Had to teach myself some of this when I taught a basic web course last summer. I'm inclined to agree on PHP -- what I've seen of it so far looks very useful, especially the built-in support for hooking to numerous databases.
Bill H.
08-21-2003, 12:09 AM
vi is a real man's editor. emacs is for pussies.
Did I really say that?
Oh, and bash kicks butt on tcsh too.
Oh, and I think [Gg]eek woulda been better.
Smeghead
08-21-2003, 12:15 AM
I used to be a sort of amateur geek pretending to be a professional - I got paid to do it, and I faked it well, so people thought I knew a lot more than I did.
sirtonyh
08-21-2003, 01:35 AM
Another geek here. I actually quit the computer industry about 3 years ago, but for 15 years I'd used all kinds of flavors of unix, oracle from version 6.0.36, Pascal, C, C++, Java etc. etc. etc.
<religous beliefs>
Professionals use vi, C++,unix and oracle
Semi-Pros use emacs, windows and SQL Server
Amatuers use a Mac
</religous beliefs>
vi rules. I'm writing my Ph.D thesis with it, not to mention all my code.
Though I admit I do most of my work in IDL which is a commercial (not free in either sense) programming language, so I suppose that lowers my geek status by a couple of notches. I'm working on growing my hair longer to make up for it.
Angua
08-21-2003, 06:41 AM
Vi, my friends, is evil. Emacs on the other hand, is fantastic. Its almost its own operating system - I can do an awful lot from within one session of Emacs. My coding mainly revolves around programming the shell (bash), and FORTRAN. I can write scripts in S-Lang as well, but I doubt if anyone's heard of that.
Sunspace
08-21-2003, 08:42 AM
Whoa. She's a babe, she can talk physics, and she can sling code as well... ::swoon::
do guys swoon?
:)
pestie
08-21-2003, 11:07 AM
Originally posted by Giraffe
Personal geek dogma:
* tcsh is good, ksh and bash are bad
* emacs is good, vi is bad
Wow, so very geeky, yet so very wrong. :D
Originally posted by cajela
Emacs rules over vi.
Python rules over perl.
Postgresql rules over MySQL.
OK, now you're just askin' for it...
For the record, I'm a professional geek. My official title is Chief Techincal Officer, but in an 8-person company that equates to "the guy who does damn near everything that needs doing with computers." Mostly I do database and web stuff in perl and PHP. I'm currently working on building a terabyte-sized database using MySQL (which reminds me, I need to swap DLT's... hang on... there we go.) I've been a programmer since I was 10 (Timex/Sinclair 1000 BASIC - w00t!) and have been into radio and electronics since I was 8.
Incidentally, I don't use either vi or emacs - I use "joe" - long live the Wordstar control-key commands! Props to you, TheFunkySpaceCowboy! Control-K-X!
Oh, and Angua (you again!) - it's been said that emacs is a great operating system in need of a decent editor. ;)
Shade
08-21-2003, 12:42 PM
cat /var/data/SDMB | grep -i geek searches for geeks.
That is, I could just tell from the title that you wanted to hear from everyone who understood regexps, though only on a second parsing and checking a man page did I figure out precicely what the command would actually do.
E-Sabbath
08-21-2003, 12:43 PM
ohgodineedavacation...
I'm sorry, I've got to go shoot someone with my nerf blaster now. I'd talk about my qualifications but I just got out of a meeting with a conslutant and I'm feeling amazingly hostile and yet stupified.
rjung
08-21-2003, 01:09 PM
Originally posted by sirtonyh
Amatuers use a Mac
In the interest of fighting ignorance, I must point you to this link. (http://macdevcenter.com/) :)
Ludovic
08-21-2003, 01:12 PM
I'm so geeky that working from standard in is ingrained in my psyche.
If I were at a terminal, I wouldnt think twice before catting to standard in, then working with that.
That is, if I were to try to remember the actual command line syntax for grep, i'd actually have to THINK about it :)
Angua
08-21-2003, 02:14 PM
Originally posted by pestie
Oh, and Angua (you again!) - it's been said that emacs is a great operating system in need of a decent editor. ;)
Sorry!
Well, you explain then why I can do everything from write FORTRAN, S-Lang, LaTeX, compile the damned things, write HTML web pages, play games, have a chat, sort out my bibliography.bib file in alphabetical order, etc etc, without having to load up 5 different programs. :)
Besides, vi has no style. I wrote a vi style editor in FORTRAN for crying out loud! ;)
Sunspace, swoon away. ;)
sycorob
08-21-2003, 03:26 PM
I was trying soo hard not to go in this thread. The pull was irresistable, however.
I agree that you should have used grep directly, but you knew that already.
I love vi, but I think that's true of anyone who actually learns to use it properly. Absurdly powerfull for such a little program. I haven't done stuff in *nix in awhile and damn I miss it. My work (Windows) desktop is having another worm scrubbed off of it - what's up with that?
I miss my shell scripting.
Belrix
08-21-2003, 04:02 PM
Originally posted by sycorob
I was trying soo hard not to go in this thread. The pull was irresistable, however.
I agree that you should have used grep directly, but you knew that already.
It was the pull of the pipe symbol I was counting on to attract the geeks in the crowd. Moths to a flame, Iron to a magnet, & geeks to the pipe.
Evil? Yes!
Since I'm revisiting, I was "raised" on AT&T logo System V Unix (I worked for a baby bell) on AT&T 3B series hardware.
ksh, vi, grep, sed, & awk.
All you need, baby.
TheFunkySpaceCowboy
08-21-2003, 04:53 PM
Originally posted by pestie
Incidentally, I don't use either vi or emacs - I use "joe" - long live the Wordstar control-key commands! Props to you, TheFunkySpaceCowboy! Control-K-X!
w00t! You're my new best friend pestie
I use Control-K-D Control-K-Z more often, in fact a goodly portion of my day has been spent thusly
$ joe squidGuard.conf
<make changes>
ctrl-k-d ctrl-k-z
$ /usr/local/squid/sbin/squid -k reconfigure
<tests proxy. swears>
$ fg
<edits some more>
ctrl-k-d ctrl-k-z
$ /usr/local/squid/sbin/squid -k reconfigure
<tests proxy, swears>
...
Shade
08-21-2003, 04:59 PM
Originally posted by Belrix
It was the pull of the pipe symbol I was counting on to attract the geeks in the crowd. Moths to a flame, Iron to a magnet, & geeks to the pipe.
Evil? Yes!Including a deliberate error with an obvious pun to make would seem the obvious way :)
pestie
08-23-2003, 12:54 PM
Originally posted by Angua
Sorry!
Oh, lord, don't apologize - I thought I made it clear in another thread that I can't get enough of you. ;)
Well, you explain then why I can do everything from write FORTRAN, S-Lang, LaTeX, compile the damned things, write HTML web pages, play games, have a chat, sort out my bibliography.bib file in alphabetical order, etc etc, without having to load up 5 different programs. :)
That was exactly my point - emacs is a great operating system! Heh...
Besides, vi has no style. I wrote a vi style editor in FORTRAN for crying out loud! ;)
I tend to agree, actually. If I were forced to choose between emacs and vi, I'd probably work with vi, but only because it adheres to the UNIX principle of keeping system tools small and powerful, and because it's available on nearly every UNIX-like system on earth. emacs is the very definition of bloat, and that's my primary complaint with it. But vi would constantly be pissing me off because the concept of a "modal" editor is so unnecessary with modern computers. There's no reason why I shouldn't be able to fire up my editor and just start typing.
OK, who here's secure enough in their geekhood to actually admit to using pico on occasion? Anyone? :D
pestie
08-23-2003, 12:58 PM
Originally posted by TheFunkySpaceCowboy
w00t! You're my new best friend pestie
I use Control-K-D Control-K-Z more often
We joe users are truly the Enlightened Ones!
Control-K-D, reload page in web browser, see that it's broken, edit some more, repeat. Heh... I use Control-K-Z a lot, too, especially when I'm too lazy to bother opening another terminal window.
Monstre
08-23-2003, 02:47 PM
from pestie
OK, who here's secure enough in their geekhood to actually admit to using pico on occasion? Anyone?
Okay, I'll admit it. ::sheepish:: ;)
As you said, when you want to just open an editor and start typing, rather than messing with all the other crap.
Also, I generally recommend that as a starting editor for my C++ students, who are mostly unix newbies, even many of the CS majors. (I teach both a C++ class for the majors, and one for the non-majors). I make them compile at least one or two assignments only in that environment, with the gnu compiler (g++), so they find out very fast that they'd better learn some unix basics, or else!
While they can, of course, write their code on any editor (even on Notepad (::shudder::)), I recommend pico for those wanting to do it solely from their SSH logon to the unix environment. For unix newbies, I don't want their heads to explode too fast.
Thaidog
08-23-2003, 05:35 PM
I just started a job with unix admin being one of the major systems (AIX and Solaris.. HP-UX, and a little Linux - which will probably end up being a lot of Linux) Also, there's the ever present Windows systems, NT4,5,6
I never used Vi... never had to, but it looks like it is the default install for all the unix systems as appossed to emacs... which means hitting the books for me... that and the fact I can't remember any ot these damn commands :) But it will sink in fast I'm sure :)
some of these systems scare me in that they have no ssh... just telnet... they have no software firewalls instlled (IPFW) and of course the default installs have a ton of open ports. Terminal services has no encryption.. and since of the linux boxes allow su to other admin and root accounts, that means extremely loose user prefs. Security is not my job at the place, but damn!!! Is this a joke?
friedo
08-23-2003, 06:13 PM
First, that should be
grep -i geek /var/data/SDMB
I do a lot of backend data processing apps, mostly on FreeBSD and Linux. Work with Perl, C, MySQL, BerkeleyDB, Apache, and a whole mess of other stuff. I use MacOS X at home and I love fink!
Emacs is da bomb. C++ and Java is the devil.
Ruby will blow your mind.
I have 34 O'Reilly books.
leenmi
08-23-2003, 10:03 PM
I am a travelling consultant, dealing primarily with Solaris and Sun high-end servers and clustering.
But that's not why I posted. I know it is better written as grep -i geek /var/data/SDMB, and that is how I try, to this day to structure the statement, but I keep falling back to cat <file> | grep <regex> because that is how I learned it (self-taught) and I can't break the habit.
No amount of geek pressure or snickering can break me of it.
I also cat <file> | more
shameful
friedo
08-23-2003, 10:38 PM
You need to clearn your pipes out. :)
Noone Special
08-24-2003, 06:34 AM
psst... I think SDMB is a directory ;)
You want "$ find /var/data/SDMB -type f -exec grep -i geek {} \;"
or better yet (since the above won't give you the file names anyway) - "$ grep -i geek `find /var/data/SDMB -type f`"
Oh, and regarding emacs/vi:
1. Real Programmers use "cat > a.out"
2. Wrong forum - should start out in GD, then move to the Pit...
3. I HATE emacs (there, got that off my chest...)
Trigonal Planar
08-24-2003, 03:18 PM
You guys have far more geekdom than I do, but I just wanted to chime in as another 'joe' fan.
Hey, what about DOS batch files? Huh, huh? Those are pretty geeky, right? :D
friedo
08-24-2003, 04:50 PM
Originally posted by Noone Special
Oh, and regarding emacs/vi:
1. Real Programmers use "cat > a.out"
a.out? a.out?!.
Where's your ELF binaries? a.out is so, like, three years ago.
And Emacs is da shiznit.
C-x C-c
Alereon
08-24-2003, 07:13 PM
To the extent that I'm a professional anything yet, I'm a professional geek. I'm mostly into hardware, though I've done some *NIX hacking. I build computers for spending money, and I'm currently volunteering as an IRC Operator for a non-profit, as well as providing volunteer online support for another non-profit. I hope to get a student tech support job when I start college next month, as well as do email-based support for Real Money.
AMD processors are vastly superior to their inefficient Intel counterparts.
DDR RAM is vastly superior to the evil Rambus DRAM, as RDRAM fell out of the slow-ass tree and hit EVERY branch on the way down.
If you SAY the word Geforce, I will KILL you. Don't even THINK it.
Even before The Unpleasantness, SCO UNIX made me feel dirty every time I booted it.
And TheFunkySpaceCowboy, I'll see your Mozilla, and raise you Firebird. Compiled for Athlon processors:) I use Thunderbird for mail, too. Nightly builds, baby.
mouthbreather
08-24-2003, 07:45 PM
ps -aux | grep "mouthskills.sh"
--quasi-pro geek here (still have a LOT to learn.)
--test software and manage configurations (manage code branches, do builds, and manage 12 app servers, 4 dbs)
--SQL and UNIX used on daily basis.
Venoma
08-25-2003, 12:04 AM
heheh.
I used pico. Until the day that I opened a file larger than my combined swap and memory... and linux started shutting processes down. I then resolved to learn more vi commands, which was the only reason I used pico in the first place ;) Ignorance.
Linux (mostly slackware) geek, tooled about with Solaris and Irix, worked on .. ohgoditsbeenawhile.. unix emulated system on ibm's os390 - a mainframe OS. Weird weird stuff. Been meaning to install a BSD os for a while - waiting for hubby to clear off his laptop so I can. Writing PHP, I have written bash (I ran into a LOT of bloat writing a bash/dialog script to customize ipfw way back when that was current, and then learned perl) some javascript, html of course, asp, SQL, yadda yadda.
Always wanting to learn more, but I've been stuck with support jobs that have me working more in MS OSes than I like. And now I'm a waitress - well, maybe I can take up geeking on my spare time. :)
kferr
08-25-2003, 06:35 AM
I've been a pro geek since 1985, hacking COBOL on IBM MVS System 360. Started doing DB2 in the version 2 era. I was so used to the ISPF editor that I bought a Windoze version when I started working on that platform. I've had formal training in Fortran, PL/I, COBOL, and assembler (both 8080 and System 360). I've taught myself C, C++, Java, and a bit of Perl and Python. I still have a deck of punch cards laying around the house somewhere. As an exercise, we wrote a simple 'hello world' type assembler program, hand translated it into machine code, and entered it into the system by setting the switches on the front of the Altair 8080.
These days I split my time between Windoze and *nix, mainly Linux and Solaris. If I need to do some quick lite editing I'll use vi (even on Win2K thanks to RKTools) but for heavy coding I use the excellent JEdit.
kferr
08-25-2003, 07:28 AM
It's now 1:30 on a bank holiday Monday, so I am going to cd /pub; more beer
Angua
08-26-2003, 02:48 AM
Originally posted by pestie
Oh, lord, don't apologize - I thought I made it clear in another thread that I can't get enough of you. ;)
Good point. I won't then :p
That was exactly my point - emacs is a great operating system! Heh...
Just checking. :)
OK, who here's secure enough in their geekhood to actually admit to using pico on occasion? Anyone? :D
*raises hand sheepishly* I do.
But how many of you have some form of BSD installed on your home computers?
gonzoron
08-26-2003, 09:25 AM
Hardware geek checking in. I design chips. Which mostly amounts to years of boring Word documents, punctuated by a few blissful months of VHDL writing and simulation on a SunOS box.
Religious afilitions: bash, vi (better yet, vim), perl and pine
just wanted to through in a plug for vim for all you vi heads. It's all the fun and power of vi, with the only the good bloat from emacs. Multiple buffer frames, multilevel undo, syntax highlighting, visual selection... shweet... (And no bloody tetris or chat).
The other day, I was trying to explain the beauty of vi to my fiancee, a devoted pico-ist. I started with simple regexp stuff that (to my knowledge) pico can't do and worked up. (yeah, I know, that's technically ex, not vi I was showing off). I got up to something like :.,/foo/+1s/\(bar..*\) pico$/vi \1\1/
when she finally broke and said: "That's just ludicrous. LOOK at it. Don't you see? It's gibberish!"
And I said... "exactly". ;)
rjung
08-26-2003, 02:17 PM
Originally posted by Angua
But how many of you have some form of BSD installed on your home computers?
All us MacOS X folks have BSD (and Apache, and PHP, and Perl, and...) installed on our computers. :)
gonzoron
08-26-2003, 02:53 PM
I have cygwin, activeperl, and vim at home... but no BSD.
davidm
08-26-2003, 03:16 PM
Pro geek with a Comp Sci degree. I understood the subject line almost immediately. That's in spite of the fact that I've done almost no *nix work in recent years. :( I occasionally telnet or ftp from Windows to a Unix shell and do some simple things like navigating and listing directories or transferring files. 5 or 6 years ago I was doing some pretty heavy Perl stuff under Unix. I miss it.
Opengrave
08-26-2003, 03:33 PM
Look here, I'm a QA/CM specialist. I don't care what you guys do as long as it is version controlled in a suitable repository, has been appropriately tested and approved by the users.
... you want me to compile what? have it to the users by when..?
... no way, I'm goin' to lunch!
Nightsong
08-26-2003, 05:36 PM
...and meanwhile, you have me: GOAT (geek of all trades: master of none), who uses whatever gets the job done.
Wish I had more time to play about with *nix systems, however. Need to get back up to speed on 'em, but like davidm, I understood the subject line pretty quickly.
___
<< End hunger: eat a little snack. >>
ReBusEniGma
08-26-2003, 05:47 PM
What, no test scripts in a closed loop test lab Opengrave? ;)
'nother geek here too. Although not actively programming anymore, I did a lot of PL/SQL in Oracle, on UNIX. I usually used telnet session(s) against piped into an HP box with UNIX v11.x. I used VI all the time, hands down. I love it. In the office we use Linux. The powers-that-be feel that Linux is more virile than eunuchs. Okay, cheaper at least.
pestie
08-26-2003, 11:54 PM
Originally posted by Angua
But how many of you have some form of BSD installed on your home computers?
I did have OpenBSD on one of my boxes at home for months, but I eventually scrapped it and went back to Linux. OpenBSD kicked ass, no doubt about it, but Linux could easily support some routing trickery that OpenBSD couldn't, at least not at the pf/ipf level.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.