50 macOS Tips and Tricks Using Terminal (the last one is CRAZY!)
Вставка
- Опубліковано 30 тра 2024
- I know your password. Change it with Dashlane: www.dashlane.com/networkchuck50 (Use code networkchuck50 to get 50% off)
In this video, NetworkChuck shows you the top 50 MacOS terminal commands you NEED to know. Now, while Mac OS is unix-based and very similar to Linux, it has its nuances and things worth paying attention to. Things like, making your Macbook talk, finding wifi passwords, diving into the matrix and taking a trip to the aquarium, all from your terminal.
🔥🔥Join Hackwell Academy: ntck.co/NCAcademy
**Sponsored by Dashlane
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: / discord
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: / networkchuck
Twitter: / networkchuck
Facebook: / networkchuck
Join the Discord server: bit.ly/nc-discord
0:00 ⏩ Intro
0:12 ⏩ say
0:23 ⏩ security find-generic-password -wa Wifi
0:40 ⏩ pbcopy
0:54 ⏩ command + option + shift + v
1:08 ⏩ caffeinate
1:20 ⏩ command + shift + 3
1:53 ⏩ defaults write com.apple.screencapture name
2:10 ⏩ defaults write com.apple.screencapture type
2:19 ⏩ default write com.apple.screencapture location ~/Desktop/screenshots
2:40 ⏩ passwd
4:11 ⏩ cd
4:17 ⏩ ls
4:20 ⏩ pwd
4:26 ⏩ whoami
4:32 ⏩ mv
4:36 ⏩ cp
4:41 ⏩ ditto
4:48 ⏩ df -h
4:51 ⏩ nano
5:00 ⏩ man
5:09 ⏩ open
5:18 ⏩ ping
5:25 ⏩ ifconfig
5:36 ⏩ grep
5:43 ⏩ awk
5:53 ⏩ traceroute
6:04 ⏩ dig
6:12 ⏩ ps
6:21 ⏩ top
6:31 ⏩ kill
6:47 ⏩ which $SHELL
6:56 ⏩ bash
7:00 ⏩ zsh
7:05 ⏩ uptime
7:10 ⏩ killall mDNSResponder….and more
7:15 ⏩ qlmanage
7:22 ⏩ diff
7:27 ⏩ curl
7:42 ⏩ leave
7:54 ⏩ history
7:59 ⏩ disable gatekeeper
8:20 ⏩ brew
8:46 ⏩ cmatrix
9:02 ⏩ asciiquarium
9:13 ⏩ toilet
9:31 ⏩ tetris
9:48 ⏩ python3
10:18 ⏩ shutdown
10:33 ⏩ sudo touch id
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com/shop/networkchuck
Buy a Raspberry Pi: geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
#MacOS #Terminal #brew - Наука та технологія
I know your password. Change it with Dashlane: www.dashlane.com/networkchuck50 (Use code networkchuck50 to get 50% off)
0:00 ⏩ Intro
0:12 ⏩ say
0:23 ⏩ security find-generic-password -wa Wifi
0:40 ⏩ pbcopy
0:54 ⏩ command + option + shift + v
1:08 ⏩ caffeinate
1:20 ⏩ command + shift + 3
1:53 ⏩ defaults write com.apple.screencapture name
2:10 ⏩ defaults write com.apple.screencapture type
2:19 ⏩ default write com.apple.screencapture location ~/Desktop/screenshots
2:40 ⏩ passwd
4:11 ⏩ cd
4:17 ⏩ ls
4:20 ⏩ pwd
4:26 ⏩ whoami
4:32 ⏩ mv
4:36 ⏩ cp
4:41 ⏩ ditto
4:48 ⏩ df -h
4:51 ⏩ nano
5:00 ⏩ man
5:09 ⏩ open
5:18 ⏩ ping
5:25 ⏩ ifconfig
5:36 ⏩ grep
5:43 ⏩ awk
5:53 ⏩ traceroute
6:04 ⏩ dig
6:12 ⏩ ps
6:21 ⏩ top
6:31 ⏩ kill
6:47 ⏩ which $SHELL
6:56 ⏩ bash
7:00 ⏩ zsh
7:05 ⏩ uptime
7:10 ⏩ killall mDNSResponder….and more
7:15 ⏩ qlmanage
7:22 ⏩ diff
7:27 ⏩ curl
7:42 ⏩ leave
7:54 ⏩ history
7:59 ⏩ disable gatekeeper
8:20 ⏩ brew
8:46 ⏩ cmatrix
9:02 ⏩ asciiquarium
9:13 ⏩ toilet
9:31 ⏩ tetris
9:48 ⏩ python3
10:18 ⏩ shutdown
10:33 ⏩ sudo touch id
@@nishitman8772 Networkdaddy🔥
Love u!!!!
hi, can you do content for how to hack youtube account?
We need some for windows too!
u're awesomeeeee
Please do more Mac videos.
I didn't know he had a Mac till now 😂
Now I wanna see more of such videos
I agree with you
Up +1
Yes!
Awesome 👍
Been a Mac and Linux user for a long time, but I always like these type of videos because there’s almost always something new. In this video it’s the last one with touchID. It somehow completely escaped me that this is possible, so thanks!
Same here
so true, I have forgoten that we can play games in the terminal, and good reminder of how great brew is.
Same here- Mac has the edge over Linux for me now
With your `kill -9` command, you needed to specify that `kill -9` forcefully kills a process without giving it a chance to gracefully exit/terminate. You never NEVER want to use `kill -9` for ending just any process. Using regular `kill` will at least give the process a chance to clean up after itself. If you use `kill -9` you could run the risk of heaps of memory being stuck in RAM or open files that couldn't close, which could cause further processes hanging, like Finder trying to figure out why a file is open and not able to be accessed.
as a longtime viewer and a macos / windows user i appreciate the mac content and showing how amazing terminal/macos/launchpad is
Very useful (as always). With ´history' the list has each command with an index number on the left, so you can then run a specific command in the list by typing !. In your example if you wanted to run the "ps -ax" command you would type !593. You can also count from the bottom up, so that command is the 14 last which means you could also run it by typing !-14.
I am a long time bash/history user, and use it frequently. It also supports incremental search for prior commands using ctrl-r, which is a great feature. However, just to make it clear this is a bash feature, as other popular shells like zsh do things differently. Commands get stored in the ~/.bash_history file. This is useful to know, because you can actually edit that file with vi if you mistakenly add a bunch of commands by accident. There are also 2 environment variables you can set globally by editing the /etc/bashrc file to change them. By default on osx i think it's 500 entries (depends on your version?) but if you'd rather increase this to 5000, you would add these lines: export HISTSIZE=5000 and export HISTFILESIZE=5000. Open a new terminal and you will now have a larger history buffer file.
Chuck is coming up with exactly that content which I am learning right now. Legend 💫
Thanks so much for making this. I'm a lifelong Linux user that just switched to an M1 Mac a few days ago and this is exactly what I needed
Quickest 11 minutes ever! Nicely done.
Fantastic! From very useful to very fun. A hook came down and caught one of my fish from the asciiquarium. Keep up the great work!
This video was very enjoyable to watch. Thanks NetworkChuck!
Thanks, NetworkChuck these commands will certainly push me further in the terminal - especially with a cup of brew! :)
Bro that was lit!! Loved the sudo with Touch ID and the find password for wifi.
We'd honestly be lost without you, thank you chuck!
Do a Google search and you would see you're fine. This existed long before he made this video.
No, no one is lost without Chuck. I think you need to stop smoking his pipe. XD XD XD
@@borisvukcevic1454 you right ! People need to start learn how to search for information or they will be stuck until someone explains stuff
@@borisvukcevic1454 yea I know but I meant it as a thanks for all the videos he posted overall throughout the years.
Great Video. I haven’t used UNIX in quite a while, but your video made me remember just how powerful it can be.
What I would love to see are some of the commands that can be used to organize your files.
You contents are awesome bro. Leaning a lot from you. Keep the good work up man
These were all awesome, one I would add is that you can hold option and click to change the location of the cursor which is extremely useful when copying and pasting long commands and wanting to change small parts of it
Amazing content; fast and serious:) loved it, thank you
Great and useful commands, thanks! Want to see more Mac videos like this one.
The last tip will help me A LOT as a developer when I need to install packages and stuff on my Mac. Thank you!
I've learned alot from your channel..Thanks NetworkChurck!!!
I can only click "like" 👍 once for this video but I wanted to click it 50 times (for every tip)... awesome!!! My absolute favorite UA-cam channel, always having fun! Thank you so much!
Love ya chuck keep ‘em coming brother
Hey man!
You’re crazy! I’m excited about your expression and how you do a job - teaching people.
Just realised that you have bug bounty basics courses and other interesting stuff at your academy.
So. I’m going to subscribe immediately!
Thank you once again for digging me into IT.
Very good video, as always! Thanks!
This is pure gold! Thank you 🙏🏻
Thank you for that eye opener video!🙏🏽
I like you more and more, great format on the video. I’m gonna go play with my Mac, thanks 👏🏼🔥
Super Video Chuck Your videos are Awesome
I’m taking a Linux class now (total beginner) and had no idea you could do this kind of stuff in the terminal. Pretty cool
Luckily, most of the things you can do in the terminal in Linux, you can in MacOS and vice versa. I'm primarily a Linux user, but if I had to choose between Windows and MacOS I would choose MacOS any day because of how similar it and Linux are.
The so called userland (aka GNU environment), including the bash/shell, grew together between the BSD and Linux world.
There is a bunch of system commands, that still are different for BSD/Mac, but just a small number compared to the overlapping parts.
If you use Homebrew or the MacPorts (you can even use both aside), you get a repository that offers the an increasing number of projects (shell based, but also GUI/X/Qt etc.) from the Linux world.
It's no wonder, Apple ditched many features (=all non-Mac specific services) from the old MacOSX Server, because most people will use the more common pendants of webservers, DNS, DHCP, mail, .... from the GNU ecosystem, anyway.
Network Chuck's videos are the best. So much fun to watch. 😜
Awesome content, keep it up man!
I suggest 1/2 speed playback for network chill chuck, plus you can keep up with the commands and take notes......1:48 "better say yes nick, Ima lock you in a limmittle space" (at 1/2 speed) thanks for putting this together @networkchuck new fan and love your work.
Would love to see more mac tips n Trix :D this is awesome!
Dude, you're awesome. Keep the great content coming
Cmd+Shift+4 then press the space bar. Now you can choose which entire window you want to take a screenshot of.
thank u sir ! that was actually very nice, especially the wifi pass and the caffeinate
Big fan Network Chuck 😀 love your all videos 🙂
Tip #49 is killer! Thanks for sharing.
Thank you so much for all of these unknown and useful commands.
the content of this video is amazing btw, thank you Chuck !
This is great, I hope you do another!
As someone who has been using Linux since 2004, this is the first video ever that got me interested in getting a Mac!
Mac is Unix and a modern UI on top of it. You can always run Linux in Mac using parallels.
@@hmdz150 thanks, cap!
You just gained a new subscriber. Awesome content
That screen capture with command+shift+4 just changed my workflow. Thank you!
Ctrl + shift +command +4; are you talking about this combination?
@@nonanleon Try command-shift-5, change to Record Selection in the HUD that appears, to create screen recordings. Bonus points to enable Show Mouse Clicks in the Options popup in that HUD.
I guess you are the only channel which makes even an advertisement so interesting to watch!!!
The new studio looks awesome, Chuck!
Sharing this one as well with my students. Thank you.
That screenshot with clipboard is amazing. I was always upset that i had to take it from the desktop!!! Man u just improved my life!!! 😂
Helped me a lot! Good video!
the touch id sudo is a killer! thanks Chuck
Saving this video for future reference. Thanks Chuck.
im not a mac user but its nice to see that you cover the most of your audience. Cheers
One of the awesomest videos!! Thank you
Thank you so much for this video!
Last one was The One I really needed with my new mac
This came just in time. I’ve been recently working with macs more at work so this is helpful.
Thank you Mr. Network Chuck.
Ha! Most of those I already knew but that last one is the bomb! You rock dude!🍺
You are the only reason I am understanding everything in networking now! You make learning so fun! One question though, the command to download brew where is that?
idk
This was incredibly helpful 👏 👌
Thanks! All the stuff with cloudron, and raspberryPi stuff.. super awesome. Figured i could at least buy you a cup of coffee...Have a great thanksgiving.
Thanks Steve!! I can always use more coffee ☕️
29 seconds into this video and it is already awesome.
This was super cool. Would consider myself a Mac power user but I didn’t know a lot of this.
This is the first time I’ve watched a tips for OS video and learned something new and useful
Awesome, waiting for Windows Server, Active Directory, VMWARE, Networking top troubleshooting commands videos soon, thanks a lot
Love your content
Love the video 👍
Been follwing you for years. Thank you for your excellence.
“While ur brew is brewing …brew brew…..” that was hilarious….😂
Amazing stuff brother…the entire video was really informative…
Fantastic stuff. Just to add the last command also works on apple watch. So not only does sudo work with touch ID, but if you have apple watch configured to unlock your mac, it will work with sudo.Great stuff!
The touchid trick is mind blowing 🤯🔥
Here's a bonus tip:
Is there a really long file name you don't want to have to type? No problem. Just drag that file INTO your terminal window. Bam, it prints out the file name including the full path. Easy.
Now THAT is a great extra, ty @nomirrors3552
We need another video like this..! Please upload moreee
*Truly Outstanding* TY
Hey bro, found you almost a week ago, I've been really enjoying your videos. You're like the Peter McKinnon (One of my favourite photography based UA-camrs) of computer networks lol and hey, you both love coffee ;)
That touchid sudo was the best gem for me
Love the sudo touch ID thing!
I will love more stuff for Mac. thank you
Lovely. Brilliant. Magnifico!
I have to say that I freaking love Dashlane! I wish I saw your code because I just outright bought it a couple months back, but it's been a crap ton better than NordPass or especially ExpressVPN Keys. I love it!!
Hey man, your videos are fantastic.
Can you make a video about installing macOS on non-apple PC using the open-core method?
I think you are the best who can explain it!
really useful bro😊
It is very useful sir thank you 😊
Hey, good stuff. I used many of these regularly except for nano. vi for terminal or gvim for the stand alone. Also, for simple stuff 'cut' command is pretty good, and the one I was surprised not see in your video was 'find' - that one I use daily. Also cd -, !! and !$.
Knew every of them expept the last one and yeah it was definitely worth watching the entire video!
Epic Mighty Friend!
Awesome, no enough good material about this elsewhere.
More macOS!
The touchId in terminal is fantastic! hahahaha thanks buddy!
Great video - thanks! And great sound, what microphone are you using?
Man, the touch id with sudo is a life saver ❤❤❤
That's a great one 🎉🎉🎉
man I love your videos and those intros :))
I love the last touch ID bypass!
Incredible video. Bought an M1 air last year for my wife, after this video it might get way more use from me!
thanks so much for this i have always used a mac and wanted this for so long do more mac videos please
That last sudo one was worth the whole video 👍🏻
perfect video, thx a lot
@NetworkChuck thanks sharing such a informative video..some of commands you discussed is very handy... btw if you not mind would you please help me to know the font and color scheme you used in this terminal ...it's really crisp and eye pleasing ... i would like to try
Thanks for the sharing