16 Linux Tips in 10 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • 16 Linux Tips in 10 Minutes
    Let's go over as many linux tips as we can as fast as we can. These are tips you all should know, but there will probably be a couple new ones in here. I also add bonus tips throughout. Timestamps below
    ---
    00:00 Introduction
    00:50 Killing Processes
    01:26 htop
    02:04 system-monitor
    02:43 bind hotkeys
    03:28 use workplaces
    04:05 SSH Usage
    05:27 Remote Access Programs
    06:08 Uptime Command
    06:34 Check Your Linux Version
    07:01 Neofetch
    07:17 TTY Black Screen
    08:25 cmatrix
    09:07 Auto-Mount Drives
    10:39 UUID - BLKID
    10:53 List Drives
    11:24 sudo !!
    12:02 Aliases
    13:20 Conclusion
    Upcoming Live Streams
    -----------------------
    - Every Friday
    - Future and Past Streams @ / christitustech
    Support My Work
    -----------------
    - Chris Titus Tech Digital Downloads ➜ www.cttstore.com/downloads
    - Product and Service Recommendations ➜ www.christitus.com/recommenda...
    - My TH-cam Gear and Computers ➜ www.amazon.com/shop/christitu...
    Other Places to Find Me
    -------------------------
    - Titus Tech Talk ➜ / titustechtalk
    - Twitter ➜ / christitustech
    DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support! .
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 395

  • @LiQuidLego
    @LiQuidLego 4 ปีที่แล้ว +148

    ctrl + a - move cursor to beginning of line in terminal
    ctrl + e - move cursor to end of line in terminal

    • @dominik6019
      @dominik6019 4 ปีที่แล้ว

      thx you ctrl e is saving my life

    • @skyguy4164
      @skyguy4164 4 ปีที่แล้ว +5

      Thank you my keyboard shortcut warrior!
      With this I shall rule the world!

    • @niks_
      @niks_ 4 ปีที่แล้ว +3

      Fn+left. (right) combination also works for same..😋

    • @lperkins2
      @lperkins2 4 ปีที่แล้ว +1

      ^p and ^n for previous and next line, ^w to kill last word, ^y to yank last word (yes, cut and paste work in the terminal, without the mouse, but don't share the mouse kill buffer).

    • @exploiter2437
      @exploiter2437 4 ปีที่แล้ว +5

      ctrl u to delete the whole line, ctrl t to switch places of the 2 last letters behind the cursor, ctrl shift c/v to copy and paste in the terminal; obv there are more shortcuts.
      also you can write to a file without opening it using "echo banana > file.txt" the > symbol will delete all in the file and write what you want, you can append with >>.
      you can use the output of a command as a command itself by entering the command in "$(command)" and you can redirect standard output in standard input with the | symbol (e.g find banana | grep something).
      these are just some useful tricks to do stuff in a faster way

  • @pipeliner8969
    @pipeliner8969 4 ปีที่แล้ว +106

    Just switched to Linux and want to say that your channel helps a lot!

  • @christianlempa
    @christianlempa 4 ปีที่แล้ว +26

    Pipe, Pipe, Pipe! Most powerful feature on Linux, shouldn't have missed that one 😋

  • @dirksesterhenn2432
    @dirksesterhenn2432 4 ปีที่แล้ว +78

    When you press F5 in htop you get a process tree, too.

    • @luimu
      @luimu 4 ปีที่แล้ว +3

      or you can change it permanently from it's settings

    • @glohkamp
      @glohkamp 4 ปีที่แล้ว

      ​@@luimuI cam here looking for this comment and I was not disappointed

    • @thedudegrowsfood284
      @thedudegrowsfood284 4 ปีที่แล้ว

      far freakin out, man!

    • @maxsilvester1327
      @maxsilvester1327 4 ปีที่แล้ว +2

      Pressing "t" does the same thing

    • @1pcfred
      @1pcfred 4 ปีที่แล้ว +1

      There's also the pstree command.

  • @GGShinobi77
    @GGShinobi77 4 ปีที่แล้ว +18

    Good tips for beginners!
    Maybe add:
    - locate / find to search for files
    - rsync for nice backups / more comfortable way to copy files
    - du -m | sort -n or baobab to see what takes up how much space on the disk (when you need to clean up)
    - grep to search inside of files
    - ip r to find out IP of the router
    - ping to see if machine on the network / internet is reachable
    - traceroute maybe?
    - xprop to find out more about an opened window
    - lsof maybe in order to see which processes access a file?
    - chown / chmod maybe?
    - history
    - apropos / man
    - diff maybe
    - loginctl in case the session seems frozen?
    - watch
    ....
    I'm sure there are a lot more and a lot better examples but they don't come to my mind right now :)

    • @henrikjoesalu9756
      @henrikjoesalu9756 2 ปีที่แล้ว +1

      Thanks, i found du -m | sort -n especially helpful

    • @GGShinobi77
      @GGShinobi77 2 ปีที่แล้ว

      @@henrikjoesalu9756 glad I could help :)

    • @pauljones9150
      @pauljones9150 ปีที่แล้ว +1

      this is a good list. lsof, loginctl and IP r for the win!

  • @pavlospilakoutas
    @pavlospilakoutas 4 ปีที่แล้ว +40

    Didnt know about the sudo !!
    Used the up arrow went at the beginning and typed sudo.
    Thx 👍

    • @xrafter
      @xrafter 4 ปีที่แล้ว +9

      Its work in every command 5he !!
      Is just print whatever you print before
      Lets say you want to change to a directory but you forget to put cd in the start
      You can just type cd ! ! And it will work

    • @pavlospilakoutas
      @pavlospilakoutas 4 ปีที่แล้ว +1

      @@xrafter thx man, appreciate it 🙋‍♂️

    • @echo-1935
      @echo-1935 4 ปีที่แล้ว +2

      I haven't relied on a terminal since the days of DOS.
      This one tip has saved me from being "That GUI Guy".

    • @johnnyrosenberg9522
      @johnnyrosenberg9522 4 ปีที่แล้ว +3

      Using the up arrow and typing sudo at the beginning of the line is quick too, if you go to the beginning of the line using Ctrl+a. In some shells the Home key works as well. Ctrl+e takes you to the end of the line, by the way.

    • @yvrelna
      @yvrelna 4 ปีที่แล้ว

      I don't know what's hot about sudo !!. I just do Up Home then type "sudo", or alternatively Up Ctrl-A also works as well. That works just fine and uses just as many keypresses. Additionally, it previews the command you're about to run, so much less risky than !!
      It also fits better with Ctrl-R (reverse-i-search), which !! can't really do.

  • @AnujRaool
    @AnujRaool 4 ปีที่แล้ว +79

    'ctrl + r' to search previously entered commands. Very helpful when command has huge no of [options] associated with it..

    • @mercuriete
      @mercuriete 4 ปีที่แล้ว +8

      Increase the bash_history to have more ctrl+R ❤️

    • @AnujRaool
      @AnujRaool 4 ปีที่แล้ว +5

      @@mercuriete any way to autocomplete [Options] using tab key... ??

    • @mercuriete
      @mercuriete 4 ปีที่แล้ว

      @@AnujRaool you have to install bash-completion but i think is already installed in most distros
      packages.ubuntu.com/search?keywords=bash-completion
      But that completion is different than ctrl+R

    • @Stefan-gh7xr
      @Stefan-gh7xr 4 ปีที่แล้ว +2

      and the history command

    • @katech6020
      @katech6020 4 ปีที่แล้ว +1

      @@AnujRaool I use fish and it have it by default

  • @NullByte_-mm4dn
    @NullByte_-mm4dn 4 ปีที่แล้ว +1

    >dd and binwalk - for working with unknown binary file formats
    >ffmpeg - anything about video/audio encoding/decoding
    >imagemagick - image editing
    >mathomatic - calculator
    >tmux - multitasking
    >strace and ltrace - debugging
    >watch - monitoring things (like output of sensors or nvidia-smi)
    >lsusb, lspci, lsmod and dmesg - figuring out hardware/driver issues

  • @PoeLemic
    @PoeLemic 4 ปีที่แล้ว +3

    Gosh, I loved this video. I sure wish you'd make more videos like this. Now, this one really helps me. I see how to do the aliases which I would love to do. Then, I had never seen the CNTRL + ALT + F1 and then F7. In the Linux class that I took at a community college, useful stuff like this wasn't covered. Also, how you showed the Automounting helped. I watched your video, but it was quite a while ago. I hope there is an app to help you quickly handle the automounting syntax, but (yes) I should learn it too. However, thanks for this video. It was really, really, really helpful.

  • @suyogmule3630
    @suyogmule3630 4 ปีที่แล้ว +6

    FYI htop also shows processes in tree form
    Its "htop -t"
    You can make alias htop to run htop -t
    And htop tree shows full path of process instead of just name so its pretty useful when I'm using python virtial environments. I knw exactly which python process is to quit.

  • @-nepherim
    @-nepherim 4 ปีที่แล้ว +2

    Learned a few thing there, thanks, including some surprisingly basic things, like shortcut for system monitor instead of htop, sudo !!, and even combination of lsblk and then blkid! In particular the ctrl-alt F7 to get back to normal window after mucking in tty.

  • @mattrothove3907
    @mattrothove3907 4 ปีที่แล้ว +2

    I love these top videos. I switched to Linux fully around 6-7 months ago and I challenge myself to learn something new at least a few times a week. Alias’ for directories is an awesome idea. Idk why I never thought of that lol

  • @cayzarromana8792
    @cayzarromana8792 4 ปีที่แล้ว

    This was a fantastic vid. I learned a lot here. More info on. Commands such as editing the prompt to look good, or, the sudo !!

  • @dredfolly3514
    @dredfolly3514 4 ปีที่แล้ว

    Thanks for making these videos fun. Your awesome. I have first time moved over from win 8 to Linux mint and all your videos really help. There are other content creators but honestly they are a bore to watch. You rock amigo. Keep it up. 👍

  • @AdamJones291
    @AdamJones291 4 ปีที่แล้ว +3

    I did not know about !! thats gonna save me time from all the sily spelling mistakes. Also I use bashtop rather than htop as its a slightly more user friendly terminal monitoring tool. Thanks again for the great tips

  • @splitjonas
    @splitjonas 4 ปีที่แล้ว +8

    Random useful tip that I like:
    When I compile stuff from github that is not available in my repos, then I use "sudo checkinstall --install=no" first instead of "sudo make install" to be able to easily remove the github stuff through my favourite package manager. (Usefull for when sudo make uninstall does not work properly)

    • @1pcfred
      @1pcfred 4 ปีที่แล้ว

      Why even install software globally if you do not have to? If I can run something in place I do. I'll just make a script to launch it and put that on my personal path. Learn to live in your home directory. Then crap won't get shotgun scattered all throughout your OS.

  • @YourIdeologyIsDelusional
    @YourIdeologyIsDelusional 4 ปีที่แล้ว +1

    A fun little thing about that TTY bit: It's just a "virtual" console. Linux can manage dozens of these things, and if you're sitting at a Linux install in your DE right now, you're already logged into a TTY. You can do anything here you could do anywhere else, including typing startx to get into your UI. Even when you already have your DE up and running in a different TTY! Meaning you can have multiple users logged in different TTYs, or even the same user for that matter.
    Back in Ye Olde Days people would connect to different TTYs over serial to interact with the system. This is how deep in the roots of Linux the whole multi-user thing is. On my server, I actually run the UI session in one TTY while server terminal apps are running in others. It means I can log in and out of any user I want in the UI, open a bazillion console instances there to do whatever I need to, all while my server software is just quietly humming away in the background, probably tucked away in a tmux instance, completely unconcerned.
    ...And I'm just a novice, I can't imagine what people who have a better grasp of linux can do with this kind of flexibility.

  • @jinithjayan3412
    @jinithjayan3412 4 ปีที่แล้ว +2

    Please make more of these videos Chris.. Love your channel :)

  • @yt_gucker
    @yt_gucker 4 ปีที่แล้ว +1

    Hi Chris,
    Thanks a lot! For me as a beginner, this is very helpful. I've learned a lot from your videos. Thanks for sharing your knowledge and improve others people life!

  • @LowTechLinux
    @LowTechLinux 4 ปีที่แล้ว +136

    Chris previous video "I hate vlc"
    Chris next video "I'm gonna show you, how to murder vlc, aka kill."
    Followed by "F STAB"!!
    LMAO 😂🤣

  • @madroksgames1907
    @madroksgames1907 4 ปีที่แล้ว +1

    Loved the sudo !!

  • @victorjoseph8948
    @victorjoseph8948 2 ปีที่แล้ว

    Gee your knoledge of Linux is amazing many commands you show here are over my present comprehension level but very interresting to learn about. thanks for sharing

  • @Eduardo-fk7ft
    @Eduardo-fk7ft 4 ปีที่แล้ว +11

    I like the history command, also when i search for something i ran and can't really remember, i just pipe it through grep, very powerful and simple.

    • @imoldovan
      @imoldovan 4 ปีที่แล้ว +6

      Then you can just do "!xxx" where xxx is the history number to repeat that command.

    • @LinuxPlayer9
      @LinuxPlayer9 4 ปีที่แล้ว +1

      @@imoldovan wow

    • @-nepherim
      @-nepherim 4 ปีที่แล้ว +5

      Excellent tip. The specific command line would be "history | grep SEARCH_TERM", and then "!NN" where NN is the number of the history entry.

    • @jaqian
      @jaqian 4 ปีที่แล้ว

      I love "history" but is there a way to show what date you ran a particular command?

  • @aidandanielski
    @aidandanielski 4 ปีที่แล้ว

    Awesome!! I loved cmatrix!

  • @almosthelpless9374
    @almosthelpless9374 4 ปีที่แล้ว +1

    Nice summary of important concepts. Saves new users some googling and forum scouring.

  • @ForrestRhoads
    @ForrestRhoads 4 ปีที่แล้ว +1

    Excellent! Very well done!

  • @mtruo001
    @mtruo001 3 ปีที่แล้ว +1

    I love your 14 minute video on Linux tips under 10 minutes.

  • @redarrow8008
    @redarrow8008 4 ปีที่แล้ว

    Thanks man sudo!! This is this very helpful ❤️

  • @tameroz7595
    @tameroz7595 4 ปีที่แล้ว +1

    This is very useful indeed. Thanks for that ! Cheers

  • @Mega_Casual
    @Mega_Casual 4 ปีที่แล้ว

    Chris, now that I'm actually paying attention, I now seen how to make the fancy prompt. Too bad I missed that older video. Guess I need to go back and watch all your videos. Thanks for your great tips. (Plus I enjoy your occasional sarcasms) ;-)

  • @mikip1701
    @mikip1701 4 ปีที่แล้ว

    Great tips, your videos are very helpful. Thank you!

  • @kokapeli
    @kokapeli 4 ปีที่แล้ว

    Thanks Chris! Great stuff!

  • @duelingo8731
    @duelingo8731 4 ปีที่แล้ว

    You are rising rapidly! It seems like you nearly get almost 1K subs every day. I wish you will reach 1M subs by this year.

  • @TCOphox
    @TCOphox 4 ปีที่แล้ว +4

    sudo !! was probably made in pure sheer anger lol.
    _"GOD DAMMIT DO I HAVE TO SUDO EVERYTHING YOU SONOFABI-"_

  • @NathanielBakerAdelaide
    @NathanielBakerAdelaide 4 ปีที่แล้ว +4

    Ctrl-D to exit ssh or terminals
    I found it super usefull

  • @matuzaato
    @matuzaato 4 ปีที่แล้ว +4

    "sudo dmidecode | less" is fantastic, I had to teardown my laptop to read some products names before I knew about this one

  • @rogeriocassares4111
    @rogeriocassares4111 4 ปีที่แล้ว

    sudo !! Awesomeee! Thanks man!

  • @veorEL
    @veorEL 4 ปีที่แล้ว +1

    An empty SPACE in front of a command makes it skip the BASH history.
    Perfect to do some housekeeping of your bash history 'as you type'.
    Because my absolute favourite is CTRL + R to turn the BASH history into an autocomplete interactive session.

  • @ramakrishnach3754
    @ramakrishnach3754 4 ปีที่แล้ว +1

    Nyc tips.. Thanks for the tip about sudo !!
    I often pipe to more for reading longer instructions or large list of files like " ls /etc/ | more " or " ffmpeg -help | more "

    • @1pcfred
      @1pcfred 4 ปีที่แล้ว

      My NYC tip is don't stare at the tall buildings but rather the sidewalk. You never know what's on it. Plus everyone knows you're a yokel if you're staring at the tall buildings.

    • @ramakrishnach3754
      @ramakrishnach3754 4 ปีที่แล้ว

      @@1pcfred hmm 👍

  • @Quicktimejon
    @Quicktimejon 4 ปีที่แล้ว

    Thank you Chris for sudo !!

  • @liresto
    @liresto 4 ปีที่แล้ว

    Thanks for all the tips... many I did not know!

  • @papuchobello
    @papuchobello 4 ปีที่แล้ว

    wow this was the full enchilada. great job.

  • @RubenTikidjiHamburyan
    @RubenTikidjiHamburyan 4 ปีที่แล้ว +3

    A few more:
    $ ps afx
    shows the full tree of your processes in the terminal
    $ df -h
    shows sizes and available space on all mounted devices
    $ free -h
    shows memory status (but the same information is available in top too)
    and couple pushd/popd allow jumping from directory to directory and return back

  • @jonzyzsquad
    @jonzyzsquad 2 ปีที่แล้ว

    Awesome video learned a lot thank you very much!!!!

  • @AsierRomano
    @AsierRomano 4 ปีที่แล้ว

    Fantastic video!

  • @LinuxPlayer9
    @LinuxPlayer9 4 ปีที่แล้ว +1

    This video is gold, and also is its comments

  • @zinsy23
    @zinsy23 4 ปีที่แล้ว

    Sweet! I learned a few things here or there!

  • @josephferren6372
    @josephferren6372 4 ปีที่แล้ว +3

    For auto-mounting drives instead of editing fstab directly I just use gnome-disks utility and edit the mount options. Makes auto unencrypting drives easy as well so I only need to remember my bootup drive password and I can keep the rest in Bitwarden in case I forget them

    • @kiraphillips5713
      @kiraphillips5713 4 ปีที่แล้ว +2

      I use that too, way easier than CLI.

    • @diaush
      @diaush 4 ปีที่แล้ว +1

      I used that too, until once smth went wrong with that gui stuff, fstab is must know thing for linux users

  • @choochoochooseyou
    @choochoochooseyou 3 ปีที่แล้ว

    Over my head but fascinating to watch.

  • @Souljacker2100
    @Souljacker2100 4 ปีที่แล้ว

    Thx for the Videos. Greetings from Germany.

  • @satyverma76
    @satyverma76 4 ปีที่แล้ว +7

    And yes, why did you not list the best shortcut ever: using the TAB key ;)

  • @davidhunt5682
    @davidhunt5682 4 ปีที่แล้ว +2

    I'd like to see someone do a video on how to display a remote machine's GUI locally. Maybe, an entire video showing the setting up of ssh and the firewall and executing a remote machine's browser that display's locally. Thank you:)

  •  4 ปีที่แล้ว +3

    The most important Linux tip in my opinion: use timeshift or something like that. Tinkering is a great way to learn, but when you inevitably mess things up, it's nice to be able to restore a snapshot.

    • @whosdr
      @whosdr 4 ปีที่แล้ว +1

      Timeshift on btrfs is the least intrusive snapshot you could ever use. Instantaneous with no performance impact. +1

    • @1pcfred
      @1pcfred 4 ปีที่แล้ว

      I don't mess computers up. In the 30+ years I've been running them it's only happened like once. OK there was that time when I was setting up a parallel libc but I knew that was going to go bad. I did get that to work eventually too. I wanted to run KDE on Slackware and at the time Slack did not support glibc2. I was not going to run Red Hat either! You're pink to Bob.

  • @rwl0323
    @rwl0323 4 ปีที่แล้ว +1

    Excellent!

  • @ahmedismail2312
    @ahmedismail2312 3 ปีที่แล้ว

    This is excellent thank you very much

  • @tomoghnosen
    @tomoghnosen 4 ปีที่แล้ว

    Thank you titus you help new user

  • @hardwin82
    @hardwin82 4 ปีที่แล้ว

    fantastic idea for a video, something like that I was looking for. make more parts! txt

  • @gwgux
    @gwgux 4 ปีที่แล้ว +1

    Another good video! Some things I use quite frequently:
    scp to copy files to/from remote systems
    wget to download files via http
    tar, gzip, bzip2 for working with archives
    ln for making links
    vim
    the AUR
    bashtop
    wireshark
    Shell scripts - more of an advanced topic
    Less often:
    tcpdump - only for servers without a GUI, otherwise I use wireshark
    lsmod
    sendmail

  • @izvolita
    @izvolita 4 ปีที่แล้ว

    ok, this sudo !! thing blew my mind. I knew this exact command had to exist, but could never find the syntax for it and always just retyped the command

  • @scottb4029
    @scottb4029 ปีที่แล้ว

    Excellent video, switched to Linux about a year ago. I have watched a lot of videos and gotten a lot of tips. I have to say there were 3 or 4 I did not know. Thank you. One question: What is the CLI command for the system monitor in debian?

  • @kiddythekid777
    @kiddythekid777 4 ปีที่แล้ว

    Great video, just saved it on "Sistemas Linux" so I can use it later.

  • @ffoeliex
    @ffoeliex 4 ปีที่แล้ว

    High Chris, really nice videos ! If you are looking for a subject for one of your next video. I'm still struggling (and I sure I'm not the only one) to securely "automount" my NAS device (Synology as well) with fstab. Maybe it will worth a 10min explanation video.

  • @kurshtivk8876
    @kurshtivk8876 4 ปีที่แล้ว +59

    make a part two
    and
    ctrl + d to exit the terminal.

    • @jakemoody388
      @jakemoody388 4 ปีที่แล้ว +2

      Or CTRL+Q or ALT+F4

    • @yuvaldahan642
      @yuvaldahan642 4 ปีที่แล้ว +6

      @@jakemoody388 Ctrl + d actually sends EOF and is independent of your DE

    • @gaonkarprajwal
      @gaonkarprajwal 4 ปีที่แล้ว

      @@jakemoody388 those shortcuts are dependent on your DE and Terminal Emulator.

    • @Joe3D
      @Joe3D 4 ปีที่แล้ว

      @@yuvaldahan642 Great tip!

    • @Joe3D
      @Joe3D 4 ปีที่แล้ว

      Great tip!

  • @xavierayayaell546
    @xavierayayaell546 5 หลายเดือนก่อน

    So good, thank you

  • @lesliesavege1206
    @lesliesavege1206 4 ปีที่แล้ว

    I'd like to see you do some videos on the following:
    Bash
    Doing bash scripts with IF statements, which can make them have selections and help modes. like typing the name of the script with the typical ---h after it. I use bash for many things, but mostly to ssh into two different local computers all of the time, and notes on samba and terminal use. These bash scripts are in the path, so they can be called up just like a command, like "linux terminal" calls up my notes on commands used in the terminal. I used "linux terminaledit" to edit that file to put in the tip you gave on the Matrix screen. The ssh command is "s lucid" for may machine lucid and "s dragon" for my machine called dragon. Both are the same bash script, but the $1 string to call up different computers. This is the same with my "linux terminal" or "linux samba" call up is the same bash script that can call up 5 different sets of notes with one script or edit any one of them in nano. Before doing a script, make sure it isn't a command already on the computer.
    CRON
    Use of the cron directories to run scripts to back things up. I know you did the command line cron, but these can run whole scripts, which wouldn't fit on a command line. Also these scripts can write the run status to a file, like did it work and how.
    LOCAL
    Also I see people advice others to "ssh 192.168.0.41", when they could do "ssh lucid.local" (where lucid is the computer name and local makes ssh look it up in your router) to do the same thing on the local network. That is much easier to remember. Also doing
    ssh -X lucid.local will make it so you can pull up things like the file or web browsers as a GUI. Dragon has my folding on it for the Cronavirus, and it is in the other room. I can see what the status without leaving my man cave by typing s dragon, which does the ssh -X dragon.local command. Then I pull up Firefox.
    Aliases are easier than doing scripts. if it is a one line command. I got tiered of typing in "echo $PATH" so now it's just path, an alias, which is easier to remember than "echo $PATH." I have no idea where they got the idea to make it more complicated than just typing in path.
    Also launchers and places in the task bar.

  • @SB-qm5wg
    @SB-qm5wg 4 ปีที่แล้ว

    A cool tip on the command line is if you want to clear the line you hit ctrl-k from the beginning of the prompt.
    #> I just typed a bunch of junk and want to start over.
    Home Key, Ctrl-k

  • @SilentSolution
    @SilentSolution 3 ปีที่แล้ว

    Wow indeed it's really very nice 👍

  • @ninjaworker2528
    @ninjaworker2528 4 ปีที่แล้ว +1

    hit the key and go to first of the line
    &
    hit the key and to go to end of the line :)

  • @syrefaen
    @syrefaen 4 ปีที่แล้ว

    If you are in the tty, you can hold alt + arrowkey right or left to cycle trough them.

  • @DopePhizh
    @DopePhizh 4 ปีที่แล้ว

    Since you mention cmatrix, I would like to recommend sl. It's a funny little thing for when you mistype ls. That way there's no mistakes, just happy accidents.

  • @mulatdood
    @mulatdood 4 ปีที่แล้ว

    I liked the htop and killing processes. I couldn't figure out how to do that yesterday so I restated my computer.

  • @gimcrack555
    @gimcrack555 4 ปีที่แล้ว +2

    Great tips; I add my aliases at this location. ~/.bash_aliases so I don't have to clutter my .bashrc and just have one place for all my aliases. Only tip I can think of is the virtual keyboard. Where your actual keyboard is on a blink or some keys just don't work, where you have to replace your keyboard. But if you don't have a spare around or just have to get what every you have to do to finish up a project. For the time being you can bring up your virtual keyboard to continue typing without a real keyboard. Lot of people don't know about this. Which my is call onboard to bring up my virtual keyboard. hopefully those keys work for you or at least your hotkeys can bring it up for the time being. My hotkeys are set as Ctrl + T(continue typing). As long your mouse works, you can continue to type with your virtual keyboard. Even go to the menu with your mouse to bring up the onboard application to continue to type, if your real keyboard is on the blink.

  • @SA77888
    @SA77888 2 ปีที่แล้ว

    10:22 '' I can access all my *images that I use ''........I saw that laugh at the end lol.

  • @renierfourie2406
    @renierfourie2406 4 ปีที่แล้ว +1

    Bashtop. If you really want to impress your friends. It just looks pretty awesome

  • @vikramyadav437
    @vikramyadav437 4 ปีที่แล้ว

    Nice one

  • @jb888888888
    @jb888888888 4 ปีที่แล้ว +1

    In Terminal xkill lets you kill a process without needing to know its official name. Type xkill & enter, then click the window of the process (e.g. vlc) you want to stop.

  • @satyverma76
    @satyverma76 4 ปีที่แล้ว

    Nice to see most of these now looking familiar,
    Liked aliases, would like more on sym links with there use,
    How can we automate different open windows when we want more than one in one workspace, say two vertically or horizontally arranged or two horizontal and half screen with third.
    I need them in google classroom where the website itself is so annoying and not user friendly. One feature I am looking at is the ability two first have two windows vertically arranged and then I can use a hotkey with left and right arrow to move the centre line separating the windows left or right without having to move each of them to divide say 1:3 of the full screen.

  • @JoaoSilva-gs5jb
    @JoaoSilva-gs5jb 4 ปีที่แล้ว

    goddamn it, just switched to Linux last week, needed this for a work related stuff and you vid just popped in 2 min later, wtf! 🤣🤣

  • @arufuponics8415
    @arufuponics8415 4 ปีที่แล้ว +1

    "xkill" and click what you want to kill :) also F5 in Htop gives you tree view

  • @bwillan
    @bwillan 4 ปีที่แล้ว +2

    You youngin's be lazy. In the olden days we had to do a ps -aux | grep to find the process number and then do the kill -9 to take care of those hung processes.

  • @rmssantos1314
    @rmssantos1314 4 ปีที่แล้ว

    Great canal. Linux forever.

  • @John-lx8iu
    @John-lx8iu 4 ปีที่แล้ว

    You really should make a video about autofs. It takes a little work to set up but I think it's a lot slicker than using fstab

  • @AmichaiRotman
    @AmichaiRotman 4 ปีที่แล้ว

    I did learn something from this video. BTW, a easier way to find the UUID of a disk / partition would be: ls -l /dev/disk/by-uuid/

    • @1pcfred
      @1pcfred 4 ปีที่แล้ว

      I hate UUID. I am not even keen on naming disks s without a real SCSI interface. I like the old h naming scheme the best. I miss hda. But UUID really disgusts me. It is so butt farging ugly! Whoever came up with it must run around wearing mismatched socks and two left shoes. They have not one shred of elegance about them.

  • @mormegil231
    @mormegil231 4 ปีที่แล้ว

    An extra interesting tool that replaces noMachine for Linux. Its x2go. Its a fork by the times NoMachine was open source. It is very easy to set up and use.

  • @robrab2000
    @robrab2000 4 ปีที่แล้ว +1

    nvtop is a good one to know if you’re doing any CUDA stuff

  • @rickbhattacharya2334
    @rickbhattacharya2334 4 ปีที่แล้ว +12

    Best tip for Linux .
    If it works for you don't mess with it .

    • @anousenic
      @anousenic 4 ปีที่แล้ว +2

      Only applied to production machines in my opinion - because messing with things can be a great way to learn :)

    • @mariozenarju6461
      @mariozenarju6461 4 ปีที่แล้ว +1

      If it works, you make it work even better*

    • @rotflol6666
      @rotflol6666 4 ปีที่แล้ว

      @@mariozenarju6461 If it aint broken, don't (try) to fix it

    • @mariozenarju6461
      @mariozenarju6461 4 ปีที่แล้ว

      @@rotflol6666 Nah. That's how things develop and grow. Everything can always work better than it currently does, even if the current state is to some people perfect. For example, Liquorix Kernel + governor set to performance + KDE Plasma with both the shell and compositor killed = A pretty damn good Steam machine

  • @SB-qm5wg
    @SB-qm5wg 4 ปีที่แล้ว

    For SSH, I use Asbru that replaced PAC manager. Love it. Like mputty.

  • @igorordecha
    @igorordecha 4 ปีที่แล้ว +2

    5:10 n i c e subnet

  • @urmensch12
    @urmensch12 4 ปีที่แล้ว +4

    I dont need uptime . I made neofetch start up everytime time i open a Terminal.

  • @bipulharsh4059
    @bipulharsh4059 4 ปีที่แล้ว

    Chris: 0:05
    Me: watching video length
    Also me: You can't dear 😔

  • @-bru-NO
    @-bru-NO 4 ปีที่แล้ว +1

    why the "-9" in killall -9 appname? searched the command and -9 doesn't appear anywhere as a variable/additional term (dunno how to say it)

    • @Raren789
      @Raren789 4 ปีที่แล้ว +1

      -9 specifies a "SIGKILL" signal to the process, forcing it to stop, you can read more on the man page of killall and here www.computerhope.com/unix/signals.htm

  • @omegamooon
    @omegamooon 4 ปีที่แล้ว

    Thanks a lot.

  • @mercuriete
    @mercuriete 4 ปีที่แล้ว +1

    Systemd.automount
    www.freedesktop.org/software/systemd/man/systemd.automount.html
    If you put systemd.automount in fstab the mounting is posponed to the first usage of the filesystem.
    For example if you do automount in your net fs, It won't block the boot and It will be mounted after you do a ls folder.
    We can call it "on demand mounting" if you wish.

  • @johnbamber7374
    @johnbamber7374 4 ปีที่แล้ว

    Rather than aliases, I've used bash scripts in ~/Custom Scripts, with symbolic links in the proper root directory.
    Aliases with a sed script(for any time I may want to change out my OS or upgrade my storage drive) might be a nice alternative.

  • @titouan6118
    @titouan6118 4 ปีที่แล้ว

    It usefull, thx.

  • @rotflol6666
    @rotflol6666 4 ปีที่แล้ว

    try pkill instead of killall! Always pivot to root from another user on another machine, don't permit root login on ssh also gets you an audit trail on the other machine.

  • @simbaclaws_youtube
    @simbaclaws_youtube 4 ปีที่แล้ว

    Did you know about jump? Perhaps you don't need a big CD alias but just a magic CD command that jumps to previously cd'd directories based on a fuzzy search.
    Install jump, set it up and type in j pi to jump to for example your pictures folder from anywhere if you've previously cd'd into it. It will basically keep a history of directory structures. And uses fuzzy search for those directories.
    For example I type j dev to go to my Development folder that I have in my home folder

  • @tokiomutex4148
    @tokiomutex4148 4 ปีที่แล้ว

    $_ expands to the argument of the last command

  • @hoterychannel
    @hoterychannel 4 ปีที่แล้ว

    can’t get what reason to use fstab which for now like template for fstab-generator (or what name of that thing...) instead using .mount (and automouunt) units directly?

  • @Вова0007
    @Вова0007 4 ปีที่แล้ว

    Hi Chris, thanks a lot for your tips as always! Some times my Linux Mint just freezes with no responses to any keys or mouse movement. Do you have any keys combinations to restart Linux at once? Cheers.

    • @Вова0007
      @Вова0007 4 ปีที่แล้ว

      @gilkesisking Cheers bro! You are a gentleman! :)

    • @Вова0007
      @Вова0007 4 ปีที่แล้ว

      @gilkesisking thanks a lot once again! Just tried and it works just fine! God bless!

    • @Вова0007
      @Вова0007 4 ปีที่แล้ว

      @gilkesisking cheers bro! Will listen for sure these Linux-Gods! :)))