Created
August 28, 2020 14:18
-
-
Save flappyBug/15aae52df9b1c68d713ba9806a07b3a3 to your computer and use it in GitHub Desktop.
Shell commands for Linux practice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/cli-practice; cd $_ | |
touch readme.md | |
echo Hi there, this is a readme file. > readme.md | |
echo This is the second line of the readme >> readme.md | |
mv readme.md readme.txt | |
mkdir document | |
mv readme.txt document/introduction.txt | |
cp document/introduction.txt document/readme.txt | |
echo The quick brown fox jumps over a lazy dog > document/readme.txt | |
cp -r document docs | |
rm -r document | |
mkdir -p parent/child/docs | |
cp docs/introduction.txt $_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment