Top 5 Command Line Essentials - BASH Basics

Sdílet
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

Komentáře • 274

  • @NixiePixel
    @NixiePixel  Před 10 lety +322

    Stallman says... go watch my new command line video!
    Share if you care ♥ about #Linux

    • @ChristopherCalvert
      @ChristopherCalvert Před 10 lety +21

      Stallman Says: GNU/watch GNU/my GNU/video

    • @NixiePixel
      @NixiePixel  Před 10 lety +4

      Christopher Calvert
      Exxxcellent.

    • @Langeld83
      @Langeld83 Před 10 lety +1

      Christopher Calvert LOL

    • @Seegalgalguntijak
      @Seegalgalguntijak Před 10 lety +1

      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).

    • @MichaelRusso
      @MichaelRusso Před 10 lety

      Know it, use it all! Don't forget top and htop!

  • @metal571
    @metal571 Před 10 lety

    Awesome to see a new video from you! We all love and support you and always will

  • @DaveYates81
    @DaveYates81 Před 10 lety

    Nixie you look really well! I hope you're feeling better! thank you for your always useful videos! :)

  • @danielbenisti3664
    @danielbenisti3664 Před 4 lety

    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!

  • @mwilliams1220
    @mwilliams1220 Před 10 lety

    Thanks another great and informative video! I cannot wait to try grep and wget.

  • @jeffjohnson122
    @jeffjohnson122 Před 10 lety

    LTNS... always enjoy your vids. Thanks for sharing!

  • @ctsau17
    @ctsau17 Před 10 lety

    Great vid, will definitely try the sudo halt one

  • @toastenbagel
    @toastenbagel Před 10 lety

    Thank you so much for everything you do. I've learned so much from you!

  • @crizzlevideos
    @crizzlevideos Před 10 lety

    Thanks Nixie! As a newbie to linux, that was really helpful :)

  • @Nippernator
    @Nippernator Před 10 lety +1

    Gonna wait till I finish my A-levels then gonna learn commands when I go to uni! So pumped!

  • @portfedh
    @portfedh Před 3 lety

    This is excellent. Thank you!

  • @dctrex
    @dctrex Před 10 lety +1

    Niiiice! Learned something useful today!

  • @OverG88
    @OverG88 Před 10 lety

    Nice video. Loved it.

  • @EduardKaresli
    @EduardKaresli Před 10 lety +1

    Nice video, thanks Nixie.

  • @gwil6100
    @gwil6100 Před 6 lety

    Love this! Go Nixie x

  • @jamessmith4229
    @jamessmith4229 Před 10 lety

    Love the shirt, too!

  • @TheC551
    @TheC551 Před 10 lety

    Yah!! New Video
    Thanks Nixie

  • @TheTrabin
    @TheTrabin Před 10 lety

    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.

  • @moshirhemdan
    @moshirhemdan Před 10 lety

    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

  • @only1gameguru
    @only1gameguru Před 10 lety

    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

  • @tehflemin
    @tehflemin Před 10 lety

    Great vid Nixie :) Have you ever mentioned a preference in terminal?

  • @MRbeqa100
    @MRbeqa100 Před 10 lety

    Nixie you make me love linux...

  • @jubalrahl
    @jubalrahl Před 10 lety

    Thank you for being AWESOME!!!!!! :D

  • @mak9856
    @mak9856 Před 8 lety

    Ur awesome Nixie!!

  • @OnlyKnowsGod
    @OnlyKnowsGod Před 10 lety

    Nixie.. We missed you.. I wish we could see you more regular.. Please post more often.. Hugs

  • @StrayedThermidor
    @StrayedThermidor Před 10 lety

    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.

  • @msnpassjan2004
    @msnpassjan2004 Před 10 lety +2

    The SSH server thing - very cool - thanks for sharing.
    Lucky you - getting to live in Thailand !

    • @NixiePixel
      @NixiePixel  Před 10 lety +4

      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

    • @zerolabs
      @zerolabs Před 10 lety +6

      Nixie Pixel
      Nixie, please cd /home.

    • @JeremieLong
      @JeremieLong Před 10 lety

      ZeroFossilFuel cd $HOME, or else you would be stuck in lala land.

  • @joelhernandezalvidrez3876

    thanks.... please more uploads

  • @hxsx3613
    @hxsx3613 Před 8 lety

    very good, your channel is top

  • @pbezunartea
    @pbezunartea Před 10 lety

    Nice video!

  • @raulrosasCaptain-nemece
    @raulrosasCaptain-nemece Před 10 lety

    Love you videos

  • @crashman4759
    @crashman4759 Před 8 lety

    Love the Oracle reference

  • @VincentMcNicoll
    @VincentMcNicoll Před 10 lety

    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?!

  • @TorHagemann
    @TorHagemann Před 10 lety

    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.

  • @Doomanoid1979
    @Doomanoid1979 Před 10 lety

    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.

  • @MikePoirier
    @MikePoirier Před 10 lety

    Nicely done !
    love linux , it's free and fun!

  • @supernorskfreak
    @supernorskfreak Před 10 lety

    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.

  • @deadcool3580
    @deadcool3580 Před 10 lety

    where the hell have you been? its been forever since i seen a video pop up in my sub box!

  • @TimTeatro
    @TimTeatro Před 10 lety

    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.

  • @PatrickPoet
    @PatrickPoet Před 10 lety

    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).

  • @DavidTurner-Tripmonkey
    @DavidTurner-Tripmonkey Před 10 lety

    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 :)

  • @highcc
    @highcc Před 10 lety

    very nice indeed.

  • @dervolker
    @dervolker Před 10 lety

    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

  • @ADAMOTERRA
    @ADAMOTERRA Před 10 lety +1

    Hope you are staying safe in Thailand!

  • @UltramaticOrange
    @UltramaticOrange Před 10 lety

    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.

  • @dmonat
    @dmonat Před 10 lety

    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.

  • @MatthewSwartIreland
    @MatthewSwartIreland Před 10 lety

    Bit late to party but thanks for the vids.

  • @andreasderstarke4169
    @andreasderstarke4169 Před 8 lety

    That shirt! :D Need that for a friend working there. :D

  • @tedkraan9348
    @tedkraan9348 Před 9 lety

    "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.

  • @zainuddinbrahim4625
    @zainuddinbrahim4625 Před 5 lety

    i started my IT with manually commands in unix, but more to Solaris
    ,quite similiar

  • @jackgray2217
    @jackgray2217 Před 10 lety

    long time no see

  • @sebastianbeetz3463
    @sebastianbeetz3463 Před 10 lety +1

    Don't forget about top, htop, iotop and iftop if you wanna examine your hardware's current occupation! ;)

    • @Seegalgalguntijak
      @Seegalgalguntijak Před 10 lety +2

      And for laptops with issues of unusually quick battery drainage, you might also add powertop to the list :-)

  • @TheMilohemlock
    @TheMilohemlock Před 10 lety

    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).

  • @torstenspickhofen
    @torstenspickhofen Před 10 lety

    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

  • @tigersax93
    @tigersax93 Před 10 lety

    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.

  • @bilange
    @bilange Před 10 lety

    Nixie@zoidberg? Best hostname ever. woopwoopwoopwoopwoop!

  • @QuizmasterLaw
    @QuizmasterLaw Před 6 lety

    "IT LOOKS LIKE CHROMIUM IS RUNNING IN THE BACKGROUND FOR SOME REASON"
    Kill it with Fire.

  • @NorthWolfe
    @NorthWolfe Před 10 lety

    Kali!

  • @Seegalgalguntijak
    @Seegalgalguntijak Před 10 lety +2

    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!

    • @NixiePixel
      @NixiePixel  Před 10 lety

      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! ^.^

    • @Seegalgalguntijak
      @Seegalgalguntijak Před 10 lety

      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)...

    • @axxization
      @axxization Před 10 lety

      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.

  • @JasonSFuller
    @JasonSFuller Před 10 lety

    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.

  • @jeffpro8
    @jeffpro8 Před 10 lety

    Nixie!!

  • @max-power29
    @max-power29 Před 9 lety

    wish i could get the hang of terminal like dos in the day

  • @StefanGruber
    @StefanGruber Před 10 lety

    To kill a process, instead to grep for the name and then enter the PID, you could also just use pkill.

  • @christiantomaspellicer3920

    funny video, I replaced nano for vim, but I like it!

  • @TheJkilla11
    @TheJkilla11 Před 10 lety

    So is it going to be another month for the next video?

  • @Skrayper
    @Skrayper Před 10 lety

    "On June 5, 2014, the number of Linux-compatible games on Steam reached 500"
    Reposting on your most recent video :)

  • @Ibrahimkhan-si8rj
    @Ibrahimkhan-si8rj Před 10 lety

    Nice way u teach command line love it!!! just increase lil bit of ur voice ,u will be the best then. ;0

  • @tpcs8667
    @tpcs8667 Před 10 lety

    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.

  • @lvsluggo007
    @lvsluggo007 Před 10 lety

    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...

  • @OpMedDev
    @OpMedDev Před 9 lety

    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

  • @sadiporter2966
    @sadiporter2966 Před 10 lety

    Any chance you could write a google+ post about what you have been up to in thailand?

  • @TheMandarG
    @TheMandarG Před 10 lety

    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

  • @armandogonzalez999
    @armandogonzalez999 Před 5 lety

    Fresh

  • @thecodemasterxl9682
    @thecodemasterxl9682 Před 10 lety

    Are there any apps that let you manage multiple Debian virtual machines. Something like ubuntu's landscape.

  • @lawlelo
    @lawlelo Před 10 lety

    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

  • @tehseenhashmi5347
    @tehseenhashmi5347 Před 8 lety

    Nexie can u plz make some videos about networking?And some Hacking stuff?

  • @DarylVanHumbeck
    @DarylVanHumbeck Před 10 lety

    I dunno. I tried running 'sudo halt' on XUbuntu 13.10 and it hangs the system pretty early on in the shutdown process...

  • @madmax13326
    @madmax13326 Před 10 lety

    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

  • @leslieasuncion7739
    @leslieasuncion7739 Před 10 lety

    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

  • @vicofour
    @vicofour Před 10 lety

    - 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'

  • @NathanDavis2
    @NathanDavis2 Před 10 lety

    where have you been?

  • @Antonbrehbrahbruh
    @Antonbrehbrahbruh Před 10 lety

    love love love, =D

  • @homfes
    @homfes Před 10 lety

    Still in thailand? Let's organize a meet up! :-)

  • @JuanLuis-fs4gt
    @JuanLuis-fs4gt Před 10 lety

    tips for linux, and hotspot for windows? what did I miss? never mind!

  • @MO-hq4iz
    @MO-hq4iz Před 10 lety

    Don't forget the null device ( 2>/dev/null ), I hate grep search without it

  • @SwordzLeeNinja
    @SwordzLeeNinja Před 10 lety

    Hello from Nan.

  • @sonic4062
    @sonic4062 Před 10 lety

    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 ! :)

  • @stevemcgf
    @stevemcgf Před 10 lety

    wget -O -c 24.txt .... Saves the file as "-c". Put that switch before -O or after 24.txt

  • @davidcooltions4523
    @davidcooltions4523 Před 9 lety

    Lance Robertson !!!

  • @old486whizz
    @old486whizz Před 10 lety

    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.

  • @jasondowning992
    @jasondowning992 Před 10 lety

    I just installed nano Sunday for Fedora 20.

  • @MichelangeloSosa
    @MichelangeloSosa Před 10 lety

    Star Wars Coffee... Where?

  • @ambassadorofpain1
    @ambassadorofpain1 Před 10 lety

    Ironic having Stallman as the thumbnail when he completely disregards anything Ubuntu.

  • @pacman10182
    @pacman10182 Před 10 lety

    question, what in the name of old mother are you doing in Thailand?

  • @basheerparvez
    @basheerparvez Před 10 lety

    Its a shame that hotspot shield is banned where I am. Cant even access their website :(

  • @PeperMintification
    @PeperMintification Před 8 lety

    is that OS X at 4:42?

  • @QlueDuPlessis
    @QlueDuPlessis Před 10 lety

    I'm confused. You advertise hotspotshield, but they have no Linux version??

  • @stewved
    @stewved Před 10 lety

    Would that Hotspot Shield run with WINE? That'd be cool :D

  • @SWGINSPECTOR
    @SWGINSPECTOR Před 10 lety

    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.

  • @tpcs8667
    @tpcs8667 Před 10 lety

    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. -_-