•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,101 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,208 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 249 | Replies: 1
![]() |
ok lets make this a little simpler than my last topic.
I found this site which everyone who follows it seems to be getting results from, though it says "You are expected to be knowledgeable in the UNIX shell." which i have got no idea what that even is.
I tried to follow the instuctions as best as I could with no luck so could someone please explain that to me in simpler/noob terms.
Also i can not use .htaccess files so is there anyway i can do this without them?
Thanks,
Scottmandoo
btw im asking here because it also states "Support for these instructions is not available from DreamHost tech support."
I found this site which everyone who follows it seems to be getting results from, though it says "You are expected to be knowledgeable in the UNIX shell." which i have got no idea what that even is.
I tried to follow the instuctions as best as I could with no luck so could someone please explain that to me in simpler/noob terms.
Also i can not use .htaccess files so is there anyway i can do this without them?
Thanks,
Scottmandoo
btw im asking here because it also states "Support for these instructions is not available from DreamHost tech support."
Last edited by Scottmandoo : May 15th, 2008 at 7:26 am.
My Sites: SlyGraffix and Loved By Design
•
•
Join Date: May 2008
Posts: 31
Reputation:
Rep Power: 1
Solved Threads: 5
think of "shell" as "dos prompt for unix".
there are several of them and each has a superset of the same basic commands.
When you log into a host via ssh, after logging in you "get a shell" where you can type commands.
Most people mean Bourne Shell (or Born again shell) when they generically say "shell". There's also C shell, Korn shell and a bunch of others (like openssl and CPAN shells) specifically used as a sort of client to specialized interfaces.
A "shell script" is nothing more than some shell commands put into a file one command per line.
You save it as something.sh
chmod 755 something.sh
then you can run it like a program.
At the top of the script, you specify which shell should run and interpret it with a "shebang" line:
for bourne again shell
To learn more about linux, and a short introduction to the shell go here
If you are working with a unix like system (linux, bsd, osx) you need to know this. It will make it possible to use the system and make it bend to your will.
cheers!
there are several of them and each has a superset of the same basic commands.
When you log into a host via ssh, after logging in you "get a shell" where you can type commands.
Most people mean Bourne Shell (or Born again shell) when they generically say "shell". There's also C shell, Korn shell and a bunch of others (like openssl and CPAN shells) specifically used as a sort of client to specialized interfaces.
A "shell script" is nothing more than some shell commands put into a file one command per line.
You save it as something.sh
chmod 755 something.sh
then you can run it like a program.
At the top of the script, you specify which shell should run and interpret it with a "shebang" line:
#!/bin/bash
To learn more about linux, and a short introduction to the shell go here
If you are working with a unix like system (linux, bsd, osx) you need to know this. It will make it possible to use the system and make it bend to your will.
cheers!
Last edited by rgviza : May 15th, 2008 at 3:35 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Desktop won't load (Viruses, Spyware and other Nasties)
- command service help with a hijack log (Viruses, Spyware and other Nasties)
- inet20099 Problem (Viruses, Spyware and other Nasties)
- A agntsrvc.exe file error (Viruses, Spyware and other Nasties)
- random pages cannot be displayed IE prob (Viruses, Spyware and other Nasties)
- Trojan.Downloader.BHO.Req (Viruses, Spyware and other Nasties)
- Aurora / Nail.exe Problems (Viruses, Spyware and other Nasties)
- Auroura Help,Please (Viruses, Spyware and other Nasties)
- CoolWWW/ (Viruses, Spyware and other Nasties)
- backdoor.prorat please help, HJT log is included? (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: Lamp installed ok .... but!
- Next Thread: An Upload and Image Display code?


Linear Mode