How to move FAST in the Linux Terminal

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 545

  • @_JohnHammond
    @_JohnHammond  6 днів тому

    hey thanks for scrolling to the comment section but learn even more cybersecurity at jh.live/training and join my newsletter at jh.live/newsletter haha

  • @ushiocheng
    @ushiocheng 3 роки тому +1271

    Linux User: types `ls` out of nowhere just to feel relaxed

    • @jb_lofi
      @jb_lofi 3 роки тому +74

      ... Oh shit, that's me

    • @hydropage2855
      @hydropage2855 3 роки тому +39

      Are you spying on me?

    • @699ashi
      @699ashi 3 роки тому +59

      First thing I do after opening a terminal

    • @zuberkariye2299
      @zuberkariye2299 3 роки тому +2

      @@jb_lofi same

    • @zuberkariye2299
      @zuberkariye2299 3 роки тому +5

      @@hydropage2855 I do this all the time ong

  • @issahmidan5821
    @issahmidan5821 4 роки тому +218

    John:Delete a line with ctrl + u
    Me: oh wow that is amaz^c
    clear

    • @lucEast
      @lucEast 4 роки тому +19

      instead of writing "clear" just hit ctrl + L

    • @geist453
      @geist453 4 роки тому +3

      HI EVERYBODY IF YOUR WATCHING JOHN HAMMOND I APPLAUD YOU. GEIST453 VERIFIES THAT JOHN IS CERTIFIED LEGIT CYBER SECURITY PROFESSIONAL.

    • @alivaliev5152
      @alivaliev5152 4 роки тому +1

      Just press ctrl+L

    • @anotheraussiebattla233
      @anotheraussiebattla233 4 роки тому

      You the real mvp

    • @t4nk3d402
      @t4nk3d402 3 роки тому

      @@lucEast this is also how you fix a terminal that goes screwy and clear doesnt fix it

  • @husseindhooma7144
    @husseindhooma7144 2 роки тому +4

    OMG!!! I just realised I have been watching your videos for Months and I only decided to Subscribe today. Thank you for the awesome videos and lessons you continue to provide. It's amazing how much you provide. Thank you John Hammond and continue the Awesome work.

  • @ShooterSF
    @ShooterSF 4 роки тому +153

    Ctrl+R allows you to search history, Ctrl+S lets you go in the opposite direction
    Me (an idiot): wait I can search through my future commands??

    • @90hijacked
      @90hijacked 4 роки тому +2

      no. ctrl+s freezes the terminal ( turns on scroll lock ) hit ctrl+q to unfreeze.

    • @ackekuttner3492
      @ackekuttner3492 3 роки тому +4

      @@90hijacked It's an stty thing, try running stty -ixon to disable terminal output freeze.

    • @jamesoneill2606
      @jamesoneill2606 3 роки тому

      You can hack time? Share code plz.

    • @Null_Point3r
      @Null_Point3r 3 роки тому +1

      @@jamesoneill2606 rm / -rf to go back to before you installed linux

    • @jamesoneill2606
      @jamesoneill2606 3 роки тому

      @@Null_Point3r You scared the crap out of me there, that comment so old, I thought someone had hacked my fb 😳

  • @bryanxh
    @bryanxh 2 роки тому +24

    Left CTRL+A Left CTRL+E are much better than Home and End keys because you can always use just your left hand on all keyboards. Great video! Just something cool to know.

    • @rohanofelvenpower5566
      @rohanofelvenpower5566 2 роки тому

      its also used in networking OSes, such as ciscos, juniper, etc

    • @bryanxh
      @bryanxh 2 роки тому

      @@rohanofelvenpower5566 Because it works in all terminals and is a relic from before home and end keys existed.

  • @ImagoCanis
    @ImagoCanis 4 роки тому +11

    ctrl+a to go to the beginning of a line
    ctrl+e to go to the end
    ctrl+w to delete a word to the left of the cursor
    ctrl+z to background a process
    fg-enter to bring it back to the foreground
    🤘🤠
    edit: oh and !! to rerun the last entered command
    so if you needed to sudo a command but forgot to, instead of retyping it, or pressing up then ctrl+a and typing sudo, you can just sudo !!

    • @karoshi2
      @karoshi2 3 роки тому +1

      Only recently found out that you can also use !:3 for example to insert the last $3 (third argument) somewhere.
      Like
      ls -la foo/bar/blah/somethingsomething
      rm -rf !:2

    • @fffvvvq5347
      @fffvvvq5347 3 роки тому +1

      ctrl+arrow (left/right) to jump a word instead of a char

    • @fffvvvq5347
      @fffvvvq5347 3 роки тому +1

      oh he just said it in the video lol

    • @linengmiao
      @linengmiao 3 роки тому

      regarding your edit: rather than pressing up and editing your command you could simply type "sudo !!" which inserts the word sudo in front of you last command and runs it

  • @jareda8943
    @jareda8943 4 роки тому +49

    i need this in my life

  • @AB-yv5rb
    @AB-yv5rb 4 роки тому +6

    This channel is an absolute goldmine, thanks !

  • @adrian-php
    @adrian-php 4 роки тому +11

    This tutorial is so helpful and kind. Thanks for making those

  • @fabricehategekimana5350
    @fabricehategekimana5350 4 роки тому +5

    This guy made my day with only one video. I learned many things. I am a tmux user, but terminator has his own strength. I think knowing both will be a big profit. Thanks for sharing your knowledge!

  • @cosmintibuleac969
    @cosmintibuleac969 3 роки тому +6

    This is awesome! Thank you so much! I have used terminator at some basic level before (didn't really put the time and customisation into it). I'm now a tmux user, but I already have a feeling that you have just converted me with this video lol. You're the man, John!

  • @andarielbaal3405
    @andarielbaal3405 4 роки тому +1

    I really like recent videos that you have been uploading. Super useful and interesting to watch.

  • @velho6298
    @velho6298 2 роки тому

    This is awesome take! I can feel validated with all my choices that I've made durin these years sitting in front of the computer.

  • @crazymonkeyVII
    @crazymonkeyVII 3 роки тому +12

    Cool workflow! Areas for improvement: tiling wm, vim keybindings for navigation, vimium in browser for keyboard driven browser navigation (especially for navigating to previous page), and auto-completing shell (i.e. zsh or fish) :)

    • @kbaeve
      @kbaeve 2 роки тому +2

      My thought as well! Seems like he trying to make a tiling window
      Manager inside the terminal, why just not go all the way. Oh, and alacrity.

  • @euland
    @euland 4 роки тому +2

    i really like this video style! plz bring more of it!

  • @karoshi2
    @karoshi2 3 роки тому +6

    The mentioned muscle memory is my main storage for shortcuts.
    "You can hit CTRL- ..." - °oO(What?!?) - "... to " - °oO(Ah, THAT one.)
    And then it took me five more seconds to imagine the keyboard and what I use to press ... it's been exactly that.

  • @johnnyrico9957
    @johnnyrico9957 3 роки тому

    Liked this m8. I'm sure I won't use terminator but I love when someone shows that things can be done in a different way than you're accustomed. It's all about options and you're a great content creator, thank you!

  • @milesnapue
    @milesnapue 3 роки тому

    I was very happy you mentioned home and end. Thanks.

  • @AzVidsPro
    @AzVidsPro 3 роки тому +3

    There is something that I found out by accident:
    I am using zsh and kitty.
    Type a command and maybe you remember that you need to run a command before that but you don't want to remove the already typed out command. press [ctrl] + [q] Then it will clear the command and retain it in the background, Run the command that you need, then the previous command that you deleted will be there for you to run.

  • @LAWRENCESYSTEMS
    @LAWRENCESYSTEMS 4 роки тому +275

    Good video, but I still think TMUX is better 😛

    • @raison7478
      @raison7478 4 роки тому +10

      @@geist453 That comment right there made me stop watching immediately. I don't need your affirmation or verification. And all caps? What are you, 13?
      I don't care whether he is legit or criminal or outlaw, as long as he shares knowledge and knows what he is talking about.

    • @NicolastheThird-h6m
      @NicolastheThird-h6m 4 роки тому +1

      @Rai Son 😆😂

    • @JosueRodriguez08
      @JosueRodriguez08 4 роки тому

      Absolutely

    • @djebbaranon5892
      @djebbaranon5892 4 роки тому +1

      thanks no one asked fir your opinion

    • @3xpl0i79
      @3xpl0i79 4 роки тому +9

      @Everyone who doesn't Understand what @Rai son is saying ... There was a comment here by a person called @geist in which he said John's Videos are 'Geist' approved and he is a Legit Cybersecurity expert..blabla

  • @jarnobot
    @jarnobot 2 роки тому

    Some keycombo's that I use all the time:
    * CTRL-A to go to the start of the line, instead of pressing the Home key.
    * CTRL-E to go to the end of the line, instead of the End key.
    * Use CTRL-P to go to your previous used command, Ctrl-N to go to the next one. The up and down arrow-keys are great when you only have single-line commands, but it gets finicky when you have multi-line commands.
    * CTRL-L clears the screen.
    * CTRL-W deletes the word before the cursor (alternative to ALT-Backspace).
    * CTRL-Y to paste back words or a line that you just removed.
    * CTRL-U to delete everything before the cursor (as mentioned in the video)
    * Alt-. (ALT-dot) inserts previous arguments/commands behind the cursor. This is great for example when you want to quickly run two commands on the same files. One of my favorites!
    * Typing a double exclamation-mark like this !! will stand for the last run command. I use this a lot when I forgot to run a command with root privileges. I.e. Let's say I run "pacman -Syu" first, which updates your packages on Arch-based systems. It will nag me that I don't have permission to do that. After that, I simply run "sudo !!", which will be interpreted as "sudo pacman -Syu".

  • @crev6295
    @crev6295 2 роки тому +8

    My favorite terminal emulator (it can do more than that too!) is MobaXterm. You can save multiple sessions for the different connections you use often, and I find the sftp sidebar very helpful when working on different projects.

    • @kenkkash
      @kenkkash 2 роки тому

      I do love MobaXterm 😊 too.

    • @keylanoslokj1806
      @keylanoslokj1806 2 роки тому

      can it do what terminator can though?

  • @dropcake
    @dropcake 4 роки тому +1

    Simple things making life easier. Thanks John! Always appreciate the content.

  • @Teklectic
    @Teklectic 2 роки тому

    I didn't know about Ctrl+R and Ctrl+U, those are couple of real time savers there, thanks!

  • @fhacim6568
    @fhacim6568 4 роки тому +1

    Thanks man, big fan here. Advent of Cyber was awesome btw, love your content!

  • @netadmin-fraser787
    @netadmin-fraser787 3 роки тому

    The one thing I'd add to make this a perfect video, is aliases, which dramatically lower a user's keystrokes..
    in the "~/" directory, type "sudo nano .bashrc"
    In this file the syntax is quite simplistic, "alias=command", here's how to make a permanent alias:
    test="sudo apt-cache show apache2"
    (CTRL+X, Y, save file)
    If the alias doesn't work immediately, then do the "source ~/.bashrc" command.
    Example:
    command: "apt-cache show apache2"
    alias: "test"
    Both give out the same result with fewer keystrokes.

  • @SuperSohaizai
    @SuperSohaizai 4 роки тому

    For anyone not using Linux but got here by chance, some of these are usable in Windows too (and text editing in general)
    Home: Jump to first character (might be weird sometimes as it jumps to top of page instead)
    End: Jump to last character (similar problem)
    Ctrl + Backspace: Delete one word (from current location to symbol/space before that word)
    Ctrl + Delete: Delete one word to right (similar to top)
    Ctrl + A: Select all characters
    Cmd/Window + Direction key: Snap window/ resize window (works differently but function exist)
    Personally I never knew Terminator exist, definitely need to try it out
    (Vimium exists for firefox for less mouse usage btw if anyone interested)

  • @DiTo940
    @DiTo940 4 роки тому +4

    Terminator is the best thing I have never head of. Thank you!

  • @knuwepaluwe
    @knuwepaluwe 2 роки тому

    okay, i buy it! 😀😀 Thanks for all your good Stuff! ❤❤

  • @MrNightowl1980
    @MrNightowl1980 3 роки тому

    Thanks for this great video John🥳

  • @brandonevans5123
    @brandonevans5123 4 роки тому +2

    Man, I've been using tmux for a while now because that's what THM pushes on a couple tutorial rooms and I am SO glad your video made it to me. Been using Terminator only a day and I just can't understand why anyone would prefer tmux but maybe I'm missing something :/

  • @Angel_Santiago27
    @Angel_Santiago27 3 роки тому

    I really loved your video!!! It blew my mind and I loved it because terminator is a such amazing tool!!! Thank you for share it!

  • @aaronwhite1786
    @aaronwhite1786 4 роки тому +19

    Your head absolutely looked Photoshopped into the thumbnail, and it's cracking me up.

  • @韩光-j8z
    @韩光-j8z 3 роки тому +1

    great video! worthy of saving as a cheetsheet. Have just downloaded the terminator and played around. It's powerful and highly customizable tool. Also i'd like to recommend to you guys the guake, which i'm currently sticking with, and, which summons the terminal on the top of every window with only one key stroke, without blocking your current work. It's also a highly customizable shell application (am i right with the concept?) written in python.
    And i've just learnt not only that alt + backspace deletes one word before the cursor, the ctrl + del actually deletes one word after the cursor. So i don't need to remember the emacs-style short cuts which (to me) sometimes makes completley nonsense 🤣

  • @pengpleb
    @pengpleb 4 роки тому +2

    If you want to move fast through the filesystem, I recommend FZF. You can move directly to a folder just by typing its name (from anywhere) and do stuff like type "rockyou" and have FZF automatically insert the full path to it.

    • @JohnDoe-lp7ge
      @JohnDoe-lp7ge 4 роки тому

      Thanks for this suggestion Peng! This is exactly something that I've needed.

  • @obaidpenggodam9667
    @obaidpenggodam9667 4 роки тому +1

    sir you are incredible thank you so much sir for make our work easier

  • @WistrelChianti
    @WistrelChianti 3 роки тому

    Thanks! some handy tips there, had no idea all that stuff was there to be found

  • @deepb5204
    @deepb5204 4 роки тому

    Ctrl + U is so helpful!!
    Whenever you're typing your password, say when using sudo apt update and you mistype a character, instead of holding backspace to delete the entire password, just hit Ctrl + U.

  • @Jupiterxice
    @Jupiterxice 4 роки тому

    Omgggggg dude you are f..kng awesome....... love your videos

  • @tejasanerao1842
    @tejasanerao1842 4 роки тому

    Are you spying on my mind?
    This video is all abt wat I was thinking since few days after regularly watching ur videos and walkthroughs.

  • @woouinluigh
    @woouinluigh 4 роки тому +2

    One thing that about ctrl-s key combination is, that under some emulation mode (actually it might apply to most out-of-the-box configurations)
    ctrl-s is captured by the emulation, before the shell (or readline), and work as shortcut to completely freeze the buffer.
    If that happens don't panic and just press ctrl-q and you should be good to go.

    • @peacemekka
      @peacemekka 2 роки тому

      `stty -ixon` will disable it.

  • @CurtisDyer
    @CurtisDyer 3 роки тому +5

    Put "set -o vi" in your .bashrc if you're already comfortable with Vim navigation. Much more intuitive when navigating the command line.

  • @cwlancaster979
    @cwlancaster979 4 роки тому

    Love this John! Super helpful tips

  • @_tun0
    @_tun0 3 роки тому

    Just started using terminator recently and I love it

  • @stephen8617
    @stephen8617 2 роки тому

    Thanks
    I'm running tmux on my Android 11. With Kali and still learning. It helps

  • @munud23
    @munud23 4 роки тому +6

    Another shortcut is using "alt + ." for previous arguments. IMO terminator is better for the splitting and various actions John showed but tmux shines where you may need to keep alive ssh connections and other sorts of things.

    •  2 роки тому

      Exactli I'm using both + sometimes clusterssh, terminator and clusterssh on local machine, and tmux on remote, it helps with unstable connections or tasks which are processed significant amount of time.

  • @krishanuchhabra
    @krishanuchhabra 4 роки тому +1

    Thanks John !

  • @nsns7993
    @nsns7993 3 роки тому

    Another great video dude!

  • @Roflkoptor117
    @Roflkoptor117 3 роки тому

    Best Man! Searched for a way to delete a whole word and remembered ur video. Rewatched it and **boom** there is the solution

  • @nathanaelculver5308
    @nathanaelculver5308 2 роки тому

    While using arrow key combos is great for ease of memorization, they force you to take your hands off home row, then feel your way back, which is inefficient. Conversely, Tmux’s equivalents, are two-key combos and non-intuitive (Ctrl-B%, Ctrl-B”). But once muscle memory has set in, keeping your hands on home row is great for efficiency. Ditto Home, End, etc. - anything that pulls your hands off home row is inefficient. If you’re a BASH user, learning BASH keyboard shortcuts is also worthwhile to avoid having to reach for Home, End, etc.
    I’ve also swapped my Ctrl and CapsLock, and changed the Tmux cmd prefix to Ctrl-A. Both increase efficiency.

  • @p20ph37
    @p20ph37 3 роки тому

    Thanks for the video!

  • @TheSkepticSkwerl
    @TheSkepticSkwerl 2 роки тому +2

    I used terminator to get my OSCP. It's nice when enumerating to have multiple tools running at once

  • @Cojo173
    @Cojo173 4 роки тому

    Nice Video, your videos are so helpful and amazing !!!

  • @thomasandreatta6073
    @thomasandreatta6073 4 роки тому +2

    I've been looking for something like this for ages cause tmux simply wasn't for me and i "was forced" to use simple terminal and things sometimes can be pretty messy but dude
    This is a game changer 😂
    Hope every video will bring so much information and usefull things🤩
    Btw the "long" format where there's the uncutted version of john thinking and going through all the mental process would be awesome for having a better understanding on how to approach a problem and how to understand the right path
    Love the content, keep it up MATE!
    (OK THIS JOKE WASN'T FUNNY BUT COME ON)

  • @MouseHunteR77n
    @MouseHunteR77n 2 роки тому

    Great information. I've been using Linux for sometime but I don't no everything but love learn how get VPN connection to work in Linux .

  • @IamNotSquee
    @IamNotSquee 3 роки тому

    Love your videos, man!
    Unsolicited comments on video composition -- lower ISO/white balance slightly so that your Nano Leaves aren't over-exposed, then reduce light on background. Having darker background will provide better contrast and allow you to stand out from your background more in the video. Also (extra nitpick-y), please center the leaves and or use a different pattern to give the background more flavor.
    Also, I loved your outro!
    Keep up the good work, man. Best wishes.

  • @hamed9327
    @hamed9327 3 роки тому

    you're videos are really practical

  • @LibreLobo
    @LibreLobo 4 роки тому

    Great video! Thank you sir!

  • @opposite342
    @opposite342 2 роки тому +4

    7:17 If your kb doesn't have the thing John said, and you don't want to move you hand to home, you can use "ctrl+a" and "ctrl+e" to go to the start and the end of line respectively.
    This and many shortcuts are similar to the shortcuts in emacs so if you have used that before you can try to text some other (non macro) shortcuts.

    • @mlazzarotto
      @mlazzarotto 2 роки тому

      "ctrl+a" and "ctrl+e" also works on Cisco CLI

  • @skeeveskeeve
    @skeeveskeeve 3 роки тому

    for you vim fans out there, you can use vim key bindings at the command prompt is you add "set -o vi" to your .bashrc

  • @nickc7281
    @nickc7281 4 роки тому +6

    I bind (Super + ->) in terminator VMware kali
    And it gives me exactly like what would happened on windows when I press (Super + ->)
    Any work around for this? Thank!

    • @FunkadelicFeed
      @FunkadelicFeed 4 роки тому +3

      Exactly. I am having the same problem. I did the key binding exactly as John's but when i use the shortcut it behaves as in windows i.e the window the resize/moves to the right of the screen. Lemme know if you find a solution.
      P.S. Hoping john responds. :/

    • @peterarbeitsloser7819
      @peterarbeitsloser7819 4 роки тому

      Go to gnome shortcut settings and disable the window splitting (just look through all the shortcuts and search for the one you are trying to disable)

    • @nickc7281
      @nickc7281 4 роки тому

      ​@@peterarbeitsloser7819 Ohhhh thankyou, I was wrongly looking at the Keyboard shortcut setting, yet it's actually in Window Manager -> Keyboard

    • @nickc7281
      @nickc7281 4 роки тому

      @@FunkadelicFeedSomeone got the answer
      I binded to shift though lol

  • @Emalo
    @Emalo 4 роки тому

    Very informative video, thank you!

  • @fu3go
    @fu3go 3 роки тому +8

    Hey John, when I get a ssh remote session, and I split the terminal (in terminator) the new terminal doesn't have the ssh session, how could I get multiple terminals on the ssh session (obviously using terminator, in tmux I have not that problem)

    • @RockWolfHD
      @RockWolfHD 3 роки тому

      You also have this problem when using tmux. You need to run tmux within the SSH session. Because Terminator is a GUI application you can't use it using SSH.

    • @jeschinstad
      @jeschinstad 3 роки тому

      @@RockWolfHD: I run byobu automatically on login. But having to run it once per login is different from having to run it each time you create a new window or split.

  • @gregmattson2238
    @gregmattson2238 2 роки тому +1

    hm, a couple of questions about terminator:
    1. is it stateful? ie: can I save a terminator session, detach from it and reattach at a later date?
    2. is there built in copy-and-paste? ie: can you have a buffer of clipboards that you can paste at a later date?
    3 is there scrollback? how do you access the last 10000 lines of buffer?
    4. does it require a window manager? can I run it on remote machines and servers?
    these are the primary reasons I use tmux; what it gives up in eye candy it makes up with these features.

    • @stevethe1voipguy
      @stevethe1voipguy 2 роки тому

      1. I personally used Terminator and have not found that functionality. If you want to save and detach from a session, you'll still have to use Tmux or screen.
      2. Copy and Paste is built in from the console.
      3. There is literally a configurable scrollback buffer. Another thing is that you can add tabs of clusters of screen panes.
      4. It does require a window manager. Mainly, you have to have a desktop environment in order to run Terminator.

    • @gregmattson2238
      @gregmattson2238 2 роки тому +1

      ​@@stevethe1voipguy ok thanks... a point wrt #2 - the point with tmux is that you can have named buffers. Every single buffer you save in a tmux goes into a buffer list (ie: a buffer from a-z and 0-9) and you can later access this buffer list and paste from it with hotkeys.
      you can also add tabs of clusters of screen panes with tmux as well btw.
      In any case the need for a window manager is a killer for me, since I'm working mostly on servers and keep the tmuxes on these servers for months.

  • @4b978
    @4b978 2 роки тому

    tanks for terminator, love ability to type in multiple term in same time like when I want to ssh to one server multiple times

    • @4b978
      @4b978 2 роки тому

      also I'll start using profiles, cuz when I'm high I don't see difference between home pc and remote server, so it happens to me that I run wrong stuff on wrong machine haha

  • @nawid1687
    @nawid1687 4 роки тому

    John you are a hero!

  • @ARZ10198
    @ARZ10198 4 роки тому +11

    Okay so you convinced me to use terminator xD

  • @HikaruKatayamma
    @HikaruKatayamma 3 роки тому +1

    Heh. I remember back in the seventies, how confused I was when someone referred to the exclamation as bang. I love how that vernacular hasn't changed over the decades, and probably won't for the foreseeable future.

  • @sammmba
    @sammmba 4 роки тому +2

    5:50 Tmux will not select from another panes when you use the mouse for selection

  • @cpb42
    @cpb42 3 роки тому

    my fave hack is these lines in ~/.inputrc:
    # Search history of a pattern using up/down keys
    "\e[A": history-search-backward
    "\e[B": history-search-forward
    They allow you to type something like 'tar

  • @jos1532
    @jos1532 4 роки тому

    Man for this I love my Konsole terminal

  • @diegocomesana2782
    @diegocomesana2782 3 роки тому

    Thank you. This tutorial is beneficial !!!!!!

  • @furo.v
    @furo.v 2 місяці тому

    I use tmux with terminator and I can guarantee tmux is better than all of terminator functionalities lol (splitting, etc)
    Also tmux has other functionalities that aren't performance related, such as making sure a remote command keeps executing even if the SSH connection breaks. The tmux session will be kept in the server. Besides coding tmux scripts is easier than making terminator automations.
    For removing a word I recommend using CTRL+W instead of ALT+Backspace because CTRL+W also does the same inside Vim (insert mode). CTRL+A/E are for going to the beginning or end of line, and I mapped them on Vim's insert mode as well.

  • @purplewarrior1830
    @purplewarrior1830 4 роки тому +1

    I genuinely need this

  • @pewcfpv8056
    @pewcfpv8056 3 роки тому

    One command I use alot is sudo !!
    Use this when you need to run the previous command as sudo and it will automatically place it in front of the last command and run it.

  • @qnmx
    @qnmx 4 роки тому

    Ctrl+R for reverse search, then if you find command press Ctrl+i to edit it further
    Ctrl+l to cut full command from right to left
    Ctrl+k to cut full command from left to right
    Ctrl+y to paste it back

  • @terrysimons
    @terrysimons 2 роки тому

    ctrl-a and ctrl-e instead of home/end. ctrl-k to cut to buffer, ctrl-y to paste. Also works in basically every single text box in macOS that is native.

  • @KaishKhan1234
    @KaishKhan1234 4 роки тому

    This is THE video, I was looking for. 😅

  • @hiddenlawyer
    @hiddenlawyer 2 роки тому

    I'll have to remember !*, super useful! fc is another command that changes lives (fix command), it brings up your default editor with the last command and when you save and quit it runs.

  • @BippyMiester
    @BippyMiester 4 роки тому

    John, you said that there is scripting to open up terminator panes through a script. Say I wanted an automated script that opens one pane and runs a nmap scan, one opens a nikto scan, and one doing dirbuster. All launching from a ./myscript... I really think making a tutorial on that would be SUPER useful to automate things. :D
    P.S. Love the new outro. :P Can't wait until you get your own intro like Network Chuck. :P

  • @buntun3670
    @buntun3670 Рік тому

    that joke at the start :) - you almost had me

  • @LinuxSploitOfficial
    @LinuxSploitOfficial 4 роки тому +1

    Super Good Video

  • @wahrorestey1653
    @wahrorestey1653 2 роки тому

    Good exercise of extremity use in the terminated composite proliferation subject to working through successful motion of letters or key's to your terminated consoling. I won't be mentioning it could be an excessive amount of time until I get another project legalized it's a cosnciousness arbitratious bonefide benefit to myself!

  • @pwndumb2903
    @pwndumb2903 4 роки тому

    Excelet video.Tillix do the same of Terminator(
    I used to use it some time ago), but its just a matter of personal choice. Now I using tmux with any terminal, but I have some drawbacks , specially when I debugging some program in gdb. By the way I found this CheetSheet a long time . My adivice is print and paste in front of you. I pasted mine in my laptop, below the keyboard.

  • @samerkayali4525
    @samerkayali4525 4 роки тому

    What a great video!

  • @JorgenAndreStenersen
    @JorgenAndreStenersen 2 роки тому

    This is gold!! 🙏

  • @okuno54
    @okuno54 3 роки тому

    A great compliment to ^u is ^y. I often find myself accidentally about to skip a step, at which point I ^u to clear the line run the missing step(s), and ^y to bring me back to where I was.

  • @cedricvillani8502
    @cedricvillani8502 3 роки тому +1

    Fun fact, most Kali users that did an update on April 1st, got infected with a nasty virus that gets triggered by typing “ls” any time after May 5th. (hint: make sure you have changed your ssh keys since..nvm) Anyway, I would recommend the i3 wm for Debian and FreeBSD users, a YT’er, LukeSmith has an easy-to-use script for beginners in case you're new to Window Managers.

  • @jd-raymaker
    @jd-raymaker 4 роки тому +6

    Me: "Neat if I want to use a DE instead of a tiling-wm"
    John: "Dis is da way my queen"
    Me: *Flashbacks from VRChat 2018*

  • @nxli97
    @nxli97 4 роки тому +23

    Terminator users: "Hehe TMUX sux"
    TMUX users: "Nooo TMUX is better!"
    Me using Tilix: ...

    • @luckythandel
      @luckythandel 4 роки тому +5

      me with tmux in tilix

    • @Hogo_-to7tv
      @Hogo_-to7tv 4 роки тому

      I thought I was one of the only people using tilix

    • @luckythandel
      @luckythandel 4 роки тому +1

      No sir, you are not alone 😂. But what do you like of tilix?

    • @nxli97
      @nxli97 4 роки тому

      @@luckythandel I kinda just installed it when I was new, and never bothered to switch...

    • @luckythandel
      @luckythandel 4 роки тому +3

      Actually, I installed it when I got to know that I can install dracula color scheme in it. I love my terminal pretty.😂

  • @Horstlicious
    @Horstlicious 4 роки тому

    Cool quick video.
    The KDE default terminal "Konsole" has the same capabilities as shown.
    It goes very well together with "yakuake"!

    • @electricz3045
      @electricz3045 2 роки тому

      Konsole just means Terminal in German

  • @jorgevilla6523
    @jorgevilla6523 4 роки тому

    Great video more like this!! can you put a couple of the resources on your video description next time?

  • @jakkonstantyiksinski
    @jakkonstantyiksinski 4 роки тому

    Great and useful video, thanks! I am curious if you could do a similar one to show what tools you use daily and where do you place them. John you do amazing job! Cheers!

  • @mylanthony
    @mylanthony 3 роки тому

    Ctrl + R gets so much better when you get yourself "FZF" fuzzy search as well!

  • @wahrorestey1653
    @wahrorestey1653 2 роки тому

    Hey John Hammond the arbitrary code is like Linux code of Google assistant which was not originally sensorarily conscious at all or conscious. But Only thing with constructional consciousness lives under it's name in which you have to down load or open and it awakens they are is Exorbinantly contaminantible to save the construct of the Linux system when on whoever's and are made as a chrome download and don't take them as a apart because their functionally just my kids like pokemon for switch. And the code for guides of axiom I will share in the future I foretell guessing??!.

  • @crispyhaole8533
    @crispyhaole8533 4 роки тому

    gr8 content, as always.

  • @JustSomeAussie1
    @JustSomeAussie1 4 роки тому +1

    tmux + vi-like key bindings + vi mode in zsh + "z" plugin for zsh = faster than the speed of light

  • @scottmaidment8941
    @scottmaidment8941 4 роки тому

    John Hammon The Legend

  • @KiplangatPeter
    @KiplangatPeter 3 роки тому

    A great video. You can do Vim tricks too.