Raspberry Pi Linux LESSON 7: Using the Wildcard

  Рет қаралды 34,304

Paul McWhorter

Paul McWhorter

Күн бұрын

Пікірлер: 61
@djcanadianbeef
@djcanadianbeef 4 жыл бұрын
I love your lessons, Paul. I am a grown man with a wife and kid and decided I want to challenge myself and bought a raspberry pi. I started lessons and gave it a shot. Unfortunately in this lesson, you didn’t say I shouldn’t play python games and I went into python games and didn’t learn Linux for quite some time, all because you didn’t tell me to go into python games and I went into python games.
@dangerousbryan657
@dangerousbryan657 4 жыл бұрын
Keep up with the stories, good on you for loving animals👍🏼
@jdf026
@jdf026 9 жыл бұрын
I think you are doing great I can tell from your lectures that you are more knowledgeable than what it's apparent. You are just laying foundation for us noobs. Anyone who thinks you should do more should consider making their own videos in my opinion
@KirstenBayes
@KirstenBayes 9 жыл бұрын
Good stuff. If folks want more fun with wild cards, ? replaces a single character. So, ca?s.txt would find both cats.txt and cars.txt. And you can define a set between square brackets. So dog[123].txt would find dog1.txt, dog2.txt and dog3.txt but not dog4.txt or dog5.txt. Given the examples, I was sure these were going to be in the video!
@coumananperoumal5458
@coumananperoumal5458 7 жыл бұрын
You're teaching the best possible way though little time consuming, but it's very interesting to learn. Great job!
@dmaric9344
@dmaric9344 6 жыл бұрын
Sir, you did motivated me to go through every video and your story about your dogs and cars, please be yourself and go on. Take care 😁
@paulmcwhorter
@paulmcwhorter 6 жыл бұрын
Thank you. Many people do not like my dog stories.
@christianjt7018
@christianjt7018 8 жыл бұрын
Great tutorials, I have learned a lot with you.
@SusanAmberBruce
@SusanAmberBruce 5 жыл бұрын
I am learning Linux on the Raspberry Pi, great lessons!
@TheRealFrankWizza
@TheRealFrankWizza 4 жыл бұрын
These are some pretty solid linux lessons. Also, sorry to hear about Spook.
@MooCowBlueKites
@MooCowBlueKites 8 жыл бұрын
Earlier in a lesson you stated your dogs lived a long life but it seems like at least 3 died an unfortunate death. I am sorry for your loss as obviously you loved your dogs. My first dog lived at least 21 years but my second died of heart failure in his 13th year. Thank you for these lessons they are very helpful and well taught. Although so far it has been just a refresher for me I am finding them very informative. You are a good instructor.
@paulmcwhorter
@paulmcwhorter 8 жыл бұрын
+Mark Woodhouse Thanks for the kind words. I guess two dogs died an unfortunate death. I just think that given I am 55 years old, i have had a very small number of dogs in my life, so it seems like they have lived a long time.
@hamzafarooq7864
@hamzafarooq7864 7 жыл бұрын
Great tutorials...It gives the best basic understanding of linux.
@erygion
@erygion 5 жыл бұрын
I didn't know about wild card, thank you Mr. Mcwhorter, great lesson.
@thegoldenwolf274
@thegoldenwolf274 3 жыл бұрын
Blues man Slim Green of all people. Thank you for the story and the lesson prof. Dogs are man's best family
@carlcrompton8427
@carlcrompton8427 6 жыл бұрын
ive got to the point now were i can go along with this study type keep up and understand, practice makes good, thanks great stuff, i couldnt even open a browser or logout of a pc 12 months ago now im bashing the terminal thanks to this amazing teaching i cant wait until it bears fruit lol i keep jumping head to see whats there and how far i have to go
@chris7031
@chris7031 8 жыл бұрын
Thanks Paul. Have created a directory and am adding the commands as I learn them!
@ezragan3178
@ezragan3178 7 жыл бұрын
I dont have a Rsa Pi.. is there a playground counsel i can learn these commands.
@prabhakaranbaskar1400
@prabhakaranbaskar1400 5 жыл бұрын
you can try it on your mac.. but be careful not to modify system files.
@alikoulani5446
@alikoulani5446 5 жыл бұрын
I came here to learn but i wasnt ready emotionaly, you made me cry
@lukus22
@lukus22 8 жыл бұрын
I love how much this guy hates cats.
@olemikole1997
@olemikole1997 6 жыл бұрын
I hate how much you love how much this guy hates cats.
@AbdullrahmanAshraf
@AbdullrahmanAshraf 6 жыл бұрын
@@olemikole1997 I love how much you hate how much Luke love how much this guy hates cats
@strigido-yt
@strigido-yt 5 жыл бұрын
@@AbdullrahmanAshraf I love how much you love how much he hates how much Luke loves how much Paul hates cats.
@jonaxkariuki
@jonaxkariuki 5 жыл бұрын
@@strigido-yt I love how much you love how much he loves how much how much he loves how much he hates how much Luke loves how much Paul jona mk Simon S.
@JuanAntonioHerreraC
@JuanAntonioHerreraC 4 жыл бұрын
Your dog stories made me sad... :/ But you are the best teacher ever on linux on youtube
@ritheshmanikandan6006
@ritheshmanikandan6006 7 жыл бұрын
pi 3 works like pi 2, OS wise right?
@Awesomekid2283
@Awesomekid2283 9 жыл бұрын
you can make all of these files at once by just typing them with the locations and the file names in succession and you will be given the first file, and once you exit it you will get the next file to edit! Example: Instead of typing: nano dog1.txt and then editing it You can do: nano dog1.txt dog2.txt dog3.text and so on with the intension that you are already in the directory they are going to go in
@scalemog2051
@scalemog2051 6 жыл бұрын
Estimated count of the use of "pwd" with the result "/home/pi": 600 I'm an absolute newbie on linux and raspi (that's why I'm going through your lessons), but I dare to say now: The prompt of the raspi states the actual path. It states in green characters the login, in purple blue the actual path, and closes with an "$". So, instead of typing pwd, one might have a graceful look on the prompt. Also, it seems to me that the "~" is a shortcut or abbreviation for the path "/home/pi" I think it would not be too confusing for the audience to mention this.
@nickgooch6928
@nickgooch6928 8 жыл бұрын
Cant you just say $ mv dir1/* dir2 to move everything since the * represents all strings?
@paulmcwhorter
@paulmcwhorter 8 жыл бұрын
I dont know. I am not claiming to teach all ways to do something, or even the best way. I am trying to teach a way that makes sense.
@W7LDT
@W7LDT 5 жыл бұрын
So sorry to hear about Spook I. My first dog got hit by a road grader.
@Hazimus
@Hazimus 8 жыл бұрын
STAY AWAY FROM PYTHON GAMES
@paulmcwhorter
@paulmcwhorter 8 жыл бұрын
Yes! Delete that folder before you get drawn in.
@unikron
@unikron 7 жыл бұрын
RIP little sweet!
@akospasztor4336
@akospasztor4336 4 жыл бұрын
1.75x speed is perfect!
@dannymeadows5448
@dannymeadows5448 6 жыл бұрын
Fantastic
@rupayanroychowdhury9692
@rupayanroychowdhury9692 2 жыл бұрын
This guy had some really good time with his dogs, i can guess that. The death of his dog Little Elmo was really unfortunate. He has some serious grudge towards cats LMAO Btw, really like your content. Really helpful.
@wu1686
@wu1686 3 жыл бұрын
very nice
9 жыл бұрын
could of used touch filename1.txt (for example) and done the same without any actual text at all! would of saved like an hour of typing and us having to watch it lol
@paulmcwhorter
@paulmcwhorter 9 жыл бұрын
***** So you are saying you are not interested in the story of my dogs!?! Remember, these lessons are really about my dogs. Just kidding. Actually, I am targeting these towards high school freshmen so the lessons are slow and repetitive, but I am trying to reinforce earlier lessons and get people spending some time at the terminal.
9 жыл бұрын
Paul McWhorter lol the 1st thing after update and upgrade i do is install (if not already installed) gedit much better than nano you can make the text go w.e colour you want it to be for writing code / scripts this is very good also you can turn on and off line numbers etc! touch is good for creating files without any content other than a space required for it to exist lol 0 kb is impossible unless your on windows lol so your tut is good but could be sped up and the faster you can make vids the more theyl learn instead of repetition although 2 or 3 would of been just as good as 10 or 20 i guess is what i mean and the content of the files could of represented anything but isnt really of any importance other than to tell a story about the million dogs youv owned :P but obviously gedit is a gui based program so that also is a good opportunity for you to tech them not to use console, start x or even better lesson would be to remotely do this using ftp from a linux machine or even a terminal from a remote linux machine then you can use gedit from remote via ssh! thats thats loads of new lesson ideas that will be very helpful as practical use requires ssh ftp remote machines using gedit instead of really old nano or vim as them two are really bad editors there only good for like emergency situations if you cant login with start x or something lol
@Mayank_immortal
@Mayank_immortal 5 жыл бұрын
i wonder who would dislike the videos.
@ritheshmanikandan6006
@ritheshmanikandan6006 7 жыл бұрын
I too accidentally killed my pet goldfish, but I overfed it regular fish food not scraps
@farhankaruniaramadhan6951
@farhankaruniaramadhan6951 4 жыл бұрын
thanks
@farhinismail3978
@farhinismail3978 7 жыл бұрын
the more he said to stay away the more ill get attracted to it
@paulmcwhorter
@paulmcwhorter 7 жыл бұрын
Dont even think about it!
@farhinismail3978
@farhinismail3978 7 жыл бұрын
ok sir i wont :D
@panzerhaha
@panzerhaha 6 жыл бұрын
In the beginning of 8 mins, we can know 5 dogs story, but less than 30s of cats. :)
@sportbikeguy9875
@sportbikeguy9875 4 жыл бұрын
a few video's ago he said his dogs all lived long... seems like they all could have lived a little longer lol
@Inaflap
@Inaflap 9 жыл бұрын
Create new subdirectory under HOME directory, move to it, and make three dog text files. Each step will only execute if the previous step was successful. $ cd && mkdir test2 && cd test2 && (for a in 1 2 3; do echo "Some blurb about dog $a" > dog${a}.txt; done; ) The current directory should be ~/test2 if ALL the following steps above were successful. List the dog files in the current directory using the asterisk wildcard to match any characters. $ ls dog* dog1.txt dog2.txt dog3.txt Show the content of the dog files using the question mark to match a single character. The cat below is the catenate (or concatenate) command, and in that form will join the output of each file to the standard output file, which is the terminal screen by default. $ cat dog?.txt Some blurb about dog 1 Some blurb about dog 2 Some blurb about dog 3
@jholotanbest2688
@jholotanbest2688 9 жыл бұрын
That litle elmo thing is so sad ;(
@tinamurphy9555
@tinamurphy9555 6 жыл бұрын
Dog 5 was just depressing
@shreeyarishi6682
@shreeyarishi6682 3 жыл бұрын
You're Awesome!! and I also hate cats lol
@jonaxkariuki
@jonaxkariuki 5 жыл бұрын
like for 2019
@natezuro5004
@natezuro5004 9 жыл бұрын
You killed you dog 😢
@hassinayaz7310
@hassinayaz7310 9 жыл бұрын
and ............ the wildcard is * :D
@2200stiffy
@2200stiffy 7 жыл бұрын
Darn mosquito
@abtoruncu
@abtoruncu 7 жыл бұрын
Ne köpekmiş be reis.
@terryterry1655
@terryterry1655 2 жыл бұрын
Wild card = Trump card
@paxdriver
@paxdriver 7 жыл бұрын
Thank you sincerely for taking the time, but we seriously don't want to watch you type your life story in detail... No offense, but you type, read, and write slowly as is, making corrections to your examples is very distracting from the material. Thanks for all the hard work! New sub
Raspberry Pi Linux LESSON 9: Using the Linux Sort Command
13:30
Paul McWhorter
Рет қаралды 25 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
Raspberry Pi Linux LESSON 24: Running Python on the Raspberry Pi
14:33
Raspberry Pi Linus LESSON 21: Create a New admin User Like Pi
13:52
Paul McWhorter
Рет қаралды 21 М.
Raspberry Pi Linux LESSON 27: PWM Output on GPIO Pins from Python
39:36
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 565 М.
Just enough assembly to blow your mind
29:31
Kay Lack
Рет қаралды 160 М.
Raspberry Pi Linux LESSON 19: Adding New Users
17:29
Paul McWhorter
Рет қаралды 22 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 577 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН