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 Наука
Please do more five minute Fridays
Yep!! THat's a great idea...I'm glad I thought of it....
Enjoyed a lot the 5 minute Fridays!! Please, keep doing!
This is my favorite tech youtuber simply because of how much fun he has doing these vids😊😊
fun is the secret sauce for success
awesome 5 min friday! Love this useful short videos
🔥🔥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
Ok
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.
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.
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 ?
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 ?
On Windows you can use Get-Clipboard and Set-Clipboard. Because on Windows, you only use Powershell of course!
When you right click copy/paste, it's executing those PowerShell cmdlets in the background.
I spent hours yesterday trying to get this to work directly on Windows with no joy. Took the WSL approach and working perfectly now 💗
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
This should be higher as the world is moving to Wayland.
Man fuck Wayland. Desktop Linux is already a big smelly mess but I especially really hate Wayland.
Thanks Bro You Made My Day I Was Tired To Make It Work With My Arch Hyprland Setup
Boo Wayland, Boo…….. Boo Wayland
Legend, thank you!
Working with Linux nearly 30 years and there is always something to learn ... :-) keep on with 5 minutes (or 6) on Friday!
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!
🥺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.
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
Commenting here to get notifications for this reply cuz this a good question
Some terminals support OSC52, which is an escape sequence to copy text. Personally I use alacritty to do this.
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.
Chuck, if your reading this, make sure to please do more 5 minute Fridays! We all love them!
This also seems to be a very good "excuse" for the relatively long periods in between videos compared to other RUclipsrs
getting this error "xsel: Can't open display: (null) Inappropriate ioctl for device".
any solutions?
can you link the fabric video please?
Also 5 minute Friday is an awesome idea.
I'm struggling to find it too
ruclips.net/video/UbDyjIIGaxQ/видео.html&pp=ygUTbmV0d29ya2NodWNrIGZhYnJpYw%3D%3D
Love love love 5 minute Fridays. Yet another reason to look forward to Fridays! Thank you for all you do.
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).
this is such a good idea for a series
would be good explaining users to use `~/.bash_aliases` instead - since it makes the commands creation/exportation a more modular process :)
if you use bash_alias also make sure it's sourced in .bashrc
@@nicholaswatching i think that happens in most linux distributions, anyway is a good check to do :)
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 😂.
Keep these comings, a quick and enjoyable vid
Your keyboard sound is amazing…i love this sound
5 minute fridays are a real treat!
More 5 minute fridays. Love it.
Loved this 6 minute 25 second Friday!
that was great - more 5min fridays please!
Another reason to love Fridays! Thank you!
Keep giving knowledge to people my friend. Many thanks from Greece!!!!
Thank you! I already feel the ways this will save me frustratoin - just with ssh. More 5 minute fridays please.
Love five minute Fridays, Chuck!
Thanks ! Looking good Chuck.
Great content! Please do more five min fridays!!!
♥
Good tip. On Android/Termux shell, the commands to alias are termux-clipboard-set and termux-clipboard-get (part of Termux:API)
It's amazing that this video is free. Thanks
As fast as educational content is on the platform, yours is great, thank you
I love the 5 minute Fridays idea. Can't wait to see more!
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!
I love 6 minutes and 24 seconds Fridays
More 5 minute Fridays for Linux commands like this, do grep next.
Really the best tutorial ever)
Only needed 60 seconds and that’s it!!!) 🎉
didn’t know about this awesome feature!
Thank you, bro
10/10 5 Minute Fridays keep going!
Helpful tip right here! And a different question I have is what keyboard do you use? It sounds *heavenly.*
loved this five minute fridays! Its useful and quick.
more five minute friday 🌟
You should keep it up, the 5 mins are so enjoyable on the any day you want ✌
One thing you forgot to say.
When editing /etc/ssh/sshd_config you have to be root.
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. :)
Love 5 min friday! Please do more
Do more 5 minute fridays, they are great!!!
Great video! Thank you for doing these!
Today I learned something! Thx
Love them. Linux basics and common tools are great.
Thanks for the tips :)
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.
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 ;(
I need more of these commands. Now I finally have enough time to see my family.
Great teacher always on point, thank you for this video
5 Minute Fridays!! Love this format. An idea for episode: customizing Linux, show how you customize your own desktop environment and layout.
I'm liking five minute Fridays!
Yes please do more five minute Fridays
Keen for more 5 min fridays
5 min Fridays! My short attention span thanks you!
Loved this. This is really helpful ❤
Nice enjoyed it! 😍
His content is so awesome that I can't keep up with all the learning!
5 minutes Friday! Sounds good, sir!
5 minute friday, it is the thing
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.
Your smile after the command works is like it is your birthday! :)
Extremely like the idea of 5 minute Fridays 🎉
Great video series idea!
more 5 min fridays please!!!
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
Awesome as usual. Keep it up 👍 thank you
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!
Nice tutorial! Please continue with the 5 min videos 🎉 btw, whats that asmr keyboard youre using? Sounds awsome 😀👍
I like the 5min-friday format 🎉
Love 5 minute Friday
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.
Thanks Chuck!
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)
Do one about connecting light bulbs and home components to a switch then a router for control while outside your house!
I wanna be like this guy after I graduate this year, Smart + Passionate about something
More like two minutes Thursday for me… great content as always! What coffee should I try from your store ? :)
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.
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,
i would love these kind of videos every day but 5minute friday is still cool .
do more of this five minute Fridays it was cool ;)
I love this. Do More Please :)
I love you Chuck. Also, can you make more Linux and Network stuff? Thanks for best videos all the time!❣
Please create a video on Linux clipboard tools similar to the ones available in Windows. This would be helpful for many people like me.
Nice stuff, what is the brand your keyboard dude?
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 :)
Keep em coming!
We need to continue either the CCNA or PYTHON guide..
amazing, thanks!
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!
We need more Fridays
Nice video man :)
amazing idea, pls more
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)