I use this everyday

Поделиться
HTML-код
  • Опубликовано: 26 июн 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
  • НаукаНаука

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

  • @Cyber_vir
    @Cyber_vir Месяц назад +218

    Please do more five minute Fridays

    • @W8RIT1
      @W8RIT1 Месяц назад +1

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

  • @adsonmettler3046
    @adsonmettler3046 Месяц назад +90

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

  • @Reed0-
    @Reed0- Месяц назад +56

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

    • @nickmills8476
      @nickmills8476 Месяц назад +1

      fun is the secret sauce for success

  • @yukinok25
    @yukinok25 Месяц назад +24

    awesome 5 min friday! Love this useful short videos

  • @NetworkChuck
    @NetworkChuck  Месяц назад +25

    🔥🔥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 Месяц назад

      Ok

    • @honestgoat
      @honestgoat Месяц назад +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 Месяц назад

      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 Месяц назад

      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 Месяц назад

      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 ?

  • @Damien-km1vl
    @Damien-km1vl Месяц назад +11

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

    • @Jordan-hz1wr
      @Jordan-hz1wr Месяц назад

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

  • @jonnyawright
    @jonnyawright 14 дней назад

    I spent hours yesterday trying to get this to work directly on Windows with no joy. Took the WSL approach and working perfectly now 💗

  • @fmetall07
    @fmetall07 Месяц назад +17

    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 Месяц назад +6

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

    • @seansingh4421
      @seansingh4421 Месяц назад

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

    • @NullifiedSec
      @NullifiedSec Месяц назад +1

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

    • @seansingh4421
      @seansingh4421 Месяц назад

      Boo Wayland, Boo…….. Boo Wayland

    • @roryedwards9949
      @roryedwards9949 Месяц назад

      Legend, thank you!

  • @muckiSG
    @muckiSG 26 дней назад +1

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

  • @playeronthebeat
    @playeronthebeat Месяц назад +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!

  • @yaboy7120
    @yaboy7120 Месяц назад +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.

  • @yevsey169
    @yevsey169 Месяц назад +10

    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 Месяц назад +2

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

    • @retrodaredevil
      @retrodaredevil Месяц назад +2

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

  • @felicytatomaszewska2934
    @felicytatomaszewska2934 Месяц назад +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 Месяц назад

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

    • @thanEay
      @thanEay Месяц назад

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

    • @ISaIGoI
      @ISaIGoI Месяц назад

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

  • @travislodes5378
    @travislodes5378 Месяц назад +26

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

    • @elfix42
      @elfix42 Месяц назад +3

      I'm struggling to find it too

    • @TryGoFurtherAndSucceed
      @TryGoFurtherAndSucceed 2 дня назад

      ruclips.net/video/UbDyjIIGaxQ/видео.html&pp=ygUTbmV0d29ya2NodWNrIGZhYnJpYw%3D%3D

  • @tinac7350
    @tinac7350 Месяц назад +2

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

  • @jeremyindelicato9484
    @jeremyindelicato9484 Месяц назад +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).

  • @user-zn1qt8gu1o
    @user-zn1qt8gu1o 8 дней назад +1

    this is such a good idea for a series

  • @guidoenr
    @guidoenr Месяц назад +5

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

    • @nicholaswatching
      @nicholaswatching 29 дней назад +1

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

    • @guidoenr
      @guidoenr 29 дней назад +2

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

  • @jamesbrown8766
    @jamesbrown8766 17 дней назад

    Love the 5 minute Fridays! Often I don’t have time for a 20 or 30 minute video, but I’m having Chuck withdrawal. And this is a cool trick. Glad to know my Mac already has this capability. I guess I should have read the manual 😂.

  • @lesleybw
    @lesleybw Месяц назад +8

    Keep these comings, a quick and enjoyable vid

  • @halbblutpr1nz785
    @halbblutpr1nz785 Месяц назад +2

    Your keyboard sound is amazing…i love this sound

  • @natewerk
    @natewerk Месяц назад +3

    5 minute fridays are a real treat!

  • @bradlz1980
    @bradlz1980 Месяц назад +1

    More 5 minute fridays. Love it.

  • @brandondvorak5237
    @brandondvorak5237 Месяц назад +2

    Loved this 6 minute 25 second Friday!

  • @therealroga
    @therealroga 3 дня назад

    that was great - more 5min fridays please!

  • @hilljd23
    @hilljd23 Месяц назад +1

    Another reason to love Fridays! Thank you!

  • @wildrosetube
    @wildrosetube Месяц назад

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

  • @pinlap3875
    @pinlap3875 9 дней назад

    Thank you! I already feel the ways this will save me frustratoin - just with ssh. More 5 minute fridays please.

  • @luispablogallo
    @luispablogallo 27 дней назад

    Love five minute Fridays, Chuck!

  • @Hoaa89
    @Hoaa89 Месяц назад +4

    Thanks ! Looking good Chuck.

  • @judenickson4476
    @judenickson4476 Месяц назад +1

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

  • @ryanfarrel489
    @ryanfarrel489 26 дней назад

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

  • @lainerdonet
    @lainerdonet Месяц назад +5

    It's amazing that this video is free. Thanks

  • @jacksonmiller6605
    @jacksonmiller6605 Месяц назад

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

  • @rookempire
    @rookempire Месяц назад

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

  • @derrickthomas3060
    @derrickthomas3060 Месяц назад

    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!

  • @lunardium
    @lunardium Месяц назад +1

    I love 6 minutes and 24 seconds Fridays

  • @stannylou1636
    @stannylou1636 24 дня назад +1

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

  • @petrolmariz7657
    @petrolmariz7657 28 дней назад

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

  • @addisonm.2685
    @addisonm.2685 Месяц назад

    10/10 5 Minute Fridays keep going!

  • @lordpuff
    @lordpuff Месяц назад +1

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

  • @Afran146
    @Afran146 Месяц назад +1

    loved this five minute fridays! Its useful and quick.

  • @tjkhan69
    @tjkhan69 3 дня назад

    more five minute friday 🌟

  • @big_darkside2716
    @big_darkside2716 Месяц назад +8

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

  • @chrisdiehl8452
    @chrisdiehl8452 Месяц назад +2

    One thing you forgot to say.
    When editing /etc/ssh/sshd_config you have to be root.

  • @FourQ
    @FourQ 24 дня назад

    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. :)

  • @joshhsoj7450
    @joshhsoj7450 Месяц назад

    Love 5 min friday! Please do more

  • @ognyanstrelkov3773
    @ognyanstrelkov3773 Месяц назад

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

  • @willwarner2806
    @willwarner2806 Месяц назад

    Great video! Thank you for doing these!

  • @SwissPGO
    @SwissPGO Месяц назад +1

    Today I learned something! Thx

  • @fgceballos
    @fgceballos Месяц назад +1

    Love them. Linux basics and common tools are great.

  • @tadzzio9211
    @tadzzio9211 Месяц назад +1

    Thanks for the tips :)

  • @shimon1
    @shimon1 Месяц назад

    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.

  • @BrennanWest85
    @BrennanWest85 Месяц назад

    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 ;(

  • @nassvandrunen6020
    @nassvandrunen6020 Месяц назад

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

  • @ogboabeyone
    @ogboabeyone Месяц назад

    Great teacher always on point, thank you for this video

  • @Hack_O_Lantern
    @Hack_O_Lantern Месяц назад

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

  • @pacos718
    @pacos718 Месяц назад

    I'm liking five minute Fridays!

  • @Jamesgamer1215
    @Jamesgamer1215 Месяц назад

    Yes please do more five minute Fridays

  • @Awas79
    @Awas79 Месяц назад

    Keen for more 5 min fridays

  • @DOABadLuck
    @DOABadLuck Месяц назад

    5 min Fridays! My short attention span thanks you!

  • @architkumar1265
    @architkumar1265 Месяц назад

    Loved this. This is really helpful ❤

  • @shihabuddinshakil
    @shihabuddinshakil Месяц назад +1

    Nice enjoyed it! 😍

  • @kevinpowers2874
    @kevinpowers2874 Месяц назад

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

  • @Cosy2023
    @Cosy2023 Месяц назад

    5 minutes Friday! Sounds good, sir!

  • @hood7910
    @hood7910 7 дней назад

    5 minute friday, it is the thing

  • @MikeWood
    @MikeWood 3 дня назад

    This was a good tip. More 5MF. I thought your channel had gone dormant so I checked to see if there had been any content since the White House degrees video and was surprised there was. Damned algorithm.

  • @iraqiroyalvids
    @iraqiroyalvids Месяц назад

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

  • @gregpetrov6919
    @gregpetrov6919 Месяц назад

    Extremely like the idea of 5 minute Fridays 🎉

  • @dylanbarrett4698
    @dylanbarrett4698 Месяц назад

    Great video series idea!

  • @MuzeMix
    @MuzeMix Месяц назад

    more 5 min fridays please!!!

  • @aribowell
    @aribowell Месяц назад

    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

  • @moonandastar
    @moonandastar Месяц назад

    Awesome as usual. Keep it up 👍 thank you

  • @SolidStuDoo
    @SolidStuDoo Месяц назад

    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!

  • @mysticsilent
    @mysticsilent Месяц назад

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

  • @leonleon1809
    @leonleon1809 Месяц назад

    I like the 5min-friday format 🎉

  • @HansStam
    @HansStam Месяц назад

    Love 5 minute Friday

  • @DocFuzzyTravel
    @DocFuzzyTravel Месяц назад

    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.

  • @nicholashagy9493
    @nicholashagy9493 Месяц назад

    Thanks Chuck!

  • @YonatanAvhar
    @YonatanAvhar Месяц назад

    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)

  • @halimhack3934
    @halimhack3934 Месяц назад

    Do one about connecting light bulbs and home components to a switch then a router for control while outside your house!

  • @goofballmaster9999
    @goofballmaster9999 29 дней назад

    I wanna be like this guy after I graduate this year, Smart + Passionate about something

  • @hohel
    @hohel 27 дней назад

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

  • @oneritoo
    @oneritoo Месяц назад +1

    I enjoyed this. Could you do a tutorial on HTTP or DNS tunneling? I was trying to do this and it took me a while to figure out but I got it eventually.

  • @alexmbrega
    @alexmbrega Месяц назад

    Hi Chuck,
    Content idea:
    I live in Country A and I have a second home in Country B.
    I have internet in both locations from Orange and Vodafone respectively.
    The internet setup is ONT from internet provider + Asus Router (RT-AC67U) in both locations.
    I would like to add in both places another (VPN) router and have a VPN connection set up between those routers. The goal is to get the internet signal from Orange (country A) in country B and vice versa. In other words, in both places there should be two WIFI signals. The local one and the other from the foreign country. I know it is possible, a friend once did it but I think he made it work by mistake because he does not know what he did anymore...
    I need to access websites that are only accessible if I am in the correct country but I don’t want to use a VPN service and connect to a random server I don’t have under control + extra monthly subscription fee.
    If you would make a video about this setup, I would be eternally grateful.
    Sincerely,

  • @scary34
    @scary34 Месяц назад

    i would love these kind of videos every day but 5minute friday is still cool .

  • @younesscoder
    @younesscoder Месяц назад

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

  • @ashutoshgupta6871
    @ashutoshgupta6871 Месяц назад

    I love this. Do More Please :)

  • @yoonhahwang7481
    @yoonhahwang7481 Месяц назад

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

  • @yukeshkumar9536
    @yukeshkumar9536 Месяц назад

    Please create a video on Linux clipboard tools similar to the ones available in Windows. This would be helpful for many people like me.

  • @goldenshadow333
    @goldenshadow333 Месяц назад +2

    Nice stuff, what is the brand your keyboard dude?

  • @Hislodin
    @Hislodin Месяц назад

    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 :)

  • @tpaul793
    @tpaul793 Месяц назад

    Keep em coming!

  • @_---_no5576
    @_---_no5576 Месяц назад +1

    We need to continue either the CCNA or PYTHON guide..

  • @JeanFrancoCaringi
    @JeanFrancoCaringi Месяц назад

    amazing, thanks!

  • @markgilbert5856
    @markgilbert5856 Месяц назад

    I actually like the idea of 5 minute fridays, I however do not like the Shorts format.
    So long as you keep them more than 3 minutes, keep the videos in 16:9 format. I can watch this!

  • @avirupsome
    @avirupsome Месяц назад

    We need more Fridays

  • @laugenbrezel6300
    @laugenbrezel6300 Месяц назад +1

    Nice video man :)

  • @thefredrockshow
    @thefredrockshow Месяц назад

    amazing idea, pls more

  • @zombiewolf007
    @zombiewolf007 Месяц назад +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)