Top 5 Command Line Essentials - BASH Basics
Vložit
- čas přidán 3. 08. 2024
- OS.ALT Viewers get free encrypted VPN: www.nixiepixel.com/go/secure If you run Linux, bash is the foundation of everything you do. Same goes for Mac OS X and there's even a bash port for Windows! Let's talk about some essentials in the terminal that you can't (and shouldn't) live without.
A fantastic message from Stallman Saint IGNUcius: ;-)
• Video
Hotspot Shield free download:
Desktop (Mac & Windows) bit.ly/UoqsVR
Android bit.ly/1n9Y7hn
iOS bit.ly/Q6Uueb Fight for the users in our Discord: discordapp.com/invite/CKYwgxA - Věda a technologie
Stallman says... go watch my new command line video!
Share if you care ♥ about #Linux
Stallman Says: GNU/watch GNU/my GNU/video
Christopher Calvert
Exxxcellent.
Christopher Calvert LOL
So you advertise HotspotShield now? I know you gotta pay your bills and are entitled to that, but if I try to download the software, it only offers me some useless .exe file which would work if I were using a certain evil proprietary system. Also, there is no real explanation anywhere, what this software does: Does it build a VPN, is the VPN provider in any way, willingly or not, affiliated with the secretive government agency which - as revealed by Sir Edward Snowden - is spying on anyone and everyone? Or does the software just install a proxy in the browser settings, since it only talks about browsing the web securely, but not whether anything but http is also going through this service? Anyhow, my point is: It does not seem to be very trustworthy at this point, with this much of information about it (or better, lack thereof).
Know it, use it all! Don't forget top and htop!
Awesome to see a new video from you! We all love and support you and always will
Nixie you look really well! I hope you're feeling better! thank you for your always useful videos! :)
Wow you have so old but yet so full of content videos,
I'm new to Linux and i can say that your channel is one of the most easier to beginners.
Thank you for all your contribution!
Thanks another great and informative video! I cannot wait to try grep and wget.
LTNS... always enjoy your vids. Thanks for sharing!
Great vid, will definitely try the sudo halt one
Thank you so much for everything you do. I've learned so much from you!
Thanks Nixie! As a newbie to linux, that was really helpful :)
Gonna wait till I finish my A-levels then gonna learn commands when I go to uni! So pumped!
This is excellent. Thank you!
Niiiice! Learned something useful today!
Nice video. Loved it.
Nice video, thanks Nixie.
Love this! Go Nixie x
Love the shirt, too!
Yah!! New Video
Thanks Nixie
Thanks. This actually helped me quite a bit. I've been a windows user for years and had learned the ins and outs of the systems from win3.1 all the way to win7, bding vastly dissapointed with 8 after testing the sdk. After fighting with a laptop built in 2003 with opengl problems, i switched to ubuntu 12.04 after playing with a debian live microsd. I had experience programming and changing elements on android, and after fighting so much with visuals, I made the dive so the open source drivers could boost my computer to something more manageable. Well, this helped me make more use than the limitations that kongregate puts over file infrastructure.
wow! looks like command line is no as scary as it seems! thank you for Introducing me to it's powerful Potentials... please do more vidoes about gaming in linux
Good show. I do enjoy your videos even if I know what you're talking about. Seeing if I miss something with the bash.
Again enjoy your videos just wish you could upload more in Thailand. XD
Great vid Nixie :) Have you ever mentioned a preference in terminal?
Nixie you make me love linux...
Thank you for being AWESOME!!!!!! :D
Ur awesome Nixie!!
Nixie.. We missed you.. I wish we could see you more regular.. Please post more often.. Hugs
I'm so behind the power curve, I don't even know how to properly script - or even know what the theory is behind it... I'm currently learning programming & no lecture has touched upon the subject.
Nano is something I look forward to learning, thanks Nixie.
The SSH server thing - very cool - thanks for sharing.
Lucky you - getting to live in Thailand !
Anytime, and I hope to return home soon. Let's just say I wasn't planning on living here.. it just kind of happened. :-P
Nixie Pixel
Nixie, please cd /home.
ZeroFossilFuel cd $HOME, or else you would be stuck in lala land.
thanks.... please more uploads
very good, your channel is top
Nice video!
Love you videos
Love the Oracle reference
Thanks for everything! Finally someone is making Linux fun and simple. Keep it up. Now, how about a review of a less known distro like Sparky Linux? It seems to have a lot of good stuff in there and comes in many flavors like Mate and OpenBox. Whaddayasay girl?!
Thanks for making this video, Nixie.
Just one thing: sending SIGKILL to a PID (kill -9 $PID) isn't really best practice; even though it's a common example and very often effective, since processes can't ignore it, the process also gets no chance to try to recover. Usually, you want at least to try sending signal 15, SIGTERM first, which sends an extremely firm nudge that imminent termination is expected. (Luckily, you don't have to remember the number, since TERM is also the no-argument default: kill $PID)
Trivia: when you sudo halt, the system actually sends TERM to all user-space PIDs, followed shortly by a KILL to handle any stragglers.
I found myself using Windows 7 the other day (for Photoshop). I held down ctrl+alt+t to open a Terminal, then I remembered where I was! I was instantly homesick for my Linux partition.
Nicely done !
love linux , it's free and fun!
You could use commands to watch all running proccesses in Windows to. Just info. And the command to kill is taskkill /IM 'processname/number'.
Most of what you could do in Linux is copy'd to Windows now. Use powershell, such a great tool.
Anyways nice video as allways. Good way to learn new stuff, so thank you.
where the hell have you been? its been forever since i seen a video pop up in my sub box!
Thanks. Just to clarify, though, these aren't bash commands, they're part of GNU. You can use other shells (eg. csh, zsh) and still use all of those commands.
Your example of using ps to kill something hogging resources works better with top I think. You should also always throw in man for any of these command line tutorials so people will learn they can go learn on their own (although for gnu stuff info might be better for some commands). While top is running your most important keys are q - quit, h - get help to learn all these cool keys, k - kill a task, r - renice a task (tell a task it is not as important as it thinks and doesn't get as high a percentage of resources as it is trying to hog or the converse), V - toggle forest, m - sort by memory usage, c - sort back by cpu usage (default when starting) , and sometimes i - toggle showing idle tasks (since tasks switch back and forth between idle and not a lot this might be deceptive).
sudo shutdown -h now - Shuts down the comp straight away.
sudo shutdown -r now - Reboots down the comp straight away.
sudo shutdown -h 03:00 - Shuts down the comp at 3AM.
sudo shutdown -r 15:00 - Reboots down the comp at 3PM.
You get the idea, the shutdown command is awesome. Especially if you want to leave the computer downloading for an hour or two and just get yourself off to bed :)
very nice indeed.
htop should be mentioned too. has to be installed, but is one of my favourite tools on the commandline to quickly check what takes all my ram or cpu,what the load is etc :)
+ it's pretty
Hope you are staying safe in Thailand!
aria2c (apt -get install aria2) does everything that wget can do, plus a few more tricks. Super handy for when that new version of comes out and all the mirrors are swamped.
pushd and popd also handy when you want to switch directories a lot, but don't want to open a new terminal.
Nixie: I recetly upgraded to Ubuntu 14.04 (from 12.04) and was quite disappointed. he performance was ok, at first. But I started to get weird slowdowns and program hangs.
Finally decided to try something new and installed Bodhi Linux. Wow! This Enlightenment17 is awsome! :) I'm not interested in using Unity anymore.
BTW: I downgraded my GF computer back to 12.04, last night.
Bit late to party but thanks for the vids.
That shirt! :D Need that for a friend working there. :D
"sudo poweroff" is better suited for the desktop environment. While "sudo halt" makes more sense in a datacenter when you need to do physical stuff.
i started my IT with manually commands in unix, but more to Solaris
,quite similiar
long time no see
Don't forget about top, htop, iotop and iftop if you wanna examine your hardware's current occupation! ;)
And for laptops with issues of unusually quick battery drainage, you might also add powertop to the list :-)
I just finished installing Ubuntu 14.04 LTS. Strange, I feel kooler somehow.
I like this feeling! Thank you for the help on all things Linux (Ubuntu).
Hi Nixie,
I've been a big fan of your Videos for some time noe. Especially for beginners they are a great help. i just have two questions regarding this video and the promotion for HotspotShield.
1. Is there an easy way to use Hotspot Shield on Linux? Afaik you have to configure it manualy without NetworkManager.
2. There was a Mac in the Video. Do you use Linux as your main OS? And if you do on which hardware?
Greetings from Germany..
Torsten
I am very impressed not to sound weird but wow you are a very good sale women. thank you for all the great video's. I was randomly searching and found your channel and low and behold I find a treasure trove of info thank you very much.
Nixie@zoidberg? Best hostname ever. woopwoopwoopwoopwoop!
"IT LOOKS LIKE CHROMIUM IS RUNNING IN THE BACKGROUND FOR SOME REASON"
Kill it with Fire.
Kali!
Nixie Pixel I'd really appreciate a video about shell scripting, writing shell scripts, the basic syntax (except for the stuff already known from just typing them into the terminal) and all that stuff. I know how to use the shell pretty well, but in all my 8 years of using Linux (out of 21 years of owning&using a PC), I never got around to actually write a shell script that is more than a sequence of commands connected by &&....So this would be a great starting point!
8 years in Linux - you've got me beat by 3 years! Keep on' keepin' on... I'll put shell scripts on the list for sure! ^.^
Nixie Pixel Thank you very much for that!
And: Yes, in 2006 I got my first high speed DSL line (rather late in comparison to the rest of my surroundings, I might add). By that time I tossed windows out of the window completely, just out of security reasons - and I anyways never really liked Microsoft, so there was the welcome opportunity. It was a steep learning curve at first, and from time to time it still is, but nothing one can't handle.
However, I always considered myself just a user, not a programmer - and I wouldn't dare administrating any other than my own machines (or PCs of friends and family who are more on the computer-illiterate side, so it's basically just a standard installation and a bit of maintenance). So during my 8 years of using Debian and Ubuntu Linux, I actually got around with issuing a compiler command only once or twice, and did only do simple modifications in shell scripts from time to time, unfortunately often without knowing what all that was I'm looking at (all the brackets and other strange characters and what they mean)...
Hey Seegal Galguntijak, my story is almost the same except I've started to learn programming at university.
I'd suggest guides on The Linux Documentation Project's page.
Long time Linux user here (16 years). I'm glad to see you learning a few basics, but please stop using kill -9. It's a very bad habit and will cause any experienced admin to cringe. It has it's place but shouldn't be used first.
In a nutshell, SIGKILL (the "-9" flag) can't be caught by a process, which means it can't clean up after itself. If, for instance, that process is in the middle of writing a file, it could leave the file in an unusable state, i.e. you could lose data. This might not be a problem for Chrome, but for something like MySQL, it could be big trouble. If you're curious about the details, ask Google. There is a pretty good article on Stack Overflow.
Nixie!!
wish i could get the hang of terminal like dos in the day
To kill a process, instead to grep for the name and then enter the PID, you could also just use pkill.
funny video, I replaced nano for vim, but I like it!
So is it going to be another month for the next video?
"On June 5, 2014, the number of Linux-compatible games on Steam reached 500"
Reposting on your most recent video :)
Nice way u teach command line love it!!! just increase lil bit of ur voice ,u will be the best then. ;0
Also what's the difference between Nano vs Leafpad and other linux based text editors that come preinstalled with many common Linux Distro's such as ubuntu, mint, etc.
One of the first things *I* install on a new Linux (Debian or Ubuntu) is joe and mc.. Nano is ok, but I'm much more used to joe, being it supports the old-yet-still-life-in-the-old-girl Wordstar commands.. Then theres mc, better known as MidnightCommander.. Takes me back to the old Norton Commander...
does hotspot shield agree to work with authorities if they ever run into the need to hand over information to the government or do they force the government to have some form of warrant or reasonable purpose and evidence to support this to get your information
Any chance you could write a google+ post about what you have been up to in thailand?
Hey nixie, i know for sure millions of guys must have complemented you. I guess, i should just say you are nice!!! ;-) BTW What profession really do you pursue? :D
Fresh
Are there any apps that let you manage multiple Debian virtual machines. Something like ubuntu's landscape.
thank you for your videos nixie... but whenever you're trying to explain something IDK for some reason i can not follow up... maybe try to slow down a bit... love your videos though
Nexie can u plz make some videos about networking?And some Hacking stuff?
I dunno. I tried running 'sudo halt' on XUbuntu 13.10 and it hangs the system pretty early on in the shutdown process...
Does anybody know how to install soundblaster x fi sound card drivers for Linux? I can find a possible Linux based drivers, yet I'm still a bit of a noob trying to learn Linux os
Could you please make a video on removing rootkits on linux (mint) manually. I just want to make sure that my computer doesn't get any viruses and my computer doesn't have an anti-virus. It'd be really helpful
- i prefer htop over ps unless i only need to quickly grep for a pid
- you can also use '$ killall process_name' instead of '$ kill pid'
where have you been?
love love love, =D
Still in thailand? Let's organize a meet up! :-)
tips for linux, and hotspot for windows? what did I miss? never mind!
Don't forget the null device ( 2>/dev/null ), I hate grep search without it
Hello from Nan.
Hey Nixie, could you teach us how could we have like a super user account* in linux ? ( i'm using the latest 14.04 )
* = I meant by that : have the permission of every folders, sub-folders and files inside them.
Thanks ! :D love the way that you teach us how to use Linux to people completely new like me ! :)
wget -O -c 24.txt .... Saves the file as "-c". Put that switch before -O or after 24.txt
Lance Robertson !!!
Hahaha, thinking of ssh as a girl brings a whole new meaning to tunnels and port forwarding ;) .. Also keys and keychains huh!?
Nice reference to H2G2 BTW.
I just installed nano Sunday for Fedora 20.
Star Wars Coffee... Where?
Ironic having Stallman as the thumbnail when he completely disregards anything Ubuntu.
question, what in the name of old mother are you doing in Thailand?
Its a shame that hotspot shield is banned where I am. Cant even access their website :(
is that OS X at 4:42?
I'm confused. You advertise hotspotshield, but they have no Linux version??
Would that Hotspot Shield run with WINE? That'd be cool :D
Bash commands, followed by Stallman, then Hotspot shield which is proprietary software available for OSX and Windows. Who exactly is the target audience of this video? Apple users with identity crises?
I hope you got a lot of money for including that advertisement.
Ok how can bash CONTINUE to resume the download when your internet " cuts out" meaning the service from your ISP goes down? ah..THAT IS IMPOSSIBLE. -_-