Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

terminal help

Name: Anonymous 2010-02-03 15:22

whenever I need to run a program I wrote in c++ I have to type ./ before the program or it wont run. How do I make it so when In terminal instead of ./program all I have to type is program?

Name: Anonymous 2010-02-03 15:27

IHBT

Name: Anonymous 2010-02-03 15:29

U serious?
Add the folder to your $PATH

Name: Anonymous 2010-02-03 15:32

>>1
Don't do that, it's considered harmful.

Name: Anonymous 2010-02-03 15:33

Also, your thread title is a misnomer. "Bash is no more about terminal than astronomy is about telescopes.", one would say.

Name: Anonymous 2010-02-03 15:39

#include <studio.h>

main( )
  
     void( )
 i=0

  for i=0,i<10,i++

Name: Anonymous 2010-02-03 15:41

>>6
my interpretation:
#include <studio.h>

main( )
  
     void( )
 i=0

  for i=0,i<10,i+
                  +

Name: Anonymous 2010-02-03 16:18

>>7
*takes off sunglasses*
My god.
It's like Monet.

Name: Anonymous 2010-02-03 17:11

>>5
How do you know he's using bash?

Name: Anonymous 2010-02-03 17:27

>>9
Because only hippster faggots use zsh, and only curmudgeonly long bearded Solaris vets use csh.
The rest of us grew up with bash an like it. So piss off.

Name: Anonymous 2010-02-03 17:35

While only the self-thinking elite knows of fish

Name: Anonymous 2010-02-03 17:44

>>11
*cough* hippster faggot *cough*

Name: Anonymous 2010-02-03 17:56

>>10
Wait, I'm a curmudgeonly long bearded Solaris vet and I hate csh.

Name: Anonymous 2010-02-03 18:03

When I use a shell, I don't want eight extra KILOBYTES of worthless tab completion and job control! I just want a shell!!
Not a "bashell". Not a "zshell". Those aren't even WORDS!!!!
SH! SH! SH IS THE STANDARD!!!

Name: Anonymous 2010-02-03 18:14

>>13
Your beard is obviously still too short, when it's a foot longer you will love it

Name: Anonymous 2010-02-03 21:02

>>15 see >>14

Name: Anonymous 2010-02-03 23:10

>>1
That will open you up to attack. What happens when somebody slips a program into a folder and you run it by mistake when you meant to run a system command? If you really want to do it, add . to your path, dummy. But for the love of Sus, add it to the end so system commands will be found before stuff in the folder.

Name: Anonymous 2010-02-04 4:03

>>10
Fuck you. I use rc.

Name: Anonymous 2010-02-04 4:35

>>1 is the kind of lazy people who run scripts using . script instead of giving them the execution bit. Then the scipt uses exit 1 to signal an error and he gets puzzled why the considered unharmful script logs him out.

tl;dr YHBT

Name: Anonymous 2010-02-04 11:43

>>19
. is source, right?

Name: Anonymous 2010-02-04 12:51

>>11
Fish is nice but has its problems, but it's still my default shell. Of course, no one else uses it, so I have to write all my scripts against /bin/bash.

Name: Anonymous 2010-02-04 13:39

./

Name: Anonymous 2010-02-04 22:03

>>19
I doubt it. If he knew how to use . he'd probably have known how to change his $PATH.

Name: Anonymous 2010-02-04 22:19

Hmm, Plan 9 does this by default. OP, I suggest switching OSes, since figuring out something technigal like setting your path is probably beyond you.

Name: Anonymous 2010-02-05 3:49

>>24
Why is Plan 9 so insecure?

Name: Anonymous 2010-02-05 3:58

>>25
It isn't.

Name: Anonymous 2010-02-05 3:59

>>25
Because it comes from Outer Space.

Name: Anonymous 2010-02-05 4:32

>>27
Bitch best stay in User Space where she belongs.

Name: Anonymous 2010-02-05 4:36

>>28
Glenda is not a bitch!

Name: Anonymous 2010-02-05 4:51

>>29
Maybe not for you.

Name: Anonymous 2010-02-05 13:27

>>21
This is the main reason I'm giving up fish. I refuse to learn dead-end languages if I can help it. The only thing I actually liked was syntax highlighting to show me if I misspelled a command. Fish is noticeably slow (try running `ls; ls; ls; ls; ls;` repeatedly in fish vs bash); it doesn't save functions into an easily editable .fishrc (or at least I couldn't find one), instead forcing you to use `funced` instead of your favorite text editor to edit them.

Name: Anonymous 2010-02-05 13:57

Get out of the 70s already.

Name: Anonymous 2010-02-05 17:39

/prog/, let's band together to create the ultimate shell: CRUSH (Common Rispu Ultimate SHell).

Name: Anonymous 2010-02-05 18:45

add '.' to your $PATH variable.
don't do it though, it's something of a security risk.

Name: Anonymous 2010-02-05 19:11

>>33
Also written as クラシュ!! can be interpreted as CLASH!! or CRUSH!!
I like that idea.

Name: Anonymous 2010-11-02 8:02

Name: Anonymous 2011-02-03 1:31

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List