CentOS6 Command Substitution

Опубликовано: 09 Октябрь 2024
на канале: intelligentutorials
107
0

Difficulty Level: Beginner
This is a beginner tutorial that shows how to use command substitution in CentOS6.

Commands Used:
pwd
mkdir 1 2 3 a b c
echo $(ls)
ls -l $(which cp)
file $(ls /usr/bin/* | grep zip)
clear
ls -l `which cp`
ls -l $(which cp)

Notes:
The `Backquote` keyboard key shares the same key as ~ which
on most keyboards is to the left of the 1 number key and
above the Tab key.


Music by: Radioactivist
Soundtrack: Mau5House

Disclaimer:
I do not work for RedHat. This tutorial was made to be informative but does not replace the professional advice a RHCSA or RHCE certified person could give you. Please seek a professional for mission critical assignments.

Thank you,

iTorial