This post is mostly the equivalent of one of a previous post which initially was in bash.
I have had the need to send mutiple email messages which contains for each one specific URL, this message had to be sent to multiple recipients.
- export LD_LIBRARY_PATH=/usr/lib64:/usr/local/lib
- yum clean all
- yum update
From time to time, yum and getting such of error. these two line above is sorting it out.
I found difficult to maintain updates over multiple hosts however, some tool exist to facilitate that time of maintenance steps.
Alternatively, some python script could also be used however I have decided to present that one for now.
wget -v -O myfile.tgz -L https://xxxx.box.com/shared/static/xxxxx.tgz
NetApp Commandline Cheatsheet
This is a quick and dirty NetApp commandline cheatsheet on most of the common commands used, this is not extensive so check out the man pages and NetApp documentation. I will be updating this document as I become more familar with the NetApp application.
This is a little bash script that rotate logs as when the file reach a specified limit.
I had implemented my raspberry pi to use wireless network, unfortunately the connection might after a while disconnect, the only option that I have found was to run a script that check the connection and re-connect if network is down.
I have written a little script which generate number for your next lotto ticket.
Schedule it in the crontab to get your number each day you do need it.
I am including the command line that would allow to stop the Mail station (Roundcube) component and Mail Server (Postfix)
- /usr/syno/bin/synopkg stop \M\a\i\l\S\t\a\t\i\o\n;
- /usr/syno/bin/synopkg stop \M\a\i\l\S\e\r\v\e\r;
For starting, replace stop with start.