cd "$(dirname "${PATHVariable}")"
dpkg --list > ~/Documents/dpkglogs/dpkgList-`date +%F`.txt
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>3.0</version> | |
<date>2016-06-02T14:04:17Z</date> | |
<groups> | |
<group> | |
<name>Templates</name> | |
</group> | |
</groups> | |
<templates> |
" check for and create bundle and plugin dirs | |
" may make this in bash.profile script | |
"if !isdirectory("~/.vim/bundle") | |
" call mkdir("~/.vim/bundle", "p") | |
"endif | |
"if !isdirectory("~/.vim/plugin") | |
" call mkdir("~/.vim/plugin", "p") | |
"endif |
## determine what directory a script lives in | |
```bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
``` |
# Auto detect text files and perform LF normalization | |
* text=auto | |
# Standard | |
*.doc diff=astextplain | |
*.DOC diff=astextplain | |
*.docx diff=astextplain | |
*.DOCX diff=astextplain | |
*.dot diff=astextplain | |
*.DOT diff=astextplain |
<!-- | |
### | |
## SUBVERSION metadata | |
## Filename, Rev, Date, Author | |
## $Id: $ | |
## $URL: $ | |
### | |
--> |
find . -name "item_to_be_removed" -exec rm -rf {} \; |
################################ | |
# | |
# sendHelloEmail.sh | |
# ----------------------------- | |
# a silly script to send email | |
# when run (from cron) | |
# | |
# template version .3 | |
# ver: 1 date: | |
# author: |