@cyborg9800 Maybe you don't have vim installed? Try using nano, its much easier to use. Also, make sure you use chmod command to give it executable permissions. If you are still having issues, send me a message to my inbox with your issue and error and I'll help you out. Thanks.
are you running ubuntu in a virtual machine..reason I ask is because I noticed in your term the frayed text to the right ...it happens to me in vm ware with my fedora vm don't know why but your tuts are pretty awesome...
@ozzyunoe Nope, this is when I had the ATI Radeon card that was screwing up my graphics for games and videos. It also delayed some of my audio. My apologizes.. I now have a Macbook Pro with Ubuntu 11.04 installed in Vmware Fusion.
@H4x0r18 you know what now that you mention it and I also remember you stated it in the tutorial but I have and amd/ati setup so guess that may be why :(oh well I gotta live with it but no biggie
@ozzyunoe Yeah I found AMD and ATI to be a pain in the neck with Linux so after these videos. I upgraded to a Intel 2.55ghz and Nvidia. Worked a lot better, but had to get a Mac for Apple experience for job related.
@AlphaMaenchen0900 Thanks! I actually can't remember the theme, sorry. Its been awhile since I've been on Linux. I usually get my themes from Gnome Look website. If I could remember, I'd let you know.
Very nice presentation...but i'm not able to get the end result..when i run the script using ./filename from the bash shell in which i'm logged in as a superuser i get the following error:
sudo: aptitude: command not found
sudo: aptitude: command not found
however an additional echo message is displayed. Please help.
@Dudedelhi81 Try typing the last results in the terminal before launching the script. You may have misspelled it or may not even have aptitude on your machine. May I also ask what Linux distro you are running?
I follow all step from this video and when i want to run the script i receive this "bash: ./test.sh: /bash/sh: bad interpreter: No such file or directory"
@Karamanec Make sure bash is installed and working and make sure the directory has permission to run a shell script. Also try running it like this "bash filename", replace filename with test.sh. Good Luck.
Sounds interesting, i'm a beginner in Linux, and I can see a little application to this, per example, make a custom script to install basic stuff, such be able to read mp3 files, or install flash, or java... thanks for the video =D
@pepi560 Thats simple. All that does is tell the script that you want to use bash language for the programming inside the script. So it basically just makes sure that it reads the commands that you program in the script.
@Biohazard000Labs When you use #!/bin/sh or #!/bin/bash, you are actually telling the script which interpreter you like to use. Bash shell has some specific functions that other shell does not have. In this tutorial, I prefer just to use sh cause I am more comfortable with it.
How do you do the window closing and window opening flame thing? I have Ubuntu 10.10. I have looked in my effects but only have dream, glide 1 and 2 etc....but no flame or fire. Can you tell me how to get it?
@H4x0r18 I don't have the add-ons window. I don't know if it's something that 10.10 doesn't come with or just something that needs to be downloaded. I have the compizconfig settings manager but the add-on thing isn't there. I have looked at all of the ubuntu forums but no luck. Anyway thanks for the help dude.
@navajo5150 Ok good! Glad you got it all figured out. Please message me anytime if you need help with anything else. Take care and have a Merry Christmas! :)
hello please help me when I put vim name.sh the program it doesn`t work and i see something like vim is in a package and I don`t understand why please I need help
@ARCANGELJERICHO You need to make it executable, the code is used many times in the video. create your file vim name.sh after your done coding and you save it, then just do a sudo chmod +x name.sh. Make sure you are in the same directory as everything else or it won't work.
Thank you very much. Im working on it now. Have you ever heard of element K? I dont really like it and I am trying to find a way that I can run a linux flavor without installing it onto my desktop or laptop. I keep hearing to do it virtually but I just never have done that either so I wouldnt know where to start. Any advice?? And thanks again.
@pillscam9881 No problem. No, I actually haven't heard of element K. As for your Linux flavor without installing it, I'd say try installing either vmware or virtualbox and then install Linux. That way your not hurting yourself if something happens. Thats what I've always done when I wanted to test out new Linux distros or needed Windows for something. Good Luck!
Im trying to do a script. I was told to use vi. Do I need to make a new directory in order to make a script or can I just go ahead and jump right into the editor and start creating my script? I am doing this for one of my networking classes but I am really new to this operating system so I need help.
@pillscam9881 Yeah you can I was just making it more organised. Assuming you open terminal to the home directory, it should save the file in your home directory.
thanks for asking... Really, i wanted to know if you could recommend a very good book( preferably ebook in pdf ) for beginners in shell scripting. Also, i found you video very helpful and it sure makes me taste for more...
@bazighk My networking professor told me to read "Classic Shell Scripting" by O'Reilly. I bought it and its very nice book! If you would like to know what other books I recommend, add this part at the end of youtube url to watch my other youtube video /watch?v=SuDHoM8z4Kk
Thanks for the swift reply. Still trying to search for free pdf copy of O' Reilly book online I couldn't view the new link u talked about after adding to the previous one. Could u send the entire URL in ur reply?
@bazighk No, Youtube doesn't let you share url links for some reason. Just buy a book or ebook online. Its not too expensive. I picked mine up at a local Barns and Nobles.
@EvolutionXEngine I am using Ubuntu for this tutorial. There is no "best" linux. Its just a matter of taste and personal experience. Everyone has their own favorite linux distro.
How can we comment on the video card based on you using a text editor?
anyway anyone starting a project should be aware that bash is very very very basic and limited. You must know it because the whole of linux rests on it but a lot of features are not implemented (look up bash and arrays) and there are peculiarities which are counterintuitive such as:
B=3
A=$B
where A and B are variables is likely to cause errors unless you deal with it as an exception but once you start making exceptions...
@H4x0r18 Thanks for the friend request. Feel free to pick my brain anytime you like. I will be more then happy to provide you with any help you need in the networking administration area. Or anywhere really. lol. Just let me know. Also I wanted to speak with you on some projects of mine, perhaps we can help each other :)
Great Video. Endless possibilities with this. I Watched both part 1 and 2. Both Great. Thank you. I'm a Network Admin and Scripting helps automate a ton of Network Tasks..
I build home Security Alarms and Voip PBXs. I Use scripting for various events on each of them. Helps bigtime. Again, so many options, you can write scripts to run other scripts for different functions and pretty much make your own programs. All you need is a handful of commands and an imagination. Great place to start here
@servprosolutions Thats awesome man! Yeah I'm still in College going for my Bachelor's Degree in Network Adminstration. Writing and automating scripts definitely helps a lot. Thanks for your comments!
Linux shell Scripting tutorial Pdf File
appujack69 12 hours ago
Thanks alot.
ikenna83 1 week ago
it says aptitude command not found? i checked to make sure i entered everything right.
beeregas 1 week ago
@beeregas you can use apt-get instead.
jdhf983y4uhu 1 week ago
Why are you using /bin/sh instead of /bin/bash ?
trailingdot 2 weeks ago
Really nice dude thx for the help now im ready for my test ! ;)
MrCammoon 1 month ago
Nice tut but i have 3 suggestions .
Try using vi as your editor as its on almost every linux distro.
also try at the end of your commands "/y" so it doesn't ask you to continue when updating.
dunno if it was network issue but i'd update your /etc/apt/sources.list
droidomz 1 month ago
nice tut ;) hope it get more complex with the time and who knows someday u may run a linux school :P
#!bin/sh
clear
su apt-get insatll students
fi !
oh.. almost forgot i hope u will check the option of explaining what the /bin/sh library means...
Virtyrael 1 month ago
interesting stuff
look forward to more
cheers dude
ninjaman1138 2 months ago
superb!!!
now i have undestood for what are need the vim
FreeMetalHazard 2 months ago
./nice-work we should start a course of linux , programming , hacking etc.. all in one and sold it
Mrjuanz123 2 months ago
This is really good you help me a lot man thanks i gat a good grade on my homework thanks to you.
Fifastarful 2 months ago
shell-scriptsS vim test1.sh
this command doesn't work in my linux
cyborg9800 2 months ago
@cyborg9800 Maybe you don't have vim installed? Try using nano, its much easier to use. Also, make sure you use chmod command to give it executable permissions. If you are still having issues, send me a message to my inbox with your issue and error and I'll help you out. Thanks.
H4x0r18 2 months ago
@cyborg9800 Maybe try without the 'shell-scriptsS' as it is not part of the command, By the way it's not an S it's an $.
LinuxAfraid 2 months ago
@cyborg9800 You can type $ vi test1.sh to open the file with the vi editor. Vim is better.
But you will also have to learn how to use vi or vim.
trailingdot 2 weeks ago
@cyborg9800 i think you should use vi instead of vim i.e. vi text1.sh.........let me know if it works
MDSURFER8 5 days ago
that was really good, can you put little more complex shell scripting, i dont know wahts in my mind, just like to check...
thanks
Martixkarma 2 months ago
thanks a loottt!! nice work..
goodideawins 4 months ago
@goodideawins No problem! Thanks for watching.
H4x0r18 4 months ago
Good introduction to the Linux shell.
aikirich 5 months ago
@aikirich Thanks! Not much of an introduction I would say, but could give me ideas for a future video. :)
H4x0r18 4 months ago
man thanks so much i thought u put the #!/bin/bash line in the command line not in an editor... :(
Rottened23 5 months ago
@Rottened23 No problem! Yeah, you aren't the only one thats for sure..
H4x0r18 5 months ago
cool,man, thank you.
321liuwei321 6 months ago
@321liuwei321 No problem anytime!
H4x0r18 6 months ago
are you running ubuntu in a virtual machine..reason I ask is because I noticed in your term the frayed text to the right ...it happens to me in vm ware with my fedora vm don't know why but your tuts are pretty awesome...
ozzyunoe 7 months ago
@ozzyunoe Nope, this is when I had the ATI Radeon card that was screwing up my graphics for games and videos. It also delayed some of my audio. My apologizes.. I now have a Macbook Pro with Ubuntu 11.04 installed in Vmware Fusion.
H4x0r18 7 months ago
@H4x0r18 you know what now that you mention it and I also remember you stated it in the tutorial but I have and amd/ati setup so guess that may be why :(oh well I gotta live with it but no biggie
ozzyunoe 7 months ago
@ozzyunoe Yeah I found AMD and ATI to be a pain in the neck with Linux so after these videos. I upgraded to a Intel 2.55ghz and Nvidia. Worked a lot better, but had to get a Mac for Apple experience for job related.
H4x0r18 7 months ago
GREAT video!!!Thank u very much!!!!
ptrsona1 7 months ago
@ptrsona1 No problem, make sure to watch part 2 :)
H4x0r18 7 months ago
Very good vid. :DD Thumbs up from me ;D. But i have one question: Whats the name of the Theme that you're using ?
Thanks and greeetz from AlphaMaenchen
AlphaMaenchen0900 8 months ago
@AlphaMaenchen0900 Thanks! I actually can't remember the theme, sorry. Its been awhile since I've been on Linux. I usually get my themes from Gnome Look website. If I could remember, I'd let you know.
H4x0r18 8 months ago
@H4x0r18 Thanks for your answer. I´ll keep following your vids :DD.
PS: Sorry for my bad english, but i´m only 14 xD
AlphaMaenchen0900 8 months ago
@AlphaMaenchen0900 No problem anytime!
H4x0r18 8 months ago
Very nice presentation...but i'm not able to get the end result..when i run the script using ./filename from the bash shell in which i'm logged in as a superuser i get the following error:
sudo: aptitude: command not found
sudo: aptitude: command not found
however an additional echo message is displayed. Please help.
Dudedelhi81 9 months ago
@Dudedelhi81 Try typing the last results in the terminal before launching the script. You may have misspelled it or may not even have aptitude on your machine. May I also ask what Linux distro you are running?
H4x0r18 9 months ago
yep followed that script and worked first time. cheers for that
sirbobbyuk 9 months ago
@sirbobbyuk No problem!
H4x0r18 9 months ago
@ubotstudios5 Huh?
H4x0r18 9 months ago
I follow all step from this video and when i want to run the script i receive this "bash: ./test.sh: /bash/sh: bad interpreter: No such file or directory"
What is goin on ?? Please a little help.
The video is great :) UP from me :)
Karamanec 9 months ago
@Karamanec Make sure bash is installed and working and make sure the directory has permission to run a shell script. Also try running it like this "bash filename", replace filename with test.sh. Good Luck.
H4x0r18 9 months ago
nice presentation
velurinaidu123 9 months ago
@velurinaidu123 Thank you!
H4x0r18 9 months ago
Sounds interesting, i'm a beginner in Linux, and I can see a little application to this, per example, make a custom script to install basic stuff, such be able to read mp3 files, or install flash, or java... thanks for the video =D
abdieg 1 year ago
Nice but you could explain some more detailed info like what that #!/bin/ actually does...
pepi560 1 year ago
@pepi560 Thats simple. All that does is tell the script that you want to use bash language for the programming inside the script. So it basically just makes sure that it reads the commands that you program in the script.
H4x0r18 1 year ago
@H4x0r18 oooh
pepi560 1 year ago
Why does every script start with #!/bin/sh?
i have scripted linux scripts in cygwin and there i write #!/bin/bash
Biohazard000Labs 1 year ago
@Biohazard000Labs When you use #!/bin/sh or #!/bin/bash, you are actually telling the script which interpreter you like to use. Bash shell has some specific functions that other shell does not have. In this tutorial, I prefer just to use sh cause I am more comfortable with it.
H4x0r18 1 year ago
That tutorial was awesome ! I'm going to watch the 2nd one now
ps. I used nano instead for vim, nevertheless it worked flawlessly
christianninja29 1 year ago
@christianninja29 Thanks!
H4x0r18 1 year ago
How do you do the window closing and window opening flame thing? I have Ubuntu 10.10. I have looked in my effects but only have dream, glide 1 and 2 etc....but no flame or fire. Can you tell me how to get it?
navajo5150 1 year ago
@navajo5150 You need compiz and you also need the compiz plugins. I made a video on how to get your effects with compiz.
H4x0r18 1 year ago
@H4x0r18 I don't have the add-ons window. I don't know if it's something that 10.10 doesn't come with or just something that needs to be downloaded. I have the compizconfig settings manager but the add-on thing isn't there. I have looked at all of the ubuntu forums but no luck. Anyway thanks for the help dude.
navajo5150 1 year ago
@H4x0r18 Never mind I found it I just had to download the compiz add ons from synaptic manager so I got it. Thanks again.
navajo5150 1 year ago
@navajo5150 Ok good! Glad you got it all figured out. Please message me anytime if you need help with anything else. Take care and have a Merry Christmas! :)
H4x0r18 1 year ago
hello please help me when I put vim name.sh the program it doesn`t work and i see something like vim is in a package and I don`t understand why please I need help
ARCANGELJERICHO 1 year ago
@ARCANGELJERICHO You need to make it executable, the code is used many times in the video. create your file vim name.sh after your done coding and you save it, then just do a sudo chmod +x name.sh. Make sure you are in the same directory as everything else or it won't work.
H4x0r18 1 year ago
Thanks dude ... really helpful :)
superflex007 1 year ago
@superflex007 No problem anytime.
H4x0r18 1 year ago
Than
superflex007 1 year ago
Thank you very much. Im working on it now. Have you ever heard of element K? I dont really like it and I am trying to find a way that I can run a linux flavor without installing it onto my desktop or laptop. I keep hearing to do it virtually but I just never have done that either so I wouldnt know where to start. Any advice?? And thanks again.
pillscam9881 1 year ago
@pillscam9881 No problem. No, I actually haven't heard of element K. As for your Linux flavor without installing it, I'd say try installing either vmware or virtualbox and then install Linux. That way your not hurting yourself if something happens. Thats what I've always done when I wanted to test out new Linux distros or needed Windows for something. Good Luck!
H4x0r18 1 year ago
H4x0r18 Thank you for your videos. can you also please send me a link of your desktop. Greatly appreciate it.
Bqz95 1 year ago
Im trying to do a script. I was told to use vi. Do I need to make a new directory in order to make a script or can I just go ahead and jump right into the editor and start creating my script? I am doing this for one of my networking classes but I am really new to this operating system so I need help.
pillscam9881 1 year ago
@pillscam9881 Yeah you can I was just making it more organised. Assuming you open terminal to the home directory, it should save the file in your home directory.
H4x0r18 1 year ago
hey, thanks a lot for the videos! I really like your desktop image. Can you please send me the link for it. thanks !! :)
Tigranchius 1 year ago
@Tigranchius Check your inbox. Sent you a pm.
H4x0r18 1 year ago
@H4x0r18 Many thanks indeed !! :)
Tigranchius 1 year ago
@H4x0r18,
thanks for asking... Really, i wanted to know if you could recommend a very good book( preferably ebook in pdf ) for beginners in shell scripting. Also, i found you video very helpful and it sure makes me taste for more...
bazighk 1 year ago
@bazighk My networking professor told me to read "Classic Shell Scripting" by O'Reilly. I bought it and its very nice book! If you would like to know what other books I recommend, add this part at the end of youtube url to watch my other youtube video /watch?v=SuDHoM8z4Kk
H4x0r18 1 year ago
@H4x0r18
Thanks for the swift reply. Still trying to search for free pdf copy of O' Reilly book online I couldn't view the new link u talked about after adding to the previous one. Could u send the entire URL in ur reply?
bazighk 1 year ago
@bazighk No, Youtube doesn't let you share url links for some reason. Just buy a book or ebook online. Its not too expensive. I picked mine up at a local Barns and Nobles.
H4x0r18 1 year ago
How do I get flames like yours??
riffsista 1 year ago
@riffsista I made a video for compiz, you can watch it here watch?v=ceyUa01Yztw Thanks.
H4x0r18 1 year ago
what linux is this ? im a noob! I want to get linux for server hosting but dont know which
Linux is best.. Thanks! good vid!
EvolutionXEngine 1 year ago
@EvolutionXEngine I am using Ubuntu for this tutorial. There is no "best" linux. Its just a matter of taste and personal experience. Everyone has their own favorite linux distro.
H4x0r18 1 year ago
@EvolutionXEngine I think it`s Ubuntu
SuperDesire85 1 year ago
@SuperDesire85 Yes its Ubuntu.
H4x0r18 1 year ago
This has been flagged as spam show
Anyone looking to do a Unicode app in linux Bash script? Problem solved: unicodetranslate.blogspot.com
supermario00110011 1 year ago
How can we comment on the video card based on you using a text editor?
anyway anyone starting a project should be aware that bash is very very very basic and limited. You must know it because the whole of linux rests on it but a lot of features are not implemented (look up bash and arrays) and there are peculiarities which are counterintuitive such as:
B=3
A=$B
where A and B are variables is likely to cause errors unless you deal with it as an exception but once you start making exceptions...
kotapaka 1 year ago
@H4x0r18 Thanks for the friend request. Feel free to pick my brain anytime you like. I will be more then happy to provide you with any help you need in the networking administration area. Or anywhere really. lol. Just let me know. Also I wanted to speak with you on some projects of mine, perhaps we can help each other :)
servprosolutions 1 year ago
Great Video. Endless possibilities with this. I Watched both part 1 and 2. Both Great. Thank you. I'm a Network Admin and Scripting helps automate a ton of Network Tasks..
I build home Security Alarms and Voip PBXs. I Use scripting for various events on each of them. Helps bigtime. Again, so many options, you can write scripts to run other scripts for different functions and pretty much make your own programs. All you need is a handful of commands and an imagination. Great place to start here
servprosolutions 1 year ago
@servprosolutions Thats awesome man! Yeah I'm still in College going for my Bachelor's Degree in Network Adminstration. Writing and automating scripts definitely helps a lot. Thanks for your comments!
H4x0r18 1 year ago
very good! cheers michael :wq
michi6970 1 year ago
great video. good stuff to know.
simplelife1021 1 year ago
@simplelife1021 Thanks man, I appreciate it!
H4x0r18 1 year ago
@H4x0r18
hi
bazighk 1 year ago
@bazighk Hello, hows it going?
H4x0r18 1 year ago
@TheLinuxWizKid Thanks for the comment! I try my best. :)
H4x0r18 1 year ago