[kwlug-disc] Switching Jobs from Debian Shop to RHEL?

Andrew Mercer andrew at andrewmercer.net
Fri Jul 18 16:22:01 EDT 2014


Nice, thanks for the tips Paul & Chris.

---
Andrew Mercer
www.andrewmercer.net

On 2014-07-18 12:38, Paul Nijjar wrote:
> On Thu, Jul 17, 2014 at 10:50:08AM -0400, Andrew Mercer wrote:
>> Joe, have you found this site yet?
>> 
>> http://www.commandlinefu.com/commands/browse
>> 
>> A lot of good stuff there if you can figure out the context lol
>> 
>> The most recent cool trick (to me) that I started using was this:
>> 
>> cp file.txt{,.bak.`date +%Y%m%d.%H%M`}
>> 
>> For backing up a file before editing. Saves on specifying 2 files
>> and includes a timestamp.
> 
> 
> If you only need the year, month and day (as opposed to hour and
> minute), then the form
> 
> `date --iso`
> 
> instead of
> 
> `date +%Y%m%d.%H%M`
> 
> is easier to type. I use this all the time.
> (Mind you, I do not know *why* this works; the --iso option does not
> appear on the date(1) manpage in Debian.)
> 
> - Paul
> 
> 
> 
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org





More information about the kwlug-disc mailing list