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
# convert text files to all lower case | |
$ tr '[:upper:]' '[:lower:]' < input.txt > output.txt | |
# Convert Data Stored in a Shell Variable From UPPPER to lowercase | |
$ echo $VAR_NAME | tr '[:upper:]' '[:lower:]' | |
# Convert Data Stored in a Shell Variable From lowercase to UPPER | |
$ echo $VAR_NAME | tr '[:lower:]' '[:upper:]' | |
# job control: | |
# ctrl+z - suspend a job and put into background |
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
# install virtualenv to manage the environment | |
sudo apt-get install python-virtualenv | |
# create site folder | |
mkdir mysite | |
cd mysite | |
# activatet the virtualenv environment | |
virtualenv venv | |
source venv/bin/activate |
NewerOlder