Linux Tip | 10 Useful Linux Commands

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 430

  • @TesserId
    @TesserId 3 года назад +4

    Being pedantic again, sorry: strictly speaking, `cd` is a shell command, not a system command, which is why it doesn't have it's own manpage. You can actually find it with `man bash`. But don't do that. Use Bash's `help cd` command, instead. Oh, and also you can `help help`. (Also as a scripter, I went ahead and downloaded the Bash documentation to my local hard drive so that I can study it in a browser.)

    • @shellgenius
      @shellgenius Год назад +1

      Man bash
      Info bash
      Whatis bash
      Help bash
      Which bash

  • @RudyBleeker
    @RudyBleeker 8 лет назад +49

    As Joe explains, when you use the 'touch' command without any options it will set the time of the file you give as an argument to the current time. But it's good to note that you can use 'touch' to set the time of a file to anything you want with the -d option. This option will even understand a bit of natural language, for example "touch -d yesterday file" will set the time of "file" 24 hours in the past.

  • @nakternal
    @nakternal 8 лет назад +305

    Just subscribed. Finally someone who can explain Linux without putting me to sleep or pissing me off with goofy nerd trying to be cool humor or lack of.

    • @EzeeLinux
      @EzeeLinux  8 лет назад +19

      +nakternal Thanks. That's what I'm trying to do :)

    • @asdfkjhlk34
      @asdfkjhlk34 7 лет назад +4

      Agree

    • @EzeeLinux
      @EzeeLinux  7 лет назад +5

      :)

    • @AndrewPayne
      @AndrewPayne 6 лет назад +1

      Totally agree

    • @TheUtuber999
      @TheUtuber999 6 лет назад +16

      nakternal
      If you're using Linux you're already a nerd - might as well wear the label proudly.

  • @davidwayne9982
    @davidwayne9982 2 года назад +2

    As much as I hate coding and boring letter stuff-- guess it's time I learned some of the basic commands at least.. and I wanted to learn from you-- YOU make more sense teaching things...and there's no wasted fluff!!!

  • @dharmang
    @dharmang 5 лет назад +55

    would like to add this command
    sudo !!
    this will add sudo to the previous command and execute it, if u forgot to add root permission

    • @LloydLynx
      @LloydLynx 4 года назад +2

      That would have been useful earlier today... very, very useful...

  • @mohittheanand
    @mohittheanand 7 лет назад +136

    for clearing instead of "clear", just use ctrl+L

    • @EzeeLinux
      @EzeeLinux  7 лет назад +45

      That doesn't work on every terminal and I was trying to keep this video very close to the basics as possible. :)

    • @cagedtigersteve
      @cagedtigersteve 5 лет назад +13

      clear will erase your scrollback so you may want to do ctrl+L instead to preserve your scrollback (same as clear -x)

    • @amparorod2000
      @amparorod2000 5 лет назад +5

      The clear command only clears commands from the screen.
      But if you use history -c, the c option means clear. this will clear everything you typed when you opened the terminal. But if you never use this command before and you think all the commands you have typed are gone by using the clear command then you are wrong. There is this file that keeps all the commands that you have used. This file is called .bash_histor. But that's when you exit the terminal. All the commands will save.

    • @Void_Dragon
      @Void_Dragon 5 лет назад +3

      I prefer "reset"

    • @jamienordmeyer4345
      @jamienordmeyer4345 3 года назад

      Nice! I'm running WSL2 on Windows. Naturally, it works in my Linux environment, but it turns out that it works in PowerShell as well. But not cmd.

  • @CustomNameHere
    @CustomNameHere 8 лет назад +23

    I know this is being picky, but sda1, sda2, sdb1, sdb2, etc are PARTITIONS, not drives. sda1 is partition 1 on physical drive sda, and sdb2 is a partition on physdical drive sdb. I think it's important to use the correct terminology, especially for the audience you're trying to reach.
    I enjoy your videos, though. Keep up the great work !! :-)

    • @geodude9537
      @geodude9537 6 лет назад +2

      good point but he probably considered that common knowledge but we seem to forget there are complete newbies in the crowd

    • @firstspar
      @firstspar 5 лет назад +1

      Am new to Linux but a power/pro user in Windows. This comment was helpful.

  • @absdell5381
    @absdell5381 5 лет назад +10

    I am a beginner in learning Linux and other computer stuff. At first, I thought "why somebody is taking 34 minutes to tell about just 10 commands of Linux?" But it is really informative. Each minute of video is worth concentrating.

  • @momashi69
    @momashi69 5 лет назад +12

    Instead of doing:
    cat file.txt | less
    you can do:
    less file.txt
    Thanks for the which tip, been using linux cli for over ten years and I didn't know this.

    • @xrafter
      @xrafter 4 года назад

      Some commands needs you to do that

  • @gregorius62
    @gregorius62 7 лет назад +15

    There is no man page for cd because cd is part of the shell and is documented in the bash or other shell man page.

  • @g.5214
    @g.5214 8 лет назад +107

    Great video.
    I just want to add a thing:
    'cat' (abbreviation of concatenate) is actually used to concatenate (merge) two or more files.
    For example: cat file1.txt file2.txt file3.txt file_n.txt
    We can also redirect the output to, for instance, a file, like this:
    cat file1.txt file2.txt file3.txt > file_1_2_3.txt
    file_1_2_3.txt will consist of the contents of file1.txt, file2.txt and file3.txt
    Again, great video. Keep em coming.

    • @ariannamullen5809
      @ariannamullen5809 7 лет назад

      sksmd

    • @TheUtuber999
      @TheUtuber999 6 лет назад

      Goran
      It *can* be used that way, but its typical use is to print the contents of a single file to standard output (ie. the terminal).

    • @marekrudnicki4645
      @marekrudnicki4645 6 лет назад +2

      cat is an abbreviation of catenate not concatenate.

    • @alexwells2231
      @alexwells2231 4 года назад

      Also > overwrites the file >> appends to the file

  • @IrizarryBrandon
    @IrizarryBrandon 8 лет назад +9

    Great "Linux Level 2" video - once we've gotten past cd, mv, ls, rm, and so on, we now have some cool commands that make life easier for us. In particular, I didn't know you could use shutdown -h as a kind of reverse alarm clock. Also, I find blkid useful for detecting USB drives. Thanks!

  • @runemllerbarnkob7971
    @runemllerbarnkob7971 7 лет назад +1

    Isn't this basically about GNU tools?
    Linux is just the kernel, same goes for *BSD, Solaris, AIX, IRIX, HP UX...

  • @FeelingShred
    @FeelingShred 6 лет назад +2

    My 3 most useful at the moment:
    1) sudo sysctl -w vm.drop_caches=3 Reclaims free memory, avoid hang ups
    2) chmod +x /path/path/filename Makes a file executable (only local disk)
    3) sudo apt clean Clean apt cache

  • @freddychampagne4467
    @freddychampagne4467 6 лет назад +3

    It's late to tell you, but man is only for 'transient' commands.
    cd is an internal command inside bash (the shell).
    Help for internal commands of the shell is availlable with -> help
    so for your 'cd' command you would type -> help cd, and voila: there is the description of the command cd including all options ;)
    Additional info: cd without any 'arguments' puts you in your home directory, so it's not needed to type cd ~. cd on it's own is enough for going home ;)

  • @xekis
    @xekis 8 лет назад +5

    You can also search inside of less with "/". "-i" will toggle case sensitivity (though if your pattern has caps it will still assume case sensitivity. "n" for next, "b" for back. Very useful for large text files.

  • @88Xlmk
    @88Xlmk 3 года назад +1

    Sorry, just can't help it:
    The file needs an adult :D

  • @davinonnenmacher7272
    @davinonnenmacher7272 5 лет назад +6

    "And you become yourself once again" - Joe Collins, 2016

  • @vertigo6982
    @vertigo6982 5 лет назад +3

    Top 2 commands I suggest first to learn. #1 ' man intro ' #2 ' vimtutor '. If you use those to commands, and read everything contained in those commands, then you wont need to ask for help... for a long while.

  • @davilathegreat
    @davilathegreat 6 лет назад +1

    Man, Puppy Linux is weird. One thing it does is opens a browser when you use the "man" command. I'm always root, unless I choose to be "Spot" (it says somewhere why, but I'll have to read up on that again). This is all so cool, though. Two months into playing around with Linux! I'm only mad at myself for not playing with it years ago.

  • @motoryzen
    @motoryzen 2 года назад

    10:15 to 10:26..
    if it's native windows program or game..here's one way you can do that.
    right click on your mint desktop..select " Create a launcher"
    in the command field type the following info below at the beginning.
    wine start /unix
    note the one spacebar press between /unix and the exact path of the .exe file ans ensure one space bar press between wine and start .so an example could be
    wine start /unix '/home/WhatINamedThisPc/.wine/drive_c/Program Files (x86)/amnesia/rest/Launcher.exe'
    the exact path of that .exe could need either apostrophes or quotations depending on if it lives ín the same drive as Linux Mint...OR if it is a completely separate physical drive.
    cheers

  • @undaya
    @undaya Год назад

    Want to clear some kernels. Space? Sound (dummy terminal ). Desktop. Audio card analoge stereo. Have to show where sound is by unplugging and plugging.

  • @asmaao908
    @asmaao908 7 лет назад +2

    soooo sooooo useful thanks a lot man I have an exam tomorrow . before I listened to this vidio I have zero idea about this freaking commands 😹😸 but now I'm a professional in 34min 😎💪 isn't it looks so great.

  • @scottb4029
    @scottb4029 2 года назад

    I love the entomology of sayings. I have always wondered where the saying " more than one way to skin a cat " came from. Seems brutal, or is it just me? And does anyone else visualize the cat as still being alive? Maybe that is why I see it as brutal. Good stuff. Your bash playlist is the best on the web. Thanks a bunch.

  • @themadhack3r431
    @themadhack3r431 5 лет назад +5

    165 haters saw this video 😂 Been a power user for many many years while these videos are aimed at new users I always learn or remember something I forgot. 165 haters 165 dislikes. I don't get it, Joe is very clear on his videos even a noob can get it witch is awesome! We need this MS and Apple are too nosey and downright intrusive on our data. More people need to use linux or bsd. Joe is doing community service here. No matter what the video I always leave a like.

    • @tubegor
      @tubegor 5 лет назад +2

      I also can not understand, how someone can dislike valuable help.

  • @frgging
    @frgging 8 лет назад +3

    Some alternatives of some commands in this video for productivity
    killall -> xkill
    ls -l -> la (in some distroes)
    clear -> Ctrl + L
    ctrl + alt +f7 back to GUI from tty

    • @sranstankovic233
      @sranstankovic233 5 лет назад

      Also for ls -l if you don't have it in your distro you can always edit ~/.bashrc file and add alias like so :
      alias la="ls -l"

    • @JakeSmith-fz9fp
      @JakeSmith-fz9fp 4 года назад

      @@sranstankovic233 it should be
      alias la="ls -l --almost-all"

  • @williamjames9466
    @williamjames9466 5 лет назад +2

    Humour and genuineness holds my attention making the subject interesting and the video attention grabbing.

  • @theblackcatvieweraccount5402
    @theblackcatvieweraccount5402 4 года назад +2

    "Shutdown -t 2" is useful for updating before bed. It'll finish the update and shutdown. For large updates I recommend "Shutdown -t 5" or 10 depending on the size of the update.

    • @gutoguto0873
      @gutoguto0873 2 года назад

      Can’t you queue a command once the update is done?

  • @mwgary
    @mwgary 6 лет назад +1

    What about kill -9 (pid). That usually does does the trick. Failing that, xkill works wonders too.

  • @alfredo5984
    @alfredo5984 5 лет назад +2

    man woman
    🌚

  • @jayglenn837
    @jayglenn837 6 лет назад +6

    "Actually, less is more." You're kidding!

    • @freesxsoccer
      @freesxsoccer 4 года назад +2

      Jay Glenn had that same joke made in an assignment I had in undergrad lol

    • @xrafter
      @xrafter 4 года назад

      Less - opposite of more

    • @greatwavefan397
      @greatwavefan397 3 года назад

      Ah, a fellow minimalist.

  • @marko11kram
    @marko11kram 5 лет назад +1

    is there a differance between killall and kill -9 ?

    • @EzeeLinux
      @EzeeLinux  5 лет назад +2

      As far as I know, killall goes after every running process with the name you pas to it while kill -9 just kills one. :)

    • @marko11kram
      @marko11kram 5 лет назад

      ok, interesting, i usually want to kill just one tree of processes. killing other peoples processes would cause problems.
      I would first, of course use ps -ef | grep (process name) | more to find the process i want to kill@@EzeeLinux

    • @mindright9771
      @mindright9771 5 лет назад +1

      @@EzeeLinux Correct. Or you could use "top" and then type "Kill-9" to kill that process. Either way works.

  • @sandysamuelofficial
    @sandysamuelofficial 4 года назад +1

    Your video is very clear and well explained, thank you!

  • @cagedtigersteve
    @cagedtigersteve 5 лет назад +2

    su - cindy
    change to cindy but you start in /home/cindy

  • @15lastone
    @15lastone 4 года назад

    I am currently using centoOS 8 but I forgot my root password, I need help to reset it

  • @demiwodnatenate6849
    @demiwodnatenate6849 5 лет назад

    nice vedio annoying voice a certified ethical hacker you should work for my group

  • @rv-ollie
    @rv-ollie 6 лет назад +1

    Well, if you like the cat command, you might have a need for 'tac' as well. Try it. I've only used it once or twice.

  • @rickgaine3476
    @rickgaine3476 7 лет назад +3

    Just because a host response to a ping, that does not mean the web server is running.

    • @SupremeNerd
      @SupremeNerd 4 года назад

      that doesnt make sense.please explain

  • @GaetanoSalvatoreFalco
    @GaetanoSalvatoreFalco 5 лет назад

    Kill sends signal, it doesn't kill..

  • @sonaminsan891
    @sonaminsan891 3 года назад

    can u plz tell me that for linux which software i should for more practise

  • @davidrmcmahon
    @davidrmcmahon 3 года назад

    I still feel like a hacker checking my uptime or updating via the terminal

  • @clav7711
    @clav7711 7 лет назад +1

    🙏🏻🙏🏻🙏🏻 I ear a book page !!! Oh my thanks a lot to explains that for us :) thanks thanks thanks

  • @RonJohn63
    @RonJohn63 5 лет назад

    To kill FF while retaining all tabs, "killall -9 firefox" is helpful.
    Chromium is a bit trickier, though. This is what I do:
    alias kill_chromium='kill -9 `pgrep chromium`'
    which(1) says where *in your search path* the file is, not where it is. You need find(1) or locate(1) for that.
    I like mtr(1) instead of ping, because some sites block ICMP echo.
    What about "more longfile.txt"?
    "su - cindy" brings you to her $HOME, and in her context.
    "cd" is built into bash, so you type "help cd".

  • @MindoverMatrix2012
    @MindoverMatrix2012 7 лет назад +1

    Thanks! I'm learning your great knowledge and information, much appreciated.

  • @_shuai_game
    @_shuai_game 6 лет назад +1

    why did you know Cindy's password!!

    • @EzeeLinux
      @EzeeLinux  6 лет назад

      A good SysAdimin knows EVERYBODY'S password. :)

  • @cosmicslime1496
    @cosmicslime1496 3 года назад

    I have never heard anyone unironically say salutations before

  • @RGD2k
    @RGD2k 4 года назад +1

    CTRL-ALT-T : usually 'open a new terminal', on most linux gui desktops.
    CTRL-D : how I usually close a terminal (on a blank line. It's the 'end of file' character, which tells bash that it's done, and it can shut itself down)
    cd : just cd by itself -> it's a shortcut which takes you to your home. No need to type 'cd ~'
    CTRL-Q ( if you accidentally hit CTRL-S when reaching for CTRL-D, it'll seem like it's frozen... because that's what CTRL-S does.... CTRL-Q tells it to continue)
    TAB : by far the most useful key, safe to press randomly / multiply. Will try to finish typing filenames or directories, but only as far as it can before there's a choice to make... double-TAB will make it display what choices there are -- type one more letter, then hit tab again.
    This last one makes the command line nice to use, because you won't have to be touch-typing perfectly all the time.
    Once you get used to it, the way tab-completion works on windows will annoy -- it's not nearly as nice to you, forcing you to sit there and hit it over and over again while it trys one file after another... So stupid! But that's the biggest difference between Linux and Windows. Annoying things aren't welcome.

    • @northof-62
      @northof-62 4 года назад +1

      Open terminal also with WIndows-Key + T

    • @kaustubhmurumkar2670
      @kaustubhmurumkar2670 4 года назад

      Thanks Ctrl+Q was most helpful, didn't know that

  • @SupremeNerd
    @SupremeNerd 4 года назад +1

    you just earned a new sub. thanks for the info. (new Linux Mint user here)

  • @KamenDokov
    @KamenDokov 5 лет назад

    Just google what you want to know. You are not the first one with that drama. ;)

  • @gozanostra
    @gozanostra 7 лет назад +1

    Your voice sounds like Jacoby Shaddix from Papa Roach when speaking :D

  • @kahlschlag17
    @kahlschlag17 5 лет назад +2

    ifconfig & top are missing here.

  • @sakugava
    @sakugava 3 года назад

    The most useful command in this video: clear

  • @alejandrojerez1492
    @alejandrojerez1492 3 года назад

    The touch command is awesome. Go Linux!

  • @mrcvry
    @mrcvry 3 года назад

    There is only one command you need to know - „man“! 😄

  • @gizzmoguy.
    @gizzmoguy. 8 лет назад +1

    These are the kind of videos that make me like Linux more and more each thanks for the video keep the good work

  • @HebaruSan
    @HebaruSan 7 лет назад +1

    "killall -HUP" (using the hang up signal instead of terminate) can give the program a chance to clean up, depending on how it's written.

    • @HebaruSan
      @HebaruSan 7 лет назад

      "mkdir -p" is great for ensuring that a path exists in a script, because if any of the parent directories are missing it'll create them for you as well.

  • @oriongalactic
    @oriongalactic 5 лет назад +1

    What program did you use to capture the screen in Linux for the video?

    • @EzeeLinux
      @EzeeLinux  5 лет назад +2

      SImpleScreenRecorder. :)

  • @mibdev
    @mibdev 7 лет назад +2

    "You can do all kinds of things"
    Like remove all files.

    • @cyberp0et
      @cyberp0et 5 лет назад +1

      Or kill the GUI ;)

  • @cornlow
    @cornlow 8 лет назад +1

    I really like your teaching style and thank you so much for this video. You ROCK!

  • @shaheer5547
    @shaheer5547 4 года назад

    What's difference in sudo su - and sudo -s

  • @rickcontreras59
    @rickcontreras59 4 года назад

    What is best software to use to make copy of Linux harddrive

  • @GrowMTBF
    @GrowMTBF 8 лет назад +1

    There is no man page for the 'cd' command... because it is a SHELL construct/command. Do a man on bash (or ksh, csh, ...) and you will find it explained there.

    • @bevintx5440
      @bevintx5440 5 лет назад

      True for all shell built-in commands. It's possible to learn a great deal by reading your shell's man pages.

    • @kaustubhmurumkar2670
      @kaustubhmurumkar2670 4 года назад

      help cd

  • @ArturKorobeynyk
    @ArturKorobeynyk 7 лет назад +1

    "Greetings and salutations"... I loved Might and Magic 6 too back in the days.

    • @EzeeLinux
      @EzeeLinux  7 лет назад

      It comes from when I was in school for radio... One of my teachers used to say that on the air. :)

  • @lufra0mon
    @lufra0mon 3 года назад

    I might be wrong, but you could actually run 'touch {file1,file2,file3,etc}.txt' and it would create all the files separated by coma with the .txt at the end. Saves a whole bunch of time.

    • @EzeeLinux
      @EzeeLinux  3 года назад

      Nope. You can do that with spaces as separators but not commas.. :)

    • @lufra0mon
      @lufra0mon 3 года назад

      @@EzeeLinux Ohhh right, haven't used that one in a long while, my bad xD

  • @gjermundification
    @gjermundification 8 лет назад +2

    less is more

  • @TesserId
    @TesserId 3 года назад

    export PAGER=less
    The man command, among others uses this. Most Linux systems have it set this way, but you might find that it's something else on some systems. Also, I always thought it was funny that AIX hardware techs would use the really primitive pg command, which still exists, and is useful when working at the really, really low levels that hardware people often do.

  • @AlarusOne
    @AlarusOne 8 лет назад +1

    Awesome! I learned some new things today. Thanks. :)

  • @source8093
    @source8093 4 года назад

    Don't scare DOS people by talking about touch command! :D
    Well, IMHO it's most useful to test inside .BAT file (:D) if you have write permission to file/directory .
    I love shell scripts. Had to install WSL to my windows-PC at work to write script. And to compile some C.
    Of course I installed Linux on virtualbox (and other instance into real partition (and after that claimed to boss that I really need new SSD because I am running out of disk space) to feel as I were home. (Linux user since 1995. Yes, I am old).
    But I need to use f*king Autodesk apps at work, so windows is going to stay at that computer:(
    Cheese... starting to be too much drunk and hating windoze. Why not.
    Edit: Nice video. Satisfied my daily Linux needs. Subscribed.
    PS: Please do video about awk. That will really make GUI people go nuts!

  • @motoryzen
    @motoryzen 4 года назад +1

    9:40 onwards= a headache saver for me. Thanks Joe

  • @xerionix2195
    @xerionix2195 4 года назад

    10:00 it may install and not create a launcher .. and you have to know the name of the package .. and search where the hell it is.. there is no executable file as in windows for all are executable files in linux... tell me which f... folder has the executable. i am not sure if it has installed anything; if someone else- a hacker maybe- created a file it seems it would/may not prompt to ask a permission to install nor show to a basic user any sign of any software installed .. i would call that command wherethehell ... so primitive and exasperating an experience..i think, that's why many people prefer windows. nice video i like it, thank you.. but i did not like the idea of running after things in computer, like a mother running after a spoiled kid...

    • @EzeeLinux
      @EzeeLinux  4 года назад

      What you're talking about is an extremely rare thing. Yes, there is an executable file and yes you can easily create a launcher if it does. You just don't know how. A little research will take care of that. Plus, there are man y programs in Linux that are not designed to run from a menu but are for the command line only. they don't have launchers. Look before you leap when installing software. :)

    • @xerionix2195
      @xerionix2195 4 года назад

      @@EzeeLinux o.k. :) even if i don't like it, i will learn it- now i will learn how to create laucher. i was looking for a feat for myself- linux first and pyhton 2nd. thank you for the info you have shared. have a lovely day.

  • @mohittheanand
    @mohittheanand 7 лет назад +1

    to copy from terminal use ctrl+ shift+ c,
    to paste use ctrl+ shift+ v
    to open a new tab in terminal use ctrl+shift+t.
    to close a terminal tab use ctrl+ shift+ w.

    • @EzeeLinux
      @EzeeLinux  7 лет назад +1

      Once again, not in every terminal... :)

    • @mohittheanand
      @mohittheanand 7 лет назад

      Joe Collins works in mint ☺

    • @mohittheanand
      @mohittheanand 7 лет назад

      anyway, great videos

  • @wildmanjeff42
    @wildmanjeff42 5 лет назад +1

    thanks for the videos. have learned a lot from your channel. If I could just find my perfect distro now :) like debian neptune and mint (I am still newbie-but learning it. )

  • @vapon
    @vapon 7 лет назад +5

    You can also do a *search* with *less* (among other things), by pressing '/'

  • @phatamgiang8148
    @phatamgiang8148 7 лет назад

    Hi Joe,
    I have a simple problem, if it's in Windows, it wouldn't be a problem.
    I use Linux Mint 18.1 and this is the scenerio:
    Nautilus told me I have an internal drive name ABC and a USB drive named DEF. I would like to copy file from drive ABC to drive DEF, how would I issue the command in Terminal???
    Please help me! I am a Linux neubie.
    Thanks a lot, Joe.

  • @kevin34ct
    @kevin34ct 4 года назад

    One command I find odd that isn't installed is traceroute (I know there is a package you can install). That along with the ping tool are very much needed to find a fault in a connection to a server. It can tell where the "break" is. It's helped me on Windows systems to find out that a local server was down. (Corporate server in another location). The fix was to force a reroute to a backup server. The reason it wasn't automatic was because the other server was 3000 miles away and didn't have everything that was needed. It was better to see it down so that it could be fixed quickly.

  • @ComandanteJ
    @ComandanteJ 8 лет назад +4

    Finished the vid. REally bare-bones list here, i dont think you can use linux without many of these. Very good for complete begginers, for sure.

  • @uniquechannelnames
    @uniquechannelnames 3 года назад

    Just a little thing with the whole 'less' & 'more' scrolling thing. You can also set buttons to scroll either a half-page or a full page. ex: my half page is 'Shift + Down', scroll full page down 'Shift + Alt + Down'.
    So if I want to be scrolling half pages I just push shift then the desired direction. For full-page scrolling, do shift+alt then up or down for faster scrolling works great for me!

  • @monday6740
    @monday6740 5 лет назад

    9:50 The WHICH command relies on the PATH variable, it totally ignores other copies of the same executable file on your computer, if not specified in PATH. Actually, nobody says that the paths in your PATH variable actually exist. The main reason to use WHICH is when you have multiple copies of a same-named executable spread out over different structures (path). But, also having those paths in the PATH variable. The order determines which one is used.

  • @15lastone
    @15lastone 4 года назад

    Thanks a lot really appreciate it, outstanding tutorial. One question I am using centoOS however I forgot my root password how can I reset it please, Thanks

  • @johnnywhite1681
    @johnnywhite1681 4 года назад

    Man pages are great. I can't count how many times the man pages have been helpful. Do yourself a favor and get in the habit of reading the man pages of any program you install.

  • @pnachtwey
    @pnachtwey 4 года назад

    I learned the which command. I had always used the Find / -executable -name file.ext.
    Debian is the root operating system that many of the others are derived like ubuntu and mint.
    I also use apt-get and dpkgs for installing and removing packages.

  • @gimcrack555
    @gimcrack555 7 лет назад

    I click on random links about Linux. Just to learn something new, or keep me refresh on commands I already know. That touch timestamp, I really didn't know that one. And will keep that fresh in my mind. That command can come in handy at times. Really like this video. So thumbs up.

  • @SuperRahul73
    @SuperRahul73 5 лет назад

    Thats not true, If desktop hangs up you can bring up terminal or use tty terminal!!
    In 'kernel panic' situation nothing works !! You need to reboot only!!!
    Days are gone, when Desktoo GUI kept crashing.

  • @snsm6730
    @snsm6730 8 лет назад

    I agree, looks more for beginners but that is fine. You gotta start some
    place and the CL gives you options and is very powerful tool in Linux.
    Don't be intimidated, learn these and then keep adding new ones...8-)

  • @elektron2kim666
    @elektron2kim666 5 лет назад

    With the terminal in live boot I was able to remove a couple of files in my Pop-os install where I accidentally filled up the place with virtual disks of several GB and stopped the system with 0 bytes of free space. The startup worked after that. 7-8 GB of free space was required to show me a login. It's complicated to make oneself root/admin in Linux and give permission to be all over the place, but it worked and was funny to try and solve something like that. I think most terminal commands are well explained on the internet now.

  • @lifewithglee
    @lifewithglee 3 года назад

    The ctrl alt F4 real terminal has been a saver for me although on a serious hang the TTY has been slow to process the login before I'm able to type "reboot." I only learned recently that ctrl alt F4 followed by ctrl alt del cuts out the authentication and its wait to give a clean shutdown/reboot

  • @NomadicDmitry
    @NomadicDmitry 4 года назад

    The "touch" command is probably one of the primary ways why you would need to use a terminal in the first place. Great one!

  • @cyberp0et
    @cyberp0et 5 лет назад +4

    This reminds me of MS-DOS command prompt.
    I need to pracice more of these on Linux.

  • @joetheman74
    @joetheman74 4 года назад

    As for "which" command, I didn't know that one but I use "whereis" This command will not just tell you where the launch file is but will tell you where all the files related to the program are. It will often give multiple directories for libraries and other related files.

  • @shadowvlaxd8769
    @shadowvlaxd8769 4 года назад

    I'm on a chromebook maybe next month ima get my first windows computer and the first thing I'm gonna do is open the terminal xd

  • @acejinwoo
    @acejinwoo 5 лет назад

    Very gud. Presently i am working to take my Linux knowledge to the next level so hopefully this time next year i too will be capable of making videos like this!

  • @dallase1
    @dallase1 5 лет назад

    I've had to use Ctrl Alt F4 a few times with MATE and would either do a Ctrl Alt Del or a shutdown command or reboot command.

  • @ThomasWeeks
    @ThomasWeeks 6 лет назад +1

    Instead of typing "clear", try CTRL-L :)

    • @EzeeLinux
      @EzeeLinux  6 лет назад

      I do./ It doesn't work in every terminal, though. That;s why I typed it in these videos. :)

    • @ThomasWeeks
      @ThomasWeeks 6 лет назад

      Really? Never found a terminal it doesn't work in. It even works in Mac OSX bash. (except maybe putty.. which is just wrong ;)

  • @wiseguy7224
    @wiseguy7224 5 лет назад

    The "cd" command is not a "basic system function". In most case it is an intrinsic function of the shell you're using. When you submit "man cd" in a bash you will be directed to the bash builtin man page.

  • @dehydratedwatr
    @dehydratedwatr 4 года назад

    Thanks again for the knowledge.
    P.s. i dont skip your adds out of respect. Knowledge should be free but it isnt.

  • @TesserId
    @TesserId 3 года назад

    My favorite use of touch is to match timestamps with other files: touch -r otherfile.txt
    And, there are reasons to get pedantic about the three different kinds of time stamps at the more advanced levels: ctime, mtime, and atime.

  • @SabiazothPsyche
    @SabiazothPsyche 5 лет назад

    Great useful tips. Powerful stuff... Something Windows forbids its customers to obtain and maintain. 👍

  • @RoadhawK66
    @RoadhawK66 5 лет назад

    Arrived here from another video where the comments exploded into a pronunciation war, bloody hilarious!!!

  • @mindright9771
    @mindright9771 5 лет назад

    Very good tutorial! I'm a long time Linux user and just wanted to check out your lessons. I will definitely recommend you to some of my students who are looking to learn about Linux commands. Aloha!

  • @CustomNameHere
    @CustomNameHere 8 лет назад

    su - cindy will allow you to log into Cindy's account AND take you to her home directory AND execute that account's login script.

    • @EzeeLinux
      @EzeeLinux  8 лет назад

      +Jeremy Nieuwoudt Yes, the administrator has full access to everyone's account. That's how it should be. :)

    • @CustomNameHere
      @CustomNameHere 8 лет назад

      +Ana Rita you're missing the point. The "dash" between su and Cindy saves you from having to change directories, set environment variables, etc. it allows the root user to completely assume the su'd user's account. I'm completely aware that root has to have complete access. I've spent over 25 years as a Unix system admin.

    • @EzeeLinux
      @EzeeLinux  8 лет назад

      +Jeremy Nieuwoudt Ah, You are correct and I didn't point that out in the video... I responded to the comment from Ann without looking closely at the original. Thanks for the input. :)