Created
November 13, 2017 15:18
-
-
Save Ashaba/eb675b692cc7e6e040c21fbafeea1fac to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
mkdir directory1 directory2 directory3 #create multiple directories | |
pwd #show the current directory | |
ls # list contents of a directory | |
cd directory1 # move to a particular directory | |
touch script.py # create a file | |
cp script.py ../directory2 # copy contents a file to another directory | |
echo "foo" | xargs touch #command with pipes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment