I did as you did with the scripting and i run it but it didn't execute the lynx. instead it exited with the the comment "there is nothing else to do" above that is 'G' cannot be found
@peertop yep i have install lynx, but im getting an error message stating [:14: missing]. I have checked the script against what you wrote and there does not seem to be an erro.
Hes running a Debian based linux distrobution, but it is irrelevant for any of this except for installing lynx. Sh and Nano are both standard on all Linux distrobutions
put in the end of if at the bottom on your script echo please select 1 or 2 read number if [ "$number" = "1" ]; then echo "11111" else if [ "$number" = "2" ]; then echo "22222" else echo you did not select 1 or 2 fi fi
i was unable to get it to work, i did something similar to what you did im just making a simple case statement using a bunch of if statements, as follows: echo please select 1 or 2 read number if [ "$number" = "1" ]; then echo "11111" else if [ "$number" = "2" ]; then echo "22222" else echo you did not select 1 or 2 thanks for your help, im using backtrack3
Comment removed
keyzoner 1 month ago
Why he typed on top "#!/bin/sh" for bash scripting.
I think "#!/bin/bash" is correct line for bash scripting.
mshemuni 2 months ago
@mshemuni
#! is sha-bang symbol
/bin/sh is the (absolute) path to the interpreter program
renders the script portable to non-Linux machines, though you sacrifice Bash-specific features
keyzoner 1 month ago
in backtrack u can just run a bla.sh without chmod RIGHT???
REPODONE 7 months ago
@REPODONE if you have run permissions to it then you can run it.
seriously people, learn to crawl before you try to run(learn basic linux before trying to be leethaxor).
daeheadshot 4 months ago
@JoxeAlavarado Vi is hard to use for me... I like that one better because the shortcuts are shown below.
pepi560 1 year ago
This is so awesome... I did it in windows alot but Linux is made for this kind of amusement. This is so frikin awesome!!!12!!!?!@!!
*head slpodes*
pepi560 1 year ago
Learn to use VI EDITOR people!!
JoxeAlvarado 1 year ago
OS=red hat,
how would I get a background in the terminal window?
Nice vid by the way.
TheNext2sin 1 year ago
lols man dont bash on my scripts!
MetalShreader 1 year ago
thanks man
24si6 1 year ago
thanks
24si6 1 year ago
Just wondering why u don't use the test command for if stmnt? I'm new to unix so just curious about a reason. Thx
mpolanco90 1 year ago
Had a look at my script again and found that i had space when their should'nt have been. when i run it again it worked fine..good vid and music.
Regards bob
sirbobbyuk 1 year ago
I did as you did with the scripting and i run it but it didn't execute the lynx. instead it exited with the the comment "there is nothing else to do" above that is 'G' cannot be found
sirbobbyuk 1 year ago
@sirbobbyuk
Lynx is a program and not a command.
try to install it before you run it.
sudo apt-get install lynx
if you use redhat or fedora. install it with yum .
I use ubuntu and use apt.
peertop 1 year ago
@peertop yep i have install lynx, but im getting an error message stating [:14: missing]. I have checked the script against what you wrote and there does not seem to be an erro.
sirbobbyuk 8 months ago
Cool, thanks for the video!
Hope you gonna post more :)
dreamworker777 2 years ago
nice stuff!
and awesome layout ;)
saemsaem0kh4life 2 years ago
is this BaSH script or just a typical shell script ?
I am asking this because at the "shebang" definition you type #!bin/sh instead of /bin/bash.
RestlessKingGR 2 years ago
@RestlessKingGR the # is a comment, the kernal does not read that line.
TheNext2sin 1 year ago
awesome !!!
Therockstar1986 2 years ago
can someone please tell em who made the very first one of these please tell me and ill sub to yuor channels
matt463 2 years ago
how you make a background image?
or what for a programm you use in the video?
the nano command?
or a diffrent programm
Please Answer So Fast It Go!! =)
greetz Headache videos =)
HeadAcheVideos 2 years ago
It's probably transparent into the wallpaper
5agaci 2 years ago
and how i can doe so a transparent effect?
HeadAcheVideos 2 years ago
OS = Ubuntu
Terminal = gnome terminal with transparenty on (look in the settings)
image = current wallpaper
nano = (terminal) texteditor
capture program = reccordmydesktop
So you have right, Its an debian system and lynx is an web browser for bash.
peertop 2 years ago
echo please select 1 or 2
read number
if [ "$number" = "1" ]; then echo "11111"
elif [ "$number" = "2" ]; then echo "22222"
else
echo you did not select 1 or 2
fi
qwerty123456789jhdtg 2 years ago
nice vid man...
baryt989 2 years ago
najs ;)
Z3r0XoL 2 years ago
is this fedora?
chillbrotha01 2 years ago
Hes running a Debian based linux distrobution, but it is irrelevant for any of this except for installing lynx. Sh and Nano are both standard on all Linux distrobutions
cdbitesky 2 years ago
peertop 2 years ago
WalkingHD 2 years ago