CentOS6 Quoting with Double Quotes

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

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

Commands Used:
touch "two words.txt"
ls
ls -l two words.txt
ls -l "two words.txt"
mv "two words.txt" two_words.txt
ls
echo "$USER $((2+2)) $(cal)"
echo this is a test
echo "this is a test"
clear
echo $(cal)
echo "$(cal)"

Notes:

$ (dollar sign)
\ (backslash)
` (back tick)

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