Smart Hackers DON'T Use Terminal
Вставка
- Опубліковано 29 сер 2024
- Using the Terminal sucks; it's too basic. Let's upgrade our hacking experience with my favourite multiplexer!
MENTIONED IN THE VIDEO:
- Tmux: github.com/tmu...
MY TMUX CONF FILE:
Remap prefix key to be A instead of B
set -g prefix C-a
bind C-a send-prefix
unbind C-b
History and renaming
set -g history-limit 10000
set -g allow-rename off
Search mode Vi (default is emacs)
set-window-option -g mode-keys vi
Changing split window keys and retain the current working directory on split
bind \\ split-window -h -c '#{pane_current_path}' # Split panes horizontal
bind - split-window -v -c '#{pane_current_path}' # Split panes vertically
🎵 Where I get my Music (amazing for UA-camrs) - share.epidemic...
PS: Some of the links in this description are affiliate links that I get a kickback from 🤝
LinkedIn: / thegaryruddell
X: / thegaryruddell
Instagram: / thegaryruddell
Website: www.garyruddel...
Hey, thank you for watching!
I have a weekly cyber newsletter where I share key insights across the cyber landscape, fun tools and more. You can join for free here: www.garyruddell.com/newsletter
See you soon!
Gary
having a window and history for each command would make enumeration so much easier. i love it
It’s a winner!
NO Terminal ? I just dropped my coffee cup. I liked that cup . ;-) ... However great Video !
Haha! Sorry about the cup!
@@theGaryRuddell haha 🙂
tmux definitely takes some getting used to. It can be beneficial when you are working on multiple tasks or networks at once.
I agree! Customise it. Master it. And you’ll never look back!
@@theGaryRuddell It took me about 3 months to really get used to it. Now it is all I use when in Linux.
Gary as usual, your videos are utter gold. You are a gifted teacher and clearly love what you do. Thanks for sharing your knowledge.
That’s very kind of you to say
tmux and screen are very useful for remote access to leave processes running and continue the workflow at a later time. For a local VM you can just use terminal tabs, split screens and minimize the window instead of closing it. It would be much less typing and you can use nice terminals such as terminator, tilix or Konsole to have a much better experience than tmux. The only benefit of using tmux/screen for a local VM is if your DE crashes but that shouldn't happen often.
Yeah for a local VM terminal tabs are fine 👍🏼
Great video! It's good to point out that in order to make it work, once the prefix keys are pressed they must be released and then press the desired key to accomplish the task (splitting panes etc)
Very true! Thanks Pedro!
Gary, Im using kitty, what do you think about it? Also im using a zsh with plugins like batcat and lsd. I think it may save you a lot of time when doing a machine. It also looks better ;). Btw I really learn from your videos gary, keep it up!
I'll check it out! I've never used it but it certainly looks great! Thanks Javier!
kitty is very nice :-)
But what exactly the tmux is?
Is tmux kind of shell?
Or something else.
And why we need it, if we have terminal which can manually configure ?
It’s really just a program that runs inside a normal Terminal window. You need it for detaching and attaching - which I demonstrated later in the video 🤘🏼
@Gary Ruddell great video.
althought the split pane code in the video description are not correct (not aligned with your video).
Should be something like below right ?
# Changing split window keys and retain the current working directory on split
bind | split-window -h -c '#{pane_current_path}' # Split panes horizontal
bind - split-window -v -c '#{pane_current_path}' # Split panes vertically
Thanks I’ll investigate and update. Weird that it works fine for me on Tmux though. Thanks Nuno
I figured it out.
| and \ are on the same key. I didn't want to have to hold shift to access the | character. So I'm pressing \ technically, but it's on the same key as |.
I hope people figure that out :)
tmux is great why ?
Sometimes you have to run multiple terminal as some system ,process or server may be running and you can't close it and on top of that you have to run other things.
This is where termux comes in multiple windows in one terminal .
Yep! Awesome tool!
@@theGaryRuddelltrue
great, great video...does tmux preserve the whole zsh config like the theme, etc? and every other tool installed for native terminal?
Good question! I have no idea. I run a very out of the box system so I’ve never tested that!
I would change the title , "Smart hacker don't use Kali" 😎
😂 why not?
@@theGaryRuddell Kali is overrated any skid use it, I use arch btw ;)
It’s just an OS. I know lots of professionals that use it. Arch is fine too 🤷🏻♂️
Nice clickbait. Almost went ballistic. You had me on the first half not gonna lie.
Hahahah ballistic! Great use of the word!
@@theGaryRuddell had to sub.
I usually do everything on a tiling window manager so having multiple terminals is easy, but recently I’ve really started enjoying tmux. TPM really brings it out
Good work.
Thanks pal! I appreciate the support!
Ive always loved the northern Irish accent. Its so militant
Militant 😂 “to be sure!”
Lovely one man
Cheers Donald!
Wow. Very great. I will try it!
Enjoy! It’s a nice tool! If you struggle with it, maybe try Terminator!
@@theGaryRuddell oh ok very great thx!
Amazing!!!
It’s a lovely program
me again haha when I copy your conf file, when I try to create a new window with Ctrl+a+c it just acts like i'm pressing ctrl+c and it cancels? any ideas?
nevermind! I read Pedro's comment hahaha
Ha! Good on ya!
Good Video.
Cheers Nix!
Nice video. Keep up the good work.
Thank you Umar! Kind words help motivate me! Glad you enjoyed it :)
Are you a Tmux user now?
I just use terminator and screen.
Screen is a classic
You can do it all in your basic terminal... Just open shortcuts and read it =)
You can’t close the terminal without killing running processes. Tmux let’s you detach and attach at a later date.
@@theGaryRuddell Why not? Use disown for process and close your terminal if you want.. Don't make life difficult for yourself
Yeah disown is a fair challenge. But Tmux has so many more features than the basic Terminal. Server-client architecture and sharing between users etc. It’s a beast and I’ll always prefer it over Terminal.
u can make it colorful and useful better of that
Functionality > Aesthetic
Terminator >>>>>>>>>>>>>>>>>>>>
What about it? 😊
BAITED haha
I knew this was a clickbait video 🤣
😂 it’s not for the people who’ve never heard of Tmux! 😜
Moved to wm so, it's quite lovely and works me well🙌🙌. tmux ls for shorthand ✌️
Nice to hear! I’ll check it out!
@@theGaryRuddell Sure:)