Загрузка...

Linux Crash Course - Data Streams (stdin, stdout & stderr)

In this episode of Linux Crash Course, we'll go over data streams. Specifically, Standard Output (stdout), Standard Input (stdin), and Standard Error (stderr). We'll also take a look at how to redirect specific data streams, so you can easily separate errors from output. ? Visit the official LearnLinuxTV forums and hang out with fellow Penguins ➜ https://community.learnlinux.tv Check out Jay's latest book. Covers Ubuntu 22.04! - Mastering Ubuntu Server, 4th Edition ➜ https://ubuntuserverbook.com SUPPORT LEARN LINUX TV Note: Commission may be earned for any and all links presented here. - Set up your own cloud server with Akamai Connected Cloud ➜ https://learnlinux.link/akamai - Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron - Check out jay's latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com - Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon - Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot *Time Codes* 00:00 - Intro 00:41 - Quick note regarding input/output 01:17 - The three data streams (standard input, standard output, and standard error) 03:06 - Example of Standard Error (stderr) 03:47 - Using the echo command to find the return code 05:54 - Example of both standard output and standard error from one command 07:47 - Splitting standard output and standard error 09:06 - Number designations for stdin, stdout, and stderr 10:24 - Sending stdout and stderr to different files *Recommended stand-alone videos from Learn Linux TV* • How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb • Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager • Understanding Linux permissions ➜ https://linux.video/perms • Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers *Stand-Alone Tutorials* • OpenSSH Guide ➜ https://linux.video/ssh • How to better secure OpenSSH ➜ https://linux.video/secure-ssh • 10 Linux Terminal Tips and Tricks to Enhance Your Workflow ➜ https://linux.video/cli-tricks-1 • Over 15 Terminal Tricks You Should Learn ➜ https://linux.video/cli-tricks-2 *Recommended Courses from Learn Linux TV* • Get up to speed with managing an OpenStack Cloud ➜ https://linux.video/openstack • Learn how to write your own Bash Scripts ➜ https://linux.video/bash • Install, configure, and maintain a Proxmox VE Cluster ➜ https://linux.video/pve • Automate tedious setup jobs by learning Ansible ➜ https://linux.video/ansible • Learn how to exit vim (and use it too) ➜ https://linux.video/vim *Linux-related Podcasts* • Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show • The Homelab Show ➜ https://thehomelab.show *Fun Linux-related Projects* • Run your own Gitlab CE Server ➜ https://linux.video/gitlab • Build a Kubernetes Cluster on Proxmox ➜ https://linux.video/pve-k8s • Set up your own Nextcloud Server ➜ https://linux.video/nextcloud *Official Learn Linux TV Sites* • Main site ➜ https://www.learnlinux.tv • Community ➜ https://community.learnlinux.tv *FAQ* • Which distro do I use? ➜ https://learnlinux.link/mydistro • My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.

Видео Linux Crash Course - Data Streams (stdin, stdout & stderr) автора PHP эксперименты
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки