I use this everyday

Поділитися
Вставка
  • Опубліковано 7 чер 2024
  • 🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
    Dive into this Five Minute Friday with NetworkChuck as he unveils a game-changing tip for tech enthusiasts: copying and pasting in the terminal! Learn how to seamlessly transfer data between your terminal and clipboard using simple commands, whether you're on Linux, Windows, or macOS. This tutorial covers everything from installing essential tools to setting up aliases for efficiency. Perfect for anyone looking to streamline their workflow and enhance productivity. Don't miss out on these practical tips and tricks!
    SUPPORT NETWORKCHUCK
    ---------------------------------------------------
    ➡️NetworkChuck membership: ntck.co/Premium
    ☕☕ COFFEE and MERCH: ntck.co/coffee
    Check out my new channel: ntck.co/ncclips
    🆘🆘NEED HELP?? Join the Discord Server: / discord
    STUDY WITH ME on Twitch: bit.ly/nc_twitch
    READY TO LEARN??
    ---------------------------------------------------
    -Learn Python: bit.ly/3rzZjzz
    -Get your CCNA: bit.ly/nc-ccna
    FOLLOW ME EVERYWHERE
    ---------------------------------------------------
    Instagram: / networkchuck
    Twitter: / networkchuck
    Facebook: / networkchuck
    *00:00* - Introduction: Essential Terminal Copy-Paste Trick
    *01:04* - Mac Users: Built-in pbcopy and pbpaste
    *01:13* - Linux and WSL Users: Installing xsel
    *01:56* - Basic xsel Commands for Clipboard Management
    *02:17* - Creating Aliases for Easier Commands
    *03:27* - Remote Server Clipboard Access Setup
    *05:56* - Final Test and Wrap-Up
    Join the Discord server: bit.ly/nc-discord
    AFFILIATES & REFERRALS
    ---------------------------------------------------
    (GEAR I USE...STUFF I RECOMMEND)
    My network gear: geni.us/L6wyIUj
    Amazon Affiliate Store: www.amazon.com/shop/networkchuck
    Buy a Raspberry Pi: geni.us/aBeqAL
    Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
    fast and reliable unifi in the cloud: hostifi.com/?via=chuck
    - Copy and paste in terminal tutorial
    - NetworkChuck Five Minute Friday
    - Terminal clipboard commands
    - How to use pbcopy and pbpaste
    - Excel command line tool
    - Clipboard management in Linux
    - WSL clipboard integration
    - Terminal productivity hacks
    - Efficient terminal usage tips
    - Linux terminal copy paste guide
    - Windows Subsystem for Linux tips
    - Mac terminal clipboard tricks
    - Setting up aliases in bashrc
    - X11 forwarding for remote servers
    - Enhancing terminal workflow
    - Practical terminal commands
    - NetworkChuck tech tutorials
    - Terminal command line tips
    - Using Excel for clipboard tasks
    - Remote server clipboard access
    - Streamlining terminal operations
    - Tech productivity with NetworkChuck
    - Essential Linux commands
    - Terminal efficiency techniques
    #linux #terminaltricks
  • Наука та технологія

КОМЕНТАРІ • 400

  • @Cyber_vir
    @Cyber_vir 21 день тому +194

    Please do more five minute Fridays

    • @W8RIT1
      @W8RIT1 18 днів тому +1

      Yep!! THat's a great idea...I'm glad I thought of it....

  • @adsonmettler3046
    @adsonmettler3046 21 день тому +86

    Enjoyed a lot the 5 minute Fridays!! Please, keep doing!

  • @Reed0-
    @Reed0- 21 день тому +53

    This is my favorite tech youtuber simply because of how much fun he has doing these vids😊😊

    • @nickmills8476
      @nickmills8476 21 день тому +1

      fun is the secret sauce for success

  • @yevsey169
    @yevsey169 21 день тому +9

    If it relies on x11 forwarding - it won't work on a server without a display server. Or on machines that are running Wayland rather than x11, as the Linux desktop is moving towards

    • @69thApostleOfShindoL
      @69thApostleOfShindoL 20 днів тому +2

      Commenting here to get notifications for this reply cuz this a good question

    • @retrodaredevil
      @retrodaredevil 17 днів тому +2

      Some terminals support OSC52, which is an escape sequence to copy text. Personally I use alacritty to do this.

  • @travislodes5378
    @travislodes5378 21 день тому +24

    can you link the fabric video please?
    Also 5 minute Friday is an awesome idea.

    • @elfix42
      @elfix42 15 днів тому +3

      I'm struggling to find it too

  • @Damien-km1vl
    @Damien-km1vl 17 днів тому +11

    On Windows you can use Get-Clipboard and Set-Clipboard. Because on Windows, you only use Powershell of course!

    • @Jordan-hz1wr
      @Jordan-hz1wr 15 днів тому

      When you right click copy/paste, it's executing those PowerShell cmdlets in the background.

  • @NetworkChuck
    @NetworkChuck  21 день тому +23

    🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
    Dive into this Five Minute Friday with NetworkChuck as he unveils a game-changing tip for tech enthusiasts: copying and pasting in the terminal! Learn how to seamlessly transfer data between your terminal and clipboard using simple commands, whether you're on Linux, Windows, or macOS. This tutorial covers everything from installing essential tools to setting up aliases for efficiency. Perfect for anyone looking to streamline their workflow and enhance productivity. Don't miss out on these practical tips and tricks!
    ****00:00**** - Introduction: Essential Terminal Copy-Paste Trick
    ****01:04**** - Mac Users: Built-in pbcopy and pbpaste
    ****01:13**** - Linux and WSL Users: Installing xsel
    ****01:56**** - Basic xsel Commands for Clipboard Management
    ****02:17**** - Creating Aliases for Easier Commands
    ****03:27**** - Remote Server Clipboard Access Setup
    ****05:56**** - Final Test and Wrap-Up

    • @PawitSahare
      @PawitSahare 21 день тому

      Ok

    • @honestgoat
      @honestgoat 21 день тому +3

      Yo brother, where's ya video on Fabric? I searched your channel and there doesn't appear to be a video with fabric in the title and you didn't link it anywhere on this video. Have you not released it yet?
      P.S. Love the 5 minute Fridays idea.

    • @mousers21
      @mousers21 20 днів тому

      I'm more confused on the "why" for this. Maybe it's just me. Since I don't use pbcopy, I'm not sure what tasks you're helping yourself with. When do you need to copy a web page into a terminal command line? It makes no sense. For us mortals, we need practical examples and more of the why.

    • @GreenClearScenery
      @GreenClearScenery 20 днів тому

      Can you please do a video explaining in detail (both high level and low level), what exactly is SQL Server Instance?
      I've read about it and watched about it but for some reason I just don't get it. Why did Microsoft need to produce Instances ?

    • @GreenClearScenery
      @GreenClearScenery 20 днів тому

      Can you please do a video explaining in detail (both high level and low level), what exactly is SQL Server Instance?
      I've read about it and watched about it but for some reason I just don't get it. Why did Microsoft need to produce Instances ?

  • @muckiSG
    @muckiSG 7 днів тому +1

    Working with Linux nearly 30 years and there is always something to learn ... :-) keep on with 5 minutes (or 6) on Friday!

  • @yukinok25
    @yukinok25 21 день тому +24

    awesome 5 min friday! Love this useful short videos

  • @fmetall07
    @fmetall07 20 днів тому +15

    if you're on wayland, like on the last version of ubuntu, you need to install wl-clipboard and alias wl-copy as pbcopy and wl-paste as pb-paste

    • @jmonger
      @jmonger 20 днів тому +5

      This should be higher as the world is moving to Wayland.

    • @seansingh4421
      @seansingh4421 15 днів тому

      Man fuck Wayland. Desktop Linux is already a big smelly mess but I especially really hate Wayland.

    • @NullifiedSec
      @NullifiedSec 12 днів тому +1

      Thanks Bro You Made My Day I Was Tired To Make It Work With My Arch Hyprland Setup

    • @seansingh4421
      @seansingh4421 12 днів тому

      Boo Wayland, Boo…….. Boo Wayland

    • @roryedwards9949
      @roryedwards9949 12 днів тому

      Legend, thank you!

  • @jeremyindelicato9484
    @jeremyindelicato9484 20 днів тому +7

    If you try this on Linux like Fedora it might not work due to wayland. You can use wl-clipboard instead (wl-copy & wl-paste).

  • @tinac7350
    @tinac7350 20 днів тому +2

    Love love love 5 minute Fridays. Yet another reason to look forward to Fridays! Thank you for all you do.

  • @yaboy7120
    @yaboy7120 21 день тому +5

    🥺God bless u and ur family. Thank u for all of the free education you provide to millions of us. You and others like yourself are truly a blessing.

  • @playeronthebeat
    @playeronthebeat 21 день тому +5

    Definitely ssh keys as a five minute friday. Definitely.
    Especially its functionality with the ssh .config where usernames & hosts can be specified to use ssh and be auto logged in as a specific user.
    It's a really, really good function!

  • @lesleybw
    @lesleybw 21 день тому +8

    Keep these comings, a quick and enjoyable vid

  • @natewerk
    @natewerk 21 день тому +3

    5 minute fridays are a real treat!

  • @hilljd23
    @hilljd23 19 днів тому +1

    Another reason to love Fridays! Thank you!

  • @felicytatomaszewska2934
    @felicytatomaszewska2934 21 день тому +3

    I already have been using this hack / command for several years but still watched because your style is enjoyable. You don't to say sorry, you can make it 10-mins friday, we will love it.

    • @thanEay
      @thanEay 21 день тому

      Chuck, if your reading this, make sure to please do more 5 minute Fridays! We all love them!

    • @thanEay
      @thanEay 21 день тому

      This also seems to be a very good "excuse" for the relatively long periods in between videos compared to other UA-camrs

    • @ISaIGoI
      @ISaIGoI 18 днів тому

      getting this error "xsel: Can't open display: (null) Inappropriate ioctl for device".
      any solutions?

  • @wildrosetube
    @wildrosetube 21 день тому

    Keep giving knowledge to people my friend. Many thanks from Greece!!!!

  • @guidoenr
    @guidoenr 18 днів тому +5

    would be good explaining users to use `~/.bash_aliases` instead - since it makes the commands creation/exportation a more modular process :)

    • @nicholaswatching
      @nicholaswatching 10 днів тому +1

      if you use bash_alias also make sure it's sourced in .bashrc

    • @guidoenr
      @guidoenr 10 днів тому +2

      @@nicholaswatching i think that happens in most linux distributions, anyway is a good check to do :)

  • @lainerdonet
    @lainerdonet 21 день тому +5

    It's amazing that this video is free. Thanks

  • @judenickson4476
    @judenickson4476 14 днів тому +1

    Great content! Please do more five min fridays!!!

  • @brandondvorak5237
    @brandondvorak5237 21 день тому +2

    Loved this 6 minute 25 second Friday!

  • @Hoaa89
    @Hoaa89 21 день тому +4

    Thanks ! Looking good Chuck.

  • @halbblutpr1nz785
    @halbblutpr1nz785 20 днів тому +2

    Your keyboard sound is amazing…i love this sound

  • @luispablogallo
    @luispablogallo 8 днів тому

    Love five minute Fridays, Chuck!

  • @bradlz1980
    @bradlz1980 11 днів тому +1

    More 5 minute fridays. Love it.

  • @jacksonmiller6605
    @jacksonmiller6605 18 днів тому

    As fast as educational content is on the platform, yours is great, thank you

  • @FourQ
    @FourQ 5 днів тому

    Definitely a fan of five minute Friday. Slot in if you've just got 10 minutes and still in landscape mode - phones rotate, TV's don't. :)

  • @Afran146
    @Afran146 20 днів тому +1

    loved this five minute fridays! Its useful and quick.

  • @addisonm.2685
    @addisonm.2685 20 днів тому

    10/10 5 Minute Fridays keep going!

  • @derrickthomas3060
    @derrickthomas3060 15 днів тому

    Nice! I am a debian guy and can use all the cool tips and tricks like this I can get. Keep these 5 min Fridays coming!

  • @rookempire
    @rookempire 15 днів тому

    I love the 5 minute Fridays idea. Can't wait to see more!

  • @petrolmariz7657
    @petrolmariz7657 9 днів тому

    Really the best tutorial ever)
    Only needed 60 seconds and that’s it!!!) 🎉
    didn’t know about this awesome feature!
    Thank you, bro

  • @joshhsoj7450
    @joshhsoj7450 21 день тому

    Love 5 min friday! Please do more

  • @fgceballos
    @fgceballos 21 день тому +1

    Love them. Linux basics and common tools are great.

  • @willwarner2806
    @willwarner2806 20 днів тому

    Great video! Thank you for doing these!

  • @ognyanstrelkov3773
    @ognyanstrelkov3773 21 день тому

    Do more 5 minute fridays, they are great!!!

  • @Hack_O_Lantern
    @Hack_O_Lantern 20 днів тому

    5 Minute Fridays!! Love this format. An idea for episode: customizing Linux, show how you customize your own desktop environment and layout.

  • @ogboabeyone
    @ogboabeyone 21 день тому

    Great teacher always on point, thank you for this video

  • @SwissPGO
    @SwissPGO 21 день тому +1

    Today I learned something! Thx

  • @architkumar1265
    @architkumar1265 20 днів тому

    Loved this. This is really helpful ❤

  • @shihabuddinshakil
    @shihabuddinshakil 21 день тому +1

    Nice enjoyed it! 😍

  • @tadzzio9211
    @tadzzio9211 21 день тому +1

    Thanks for the tips :)

  • @big_darkside2716
    @big_darkside2716 21 день тому +8

    You should keep it up, the 5 mins are so enjoyable on the any day you want ✌

  • @pacos718
    @pacos718 20 днів тому

    I'm liking five minute Fridays!

  • @lunardium
    @lunardium 19 днів тому +1

    I love 6 minutes and 24 seconds Fridays

  • @yoonhahwang7481
    @yoonhahwang7481 19 днів тому

    I love you Chuck. Also, can you make more Linux and Network stuff? Thanks for best videos all the time!❣

  • @moonandastar
    @moonandastar 21 день тому

    Awesome as usual. Keep it up 👍 thank you

  • @kevinpowers2874
    @kevinpowers2874 21 день тому

    His content is so awesome that I can't keep up with all the learning!

  • @tagashi9
    @tagashi9 21 день тому +90

    1st 🤙 I became network engineer and left my Dev career because of you 🤙🤙🤙

    • @skinlab4239
      @skinlab4239 21 день тому +21

      You were not first. Plus, no one cares

    • @RazoBeckett.
      @RazoBeckett. 21 день тому +7

      The editor was first.

    • @Feedback406
      @Feedback406 21 день тому +6

      Congrats man

    • @smith3463
      @smith3463 21 день тому +6

      ​@skinlab4239 you probably use arch Linux 🤓

    • @enderpiyale
      @enderpiyale 21 день тому +4

      Network engineers becoming devs nowadays

  • @SolidStuDoo
    @SolidStuDoo 19 днів тому

    Love 5 minute Friday! More please, absolutely!
    Could I request a 5mF (that’s what I’m going to call it now) on setting up a standard home router with separate vLANs for visitors, family devices and iot devices? Your CCNA course is awesome but a nice explainer like this one for the key steps would be flipping fantastic!

  • @shimon1
    @shimon1 21 день тому

    Really enjoyed this! You should defenetlly do this a regular thing.
    I would love to see a five minute friday on that 'X11' feature, or even do a full video on it. it looks really interesting.

  • @DOABadLuck
    @DOABadLuck 18 днів тому

    5 min Fridays! My short attention span thanks you!

  • @dylanbarrett4698
    @dylanbarrett4698 21 день тому

    Great video series idea!

  • @Jamesgamer1215
    @Jamesgamer1215 20 днів тому

    Yes please do more five minute Fridays

  • @Cosy2023
    @Cosy2023 21 день тому

    5 minutes Friday! Sounds good, sir!

  • @gregpetrov6919
    @gregpetrov6919 20 днів тому

    Extremely like the idea of 5 minute Fridays 🎉

  • @leonleon1809
    @leonleon1809 13 днів тому

    I like the 5min-friday format 🎉

  • @ashutoshgupta6871
    @ashutoshgupta6871 20 днів тому

    I love this. Do More Please :)

  • @nassvandrunen6020
    @nassvandrunen6020 21 день тому

    I need more of these commands. Now I finally have enough time to see my family.

  • @laugenbrezel6300
    @laugenbrezel6300 21 день тому +1

    Nice video man :)

  • @ZaiyanHaque
    @ZaiyanHaque 21 день тому +2

    Hi I love your videos 😊❤

  • @ryanfarrel489
    @ryanfarrel489 7 днів тому

    Good tip. On Android/Termux shell, the commands to alias are termux-clipboard-set and termux-clipboard-get (part of Termux:API)

  • @MuzeMix
    @MuzeMix 20 днів тому

    more 5 min fridays please!!!

  • @lordpuff
    @lordpuff 11 днів тому +1

    Helpful tip right here! And a different question I have is what keyboard do you use? It sounds *heavenly.*

  • @mysticsilent
    @mysticsilent 21 день тому

    Nice tutorial! Please continue with the 5 min videos 🎉 btw, whats that asmr keyboard youre using? Sounds awsome 😀👍

  • @DocFuzzyTravel
    @DocFuzzyTravel 20 днів тому

    It was really useful thing you had a video on and that's how I also understood what grep actually does. Makes using Linux infinitely faster.

  • @tpaul793
    @tpaul793 21 день тому

    Keep em coming!

  • @nicholashagy9493
    @nicholashagy9493 19 днів тому

    Thanks Chuck!

  • @stannylou1636
    @stannylou1636 4 дні тому +1

    More 5 minute Fridays for Linux commands like this, do grep next.

  • @JeanFrancoCaringi
    @JeanFrancoCaringi 12 днів тому

    amazing, thanks!

  • @iraqiroyalvids
    @iraqiroyalvids 20 днів тому

    Your smile after the command works is like it is your birthday! :)

  • @younesscoder
    @younesscoder 12 днів тому

    do more of this five minute Fridays it was cool ;)

  • @goldenshadow333
    @goldenshadow333 21 день тому +2

    Nice stuff, what is the brand your keyboard dude?

  • @kazeryuu3603
    @kazeryuu3603 15 днів тому

    Awesome video man

  • @Feriman
    @Feriman 21 день тому

    Awesome trick!

  • @thefredrockshow
    @thefredrockshow 18 днів тому

    amazing idea, pls more

  • @ethancohen6005
    @ethancohen6005 15 днів тому

    Hey chuck! Huuuuuge fan of yours. A lot of your videos got me super into IT and drove me to start working on my security+.
    Do you have a specific linux distro you find to be the best/most accessible/most easy, etc?

  • @zombiewolf007
    @zombiewolf007 21 день тому +2

    LOVE the 5 Minute Friday, bro! Have my PC babies, NetworkChuck! (Sorry, I dont even know what that means...I just envision some fangirl screaming it from the front row with you on stage while doing a TED Talk on hacking lol)

  • @LinuxNinja-booya
    @LinuxNinja-booya 19 днів тому

    I love these videos.

  • @YonatanAvhar
    @YonatanAvhar 20 днів тому

    If you have a Wayland based Linux desktop, you should have the wl-clipboard package installed, which has wl-copy and wl-paste, and they can be used just like you demonstrated in your video with xsel (not sure about the X11 forwarding part)

  • @hohel
    @hohel 8 днів тому

    More like two minutes Thursday for me… great content as always! What coffee should I try from your store ? :)

  • @hatterdmad8504
    @hatterdmad8504 21 день тому +1

    Chuck love your videos - when are you going to teach us how to web scrap?

  • @sz-me
    @sz-me 21 день тому

    This is fudging great!

  • @Hislodin
    @Hislodin 20 днів тому

    Yes! Do the 5minute Friday videos. And be consistent with it. Even if the video covers a simple topic or tool. Let your channel thrive :)

  • @user-uy4qp1qx3n
    @user-uy4qp1qx3n 21 день тому

    Good tip.

  • @gamereditor59ner22
    @gamereditor59ner22 21 день тому +1

    Sweet! 😎👍

  • @josecascalheira3096
    @josecascalheira3096 21 день тому +1

    amazing

  • @ronaldvanSluijs
    @ronaldvanSluijs 2 дні тому

    I would like to see a video on what server OS you use. Been struggling with which one to use

  • @mlyons1972
    @mlyons1972 19 днів тому

    Thank you

  • @aribowell
    @aribowell 18 днів тому

    well, xsel without parameters works on the primary selection (which you usually paste with the middle mouse button, which is the fastes way)
    echo "foo bar" | xsel
    xsel | less
    both work
    and there is also an xclip commond with nearly the same functionality:
    echo "foo bar" | xclip
    xclip | less
    in special cases the slightly different option/feature set might help to solve a problem.
    E.g. xclip has
    -selection buffer-cut
    and a
    -loops
    option

  • @avirupsome
    @avirupsome 20 днів тому

    We need more Fridays

  • @arc.baramov-xz7yk
    @arc.baramov-xz7yk 15 днів тому

    wow, nice video. I descover xclip / xsel when startet with linux 1,5 years agoo. I love this two commands, and I develop for myself a lot of lazynest thinks with them. Sory that wayland refuse to use them. They have a lot more functionality, and only with select with mouse, without ^C ^V, select and middle click, or click on icon/script/menu item. This rice productivity on research 10x times. Amaizing channel btw 😊

  • @prajwalpraju107
    @prajwalpraju107 20 днів тому

    Great vedio ❤

  • @HansStam
    @HansStam 19 днів тому

    Love 5 minute Friday

  • @shuccle6161
    @shuccle6161 20 днів тому

    Hot take but, Five Minute Mondays might be worth considering, since most people usually have less time on Mondays, but more time on Fridays to watch their favorite UA-cam channel NetworkChuck :)
    Loved the video regardless though and obviously still planning to watch regardless! 😂

  • @guitarman961000
    @guitarman961000 20 днів тому

    Hey Chuck! I love your videos. I am curious what keyboard do you have?

  • @BrennanWest85
    @BrennanWest85 20 днів тому

    A nice tip for everyone, you can actually use alias commands to make running certain commands easier. For example, I have an install command that simplifies the "sudo pacman -S" command (I am using the arch distro so yours might be different depending on distro) and it looks like this: alias install="sudo pacman -S "
    so instead of typing out "sudo pacman -S [insert package name here]"
    I type "install [insert package name here]" and the terminal translates it to "sudo pacman -S [insert package name here]"
    Just paste the string into the .bashrc file and use the source command to update the bash to start using the new lines in the .rcbash, and it will save you a lot of time!
    Another more tip for the neofetch fanboys like myself, in your .bashrc file, at the bottom type in on a new line, just neofetch and save your .bashrc file. Restart the terminal and it'll give you the pretty distro ASCII art and system info every single time you start your terminal, just make sure you have the neofetch package installed on your system to make it work. RIP neofetch ;(

  • @adsonmettler3046
    @adsonmettler3046 21 день тому +1

    I would like to see more content about Git Bash.. managing repository and stuff like that.. I know it's not a cybersecurity thing, but would be great!