Advanced search

Go Back   Science Forums > Physical Sciences Forums > Computer Science
Notices

Computer Science Software, hardware, computational theory, cool peripherals, and emerging cybernetic technologies
Reply
 
LinkBack Thread Tools
Old 10-20-2005   #11 (permalink)
rockytriton's Avatar
Explaining


Location:
Antarctica
 
rockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nice
Send a message via AIM to rockytriton
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

ok, here's my cool little script for replacing versions of my .jar files in all config files and scripts:

Code:
#!/bin/sh

SCRIPTS=`find . -name "*.*" -exec grep -l "$1" {} \;`

for file in $SCRIPTS
do
        echo "Editing $file...";
        (cat $file; echo '') | sed 's/'$1'/'$2'/g' > ${file}.tmp;
        sleep 1;
        mv ${file}.tmp $file;
done;
oh, and by the way, here's a link to my unix shell scripting tutorial if anyone cares to check it out: http://www.dreamsyssoft.com/unix-she...g/tutorial.php


----------------
/home/God $ cd projects/universe
/home/God/projects/universe $ make

/home/physicist $ cat /home/God/projects/universe/main.c
ksh: /home/God/projects/universe/main.c: Permission Denied.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-20-2005   #12 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

here's my way of doing it:
dispatch-conf
so, um 8 lines vs 1, i win


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-20-2005   #13 (permalink)
rockytriton's Avatar
Explaining


Location:
Antarctica
 
rockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nice
Send a message via AIM to rockytriton
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

bash: dispatch-conf: command not found


----------------
/home/God $ cd projects/universe
/home/God/projects/universe $ make

/home/physicist $ cat /home/God/projects/universe/main.c
ksh: /home/God/projects/universe/main.c: Permission Denied.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-21-2005   #14 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

thats because one, you dont have dispatch conf installed, two you dont have a distro with a package management system therefore you can't install dispatch-conf as far as i can remember its a portage util...

:P pbttt


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-21-2005   #15 (permalink)
rockytriton's Avatar
Explaining


Location:
Antarctica
 
rockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nice
Send a message via AIM to rockytriton
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

ok, anyway, I doubt they have a version build for AIX, and anyway, I run it as one line since I wrote it as a shell script, so I still win :P


----------------
/home/God $ cd projects/universe
/home/God/projects/universe $ make

/home/physicist $ cat /home/God/projects/universe/main.c
ksh: /home/God/projects/universe/main.c: Permission Denied.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-21-2005   #16 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

nope, I do, because i did not have to write a script and it does loads of stuff then blindfully replace stuff in config files, so pbttt I have a more powerful tool that i didnt have to write, and it is one line per execution, and therefore i win.
Actually have a patch for it that makes dispatch-conf a lot more powerful, friend wrote it, allows you to do real cool stuff...


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-22-2005   #17 (permalink)
rockytriton's Avatar
Explaining


Location:
Antarctica
 
rockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nicerockytriton is just really nice
Send a message via AIM to rockytriton
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

ok, ok, I say we just take out the yard stick and get this over with!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-22-2005   #18 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

that would be quite ok, work-wise i win, but still its a nifty script for people to read through
whoever said that bash isnt powerful, must be a fanatic of Bill Gates


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-22-2005   #19 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Location:
Just before 0xAA55
 
alexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond reputealexander has a reputation beyond repute
Send a message via AIM to alexander
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

another cool tool is pf(which i prefer to iptables, but iptables is all we got in linux ) and snort, also dont forget nmap and ettercap(if netcat is "the swiss army knife" of network security then ettercap is a swiss army knife that makes you coffee in the morning, fixes your car and builds your house for you)


----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.

Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.

Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Old 10-22-2005   #20 (permalink)
Killean's Avatar

Hypography Staff Member
Administrator
Dev Team Member

Location:
Winnipeg, Canada
 
Killean is a glorious beacon of lightKillean is a glorious beacon of lightKillean is a glorious beacon of lightKillean is a glorious beacon of lightKillean is a glorious beacon of lightKillean is a glorious beacon of light
Send a message via ICQ to Killean Send a message via AIM to Killean Send a message via MSN to Killean Send a message via Yahoo to Killean
 



Not Ranked  0 score     
Re: Your favorite Linux command/program

cat
vim
ls -l
cd
emerge -va


----------------
-神恵「争い」癒す
Hypographyのネットワーク管理者

"All that we see or seem, is but a dream within a dream." -Edgar Allan Poe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Linux become the next portable device platform? alexander Computer Science 0 07-27-2005 03:45 PM
SCO vs IBM results alexander Computer Science 2 07-14-2005 08:47 PM
Windows better than Linux research alexander Computer Science 38 05-04-2005 08:06 AM
Adobe Reader released for Linux alexander Technology News 0 04-12-2005 05:36 AM
What is your favorite Linux window manager? alexander Computer Science 4 11-17-2004 05:33 AM

Bookmark and Share
User Name
Password

Contact Us


All times are GMT -8. The time now is 05:41 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network