Learn the tee Command in Linux: Redirect and Log Output Easily

Опубликовано: 21 Март 2025
на канале: Learn Linux TV
12,834
832

The Linux Crash Course series on Learn Linux TV will teach you an important Linux-related skill or concept in each video. In this episode, Jay will cover the tee command, which lets you see and save output at the same time!

🐧 Donate to Learn Linux TV and Receive a PDF with tips for switching to Linux
Contains over 40 pages of tips and recommendations to help make your transition easier!
Check it out here ➜ https://learnlinux.link/linux-desktop...

🐧 Support Linux Learning and spin up your very own Linux Server!
Get $200 in credit over 60 days with your new account you can put toward creating your own Linux instances for learning or for powering your business infrastructure.
💧 Check out Digital Ocean here ➜ https://learnlinux.link/digitalocean

🐧 SUPPORT MY CONTENT
• Channel Membership ➜ https://learnlinux.link/member
• Patreon ➜ https://learnlinux.link/patron
• Spin up your very own Linux server ➜ https://learnlinux.link/digitalocean
• Linux swag ➜ https://merch.learnlinux.tv
• Check out Netdata ➜ https://learnlinux.link/netdata
• Jay's Gear ➜ https://learnlinux.link/amazon
Note: Royalties and/or commission is earned from each of the above links

🕚 Time Codes
00:00 - Intro
01:37 - Quick refresh
03:13 - Basic usage of the tee command
05:01 - Using tee with reports and lists
07:03 - Writing output to multiple files
08:15 - Permissions matter with tee
09:29 - Using append mode with the tee command

🎓 FULL LINUX COURSES!
• Linux Crash Course ➜ https://linux.video/cc
• tmux ➜ https://linux.video/tmux
• vim ➜ https://linux.video/vim
• Bash Scripting ➜ https://linux.video/bash
• Proxmox VE ➜ https://linux.video/pve
• Ansible (Udemy) ➜ https://learnlinux.link/ansible
• Linux Essentials (Udemy) ➜ https://learnlinux.link/linux-essentials

📘 FAQ
• What is a "Distribution" of Linux? ➜ https://linux.video/what-is-a-distro
• What is a "Desktop Environment"? ➜ https://linux.video/desktop-environment
• Which Server Distro should I use? ➜ https://linux.video/which-server-distro
• How do I create USB install media? ➜ https://linux.video/install-media
• How do I connect to a server via SSH? ➜ https://linux.video/use-ssh
• How do I use apt? ➜ https://linux.video/apt
• How do I use dnf? ➜ https://linux.video/dnf
• How do I install Arch Linux? ➜ https://linux.video/install-arch
• How do I configure SSH? https://linux.video/ssh-server
• How do I install updates? ➜ https://linux.video/updates
• How do I secure my Linux Server? ➜ https://linux.video/every-server

🎓 MORE ABOUT LEARN LINUX TV
• Main site ➜ https://www.learnlinux.tv
• Community Forums ➜ https://community.learnlinux.tv
• Github Account ➜ https://github.com/LearnLinuxTV
• Content Ethics ➜ https://www.learnlinux.tv/content-ethics
• Request Paid Assistance ➜ https://www.learnlinux.tv/request-ass...

⚠️ DISCLAIMER
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.

#CloudComputing #DevOps #Linux