Thanks Maria. Your tutorials are absolutely brilliant! You really explain clearly and thoroughly. I would have to say that yours are the BEST tutorials I've ever seen. Your voice is very pleasant to listen to as you explain what you are typing. I so look forward to your videos. Cheers.
Very helpful video. I have started to do more in bash and less in Python recently but variable inputs is something I have not read up on yet, and now I don't need to thanks to this! Saving me some horrid hard-coded shell scripts!
That's lucky! Since you are using both Python and bash, you might also like the latest video about turning your python scripts into command-line programs: ua-cam.com/video/zi-FIG3efag/v-deo.html
You should replace our professor. Man! he throws things on us and makes us search all of the world. You have explained this in no time. I will make sure telling him that.
Hi Maria, It seemed that you use Python, Perl, R and Bash in your work. Is it possible you can talk about how you choose a language when you're trying to solve a problem? Best, Shaojun
Quick question, I am fairly new to shell scripting, I am creating a start up script for my oracle DB. Once I have loged in to SQLPlus, I prompt user to input password. Once the password is given, I connect to SQLPlus, but the script does not run anymore, so I am left on SQLPlus, waiting for me to execute SQL commands. I have written the commands I want the script to write, but I am unable to do so. #!/bin/bash sqlplus sys as sysdba stty -echo read -p "Password: " pass stty echo printf ' ' sqlplus -S system/manager
Hi. I can't use "./" for some reasons; but I used "bash" and it ran. I'm new at this. Your video saved me 3 pages of reading. Thanks. May the Universe give you back 10 folds.
@@OMGenomics What he meant was that what you are showing in your video is too small in size for anyone other than those with large monitors to learn from it. He wasn't questioning how you obtain knowledge.
That's nice to have a girl making videos related to this topic because it's very rare to find girls recording types of videos. Awesome video, btw!!!!! :)
Hi this was a good video. When I fallow along with the script I get the error "line 3: 1: Error: no name given" and not the ability to put my input. I a using this on a mac
Are you following along where I show how that happens when there's no input, and then it works when I put `./myscript Tom`? Or does that still not work for you?
Can a (.txt) file run inside a (.sh) file? I have a file which is (.txt), I would want to know if the messages in the (.txt) file can run in the (.sh)file.
Sure, what do you want to know about FASTA files? There is a tiny description of FASTA files in this blog post: omgenomics.com/python-command-line-program/ but I can definitely go into more depth. Just let me know what specific questions you have. Thanks!
You can instead use any other text editor you have available. Nano is just one I found easy enough to use as a beginner, and it was available on all systems I have worked with.
Thank you for your tutorial. I just think its a bit over complicated for newcomers with error handling and default variables. But its interesting anyway.
Yea it's just the only one I could explain to beginners how to use in 10 seconds. I use vim or VScode -- actually I'm at Google so I mostly use our special internal IDE, which I quite like too.
This is the nature of program - programmer relationship. Ofc if it's "well maintained relationship". Sometimes programmer doesn't control what he/she should - the program.
Thank you very much, very clear tutorial. Just a tip to those who got stuck on "less" command. Press "q" or "ZZ" to exit.
thanks
Thank you.
thank you.. this is important..
T-h-a-n-k--y-o-u!
thanks mate, i needed it
This was extremely helpful in helping me get started on a school assignment, thank you so much
I took an hour course before this and was lost. You explained it in 8 minutes! Thanks!
Thanks Maria. Your tutorials are absolutely brilliant! You really explain clearly and thoroughly. I would have to say that yours are the BEST tutorials I've ever seen. Your voice is very pleasant to listen to as you explain what you are typing. I so look forward to your videos. Cheers.
Thank you, that's so nice to hear!
Super clear and to-the-point. Thanks!
Thank u so much Maria! This video helped me put my front foot in the world of Bash Scripting and move further!!!!!
This is a great tutorial! I learned more from this than I did from my professor!
Thanks a lot. This helped me complete my assignment. I really appreciate you. Keep rocking and educating us.
Thank you for this great helpful video!
Well done. Clear and easy to follow,. Keep contributing.
Very helpful video. I have started to do more in bash and less in Python recently but variable inputs is something I have not read up on yet, and now I don't need to thanks to this! Saving me some horrid hard-coded shell scripts!
That's lucky! Since you are using both Python and bash, you might also like the latest video about turning your python scripts into command-line programs: ua-cam.com/video/zi-FIG3efag/v-deo.html
OMGenomics Yes I use this approach but passed it on to my Undergrad so that they can learn. Thanks for making these
Thank you so much, windows guy new to the whole linux thing
Thank you for the video. It was really helpful and easy to understand. Looking forward to your videos.
thanks for the video. It's very helpful cos I can't make sense of things on paper and you gave a great example to get started with.
greatly appreciate the tutorial, really needed help running some DNA libraries quickly
Very precise and neat 🙏
Great video! , verry helpful (:
Saved my life! Thanks!
You're amazing
Good job - explanation was clear .
Tusen takk, mitt første bash-script :)
straight forward and to the point ... thank you
Thank you very much this helped alot
it is very nice, and helpful, this help me start. Good luck
Great Tutorial- very well explanted.
Perfect. This got me started.
thanks for the video and the information. it is really helpful and understandable. it was my first time to create a bash file :)
You should replace our professor. Man! he throws things on us and makes us search all of the world. You have explained this in no time. I will make sure telling him that.
This is it. Thank you.
Hi Maria,
It seemed that you use Python, Perl, R and Bash in your work. Is it possible you can talk about how you choose a language when you're trying to solve a problem?
Best,
Shaojun
Choosing a programming language was the topic of the first episode: ua-cam.com/video/ZZz9HROAONA/v-deo.html
Totally made me worth watching... Good one.
awesome video! very helpful
great job ma'am
thanks Maria, you rock!
Nice and simple. Thanks.
Maria! where are you? Your videos about Bash ware great. Nee more, please... Thank you.
Thank you that was very useful
What key is pressed after she looks at myscript, in order to return to the previous page @ 2:45?
q is how you get out of the less program.
after "less myscript" I did go to the Hello file thingy, how do I get back to the terminal? where I can type again?
Quick question, I am fairly new to shell scripting,
I am creating a start up script for my oracle DB.
Once I have loged in to SQLPlus, I prompt user to input password.
Once the password is given, I connect to SQLPlus, but the script does not run anymore, so I am left on SQLPlus, waiting for me to execute SQL commands.
I have written the commands I want the script to write, but I am unable to do so.
#!/bin/bash
sqlplus sys as sysdba
stty -echo
read -p "Password: " pass
stty echo
printf '
'
sqlplus -S system/manager
i wrote a couple scripts and didn't use #! and they worked fine. whats the deal. is it even necessary?
Hi great video thanks. Can I ask a question please
Thanks, maria!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you 💐
What a helpful video. Thanks a lot! Nice to see more women in STEM.
Thanks, Maria!
Perfect, thank u
good video, helpful for arch linux noob
Thank you so much Maria
Thaaaaanks 👩💻🌟
Thank you for the video
Legend
Hi, Maria. I followed along and it showed "bad interpreter" after i hit enter to excute. Please help. Thanks!
Hi. I can't use "./" for some reasons; but I used "bash" and it ran. I'm new at this. Your video saved me 3 pages of reading. Thanks.
May the Universe give you back 10 folds.
Hey Maria I have a question. Do you think it’s possible that a person can write a 60 line script?
Of course! This one was just a small example. You can write scripts as long as you need!
Great 👍🏻
Mostly I used AWK and SED for text processing, sometimes writing them as scripts. I don't think there are any gui tools for AWK SED or BASH right?
Hmm, I don't know of any GUI tools for these, but I would probably prefer to use them on the command-line anyway.
@@OMGenomics A gui for GREP might also be good lol.
basically i'm lazy and want a frontend lol.
@@OMGenomics currently trying to figur out how to install anbox halium on some flavor of ubuntu btw might be a good topci for a video?
thanks for the videoooo
HOW DID YOU LEARN THIS? your printing could be bigger im using a 65 inch but for people on a laptop it might be hard.
:) I learned this by googling and looking at other people's code on github until I found something that worked and made sense to me.
@@OMGenomics What he meant was that what you are showing in your video is too small in size for anyone other than those with large monitors to learn from it. He wasn't questioning how you obtain knowledge.
when I open the script with "less 'filename'" how do i exit that again?
Press q
You didn't teach me how to do the command to actually get started with bash scripting.
thnk you maria
Thanks alot
Thanks for that!
Ah nice one, this makes annoying people on my network a lot easier :) loop loop :D
thanks!
very nice video...
That's nice to have a girl making videos related to this topic because it's very rare to find girls recording types of videos.
Awesome video, btw!!!!! :)
Thank you
that 'thing' after the hash is called bang. And from these two comes the term shebang .
It's too good...
Hi...do we need to use .sh extension on every script or not
No, you don't have to use the .sh extension. It's the "shebang" line at the top of the file that makes the script execute using bash.
you're so cool
how can i make it change directory ?
Hi this was a good video. When I fallow along with the script I get the error "line 3: 1: Error: no name given" and not the ability to put my input. I a using this on a mac
Are you following along where I show how that happens when there's no input, and then it works when I put `./myscript Tom`? Or does that still not work for you?
Can a (.txt) file run inside a (.sh) file? I have a file which is (.txt), I would want to know if the messages in the (.txt) file can run in the (.sh)file.
Try putting: cat (filename).txt
But that is only a guess
Hi, i like your video. Would you mind make a video dealing with FASTA texts?
I excuse for my english, it´s not my first language.
Sure, what do you want to know about FASTA files? There is a tiny description of FASTA files in this blog post: omgenomics.com/python-command-line-program/
but I can definitely go into more depth. Just let me know what specific questions you have. Thanks!
It says nano command not found
You can instead use any other text editor you have available. Nano is just one I found easy enough to use as a beginner, and it was available on all systems I have worked with.
cannot focus on
Nice to see girls in places that where almost exclusive for men. Gogirl. Thx for the explanation.
F
Good tutorial
You¨re swedish arent ya?
Nope, but I was born in Denmark.
@@OMGenomics My apologies then. You sure sounded like a swede there for a moment. Anyway thanks for the video. It was certainly of help.
#!usr/bin/env bash
echo "Subscirbed!"
Thank you for your tutorial.
I just think its a bit over complicated for newcomers with error handling and default variables.
But its interesting anyway.
Use EMACS or VIM nano is kinda garbage
Yea it's just the only one I could explain to beginners how to use in 10 seconds. I use vim or VScode -- actually I'm at Google so I mostly use our special internal IDE, which I quite like too.
@@OMGenomics oh well my bad 😂 srry I Didn’t know but thanks for your videos they have helped me a lot
zoom it
xooxoxooxoxo
weird flex but ok
It should be 'Hello world', not 'Hello!'
It's whatever I say it is ;)
This is the nature of program - programmer relationship. Ofc if it's "well maintained relationship". Sometimes programmer doesn't control what he/she should - the program.
So what... the lesson was great, with or without WORLD
It does not matter it is hello only or hello world. Video is more and best understanding. Thanks beautiful.
I don't think they got it :D
You helped so much thank you