Keeping Track of Your Things - Desktop Customization & Workflow

Users browsing this thread: 2 Guest(s)
z3bra
Grey Hair Nixers
As a sysadmin, I login to different machines a lot, where I sometimes need to run complex commands that I might need to reuse later (greping different logs at the same time, extracting databases, changing container's max memory, ...). So I had to adapt my workflow to it. I now have a few different ways to make my computer remember things for me:

1. history(1)

I'm lost without it. Seriously. It has saved my ass a lot of times as the default values on centos set it to 1024 single commands. When I need to remember a complex task I do often on a server, I just "history | grep pattern", and then copy/paste/edit. Simple and efficient.

2. scripts

I make heavy use of scripts as remimders, because they're shell independent (if you make them POSIX), and are text files, so you can read them to remember a complex set of commands.
But as they are only available on my local machine, they're not really useful when I'm remotely connected to a server. They do help a lot locally though.

3. text files / wiki

My last resort for procedures and general purpose remind-me-later things. I have a directory on my computer which stores tons of text files about everything I need to remember, sorted by theme:

* certificate.txt to make SSL certificates and export them to different formats
* git2cvs.txt to convert a CVS repository to git
* openvz.txt to setup new openvz containers and configure them correctly
* ...

And many other things. When I need them, I just read them with less and copy/paste/edit the commands.
We also use confluence at work (a wiki engine from Atlassian), so when those notes are well polished and general enough, I add them to the "knowledge database" of the company, for everyone to use.


Messages In This Thread
Keeping Track of Your Things - by venam - 25-04-2015, 06:31 AM
RE: Keeping Track of Your Things - by bsdkeith - 25-04-2015, 08:41 AM
RE: Keeping Track of Your Things - by bsdkeith - 26-04-2015, 07:53 AM
RE: Keeping Track of Your Things - by xero - 26-04-2015, 01:43 PM
RE: Keeping Track of Your Things - by greduan - 26-04-2015, 02:51 PM
RE: Keeping Track of Your Things - by z3bra - 26-04-2015, 05:32 PM
RE: Keeping Track of Your Things - by venam - 28-04-2015, 04:24 AM
RE: Keeping Track of Your Things - by z3bra - 28-04-2015, 09:42 AM
RE: Keeping Track of Your Things - by venam - 29-04-2015, 12:51 AM
RE: Keeping Track of Your Things - by venam - 27-02-2019, 06:32 AM
RE: Keeping Track of Your Things - by z3bra - 27-02-2019, 11:39 AM
RE: Keeping Track of Your Things - by pyratebeard - 28-02-2019, 08:00 AM
RE: Keeping Track of Your Things - by z3bra - 01-03-2019, 07:33 PM
RE: Keeping Track of Your Things - by pyratebeard - 05-03-2019, 09:26 AM
RE: Keeping Track of Your Things - by z3bra - 06-03-2019, 06:00 PM
RE: Keeping Track of Your Things - by venam - 12-03-2019, 06:46 AM
RE: Keeping Track of Your Things - by fraun - 14-03-2019, 08:05 AM
RE: Keeping Track of Your Things - by prx* - 20-03-2019, 03:13 PM
RE: Keeping Track of Your Things - by venam - 21-03-2019, 01:20 AM
RE: Keeping Track of Your Things - by fraun - 21-03-2019, 08:03 AM
RE: Keeping Track of Your Things - by prx* - 23-03-2019, 08:21 AM
RE: Keeping Track of Your Things - by pyratebeard - 27-03-2019, 10:05 AM
RE: Keeping Track of Your Things - by z3bra - 28-03-2019, 03:26 PM
RE: Keeping Track of Your Things - by prx* - 30-03-2019, 10:22 AM
RE: Keeping Track of Your Things - by z3bra - 30-03-2019, 03:58 PM
RE: Keeping Track of Your Things - by prx* - 31-03-2019, 06:14 AM
RE: Keeping Track of Your Things - by z3bra - 31-03-2019, 06:22 AM
RE: Keeping Track of Your Things - by prx* - 02-04-2019, 09:57 AM
RE: Keeping Track of Your Things - by z3bra - 02-04-2019, 05:10 PM
RE: Keeping Track of Your Things - by venam - 10-01-2020, 08:18 AM
RE: Keeping Track of Your Things - by z3bra - 02-09-2020, 09:24 AM
RE: Keeping Track of Your Things - by venam - 29-09-2020, 08:34 AM
RE: Keeping Track of Your Things - by jkl - 30-09-2020, 03:52 AM
RE: Keeping Track of Your Things - by venam - 30-09-2020, 04:03 AM
RE: Keeping Track of Your Things - by jkl - 30-09-2020, 04:10 AM
RE: Keeping Track of Your Things - by eye - 15-11-2020, 05:36 AM
RE: Keeping Track of Your Things - by pfr - 16-11-2020, 08:58 PM
RE: Keeping Track of Your Things - by venam - 04-12-2020, 05:32 AM
RE: Keeping Track of Your Things - by venam - 25-01-2021, 03:39 PM
RE: Keeping Track of Your Things - by neeasade - 26-01-2021, 09:31 PM
RE: Keeping Track of Your Things - by pfr - 26-01-2021, 11:58 PM
RE: Keeping Track of Your Things - by venam - 25-02-2021, 11:51 AM
RE: Keeping Track of Your Things - by TheAnachron - 26-02-2021, 03:16 AM
RE: Keeping Track of Your Things - by venam - 26-02-2021, 04:12 AM
RE: Keeping Track of Your Things - by venam - 27-04-2021, 03:44 AM
RE: Keeping Track of Your Things - by stratex - 03-05-2021, 07:17 PM
RE: Keeping Track of Your Things - by jkl - 04-05-2021, 01:58 PM
RE: Keeping Track of Your Things - by srp - 31-07-2021, 01:40 PM
RE: Keeping Track of Your Things - by fre d die - 01-08-2021, 06:23 AM
RE: Keeping Track of Your Things - by venam - 21-08-2021, 06:19 AM
RE: Keeping Track of Your Things - by mcotocel - 22-08-2021, 08:57 AM
RE: Keeping Track of Your Things - by venam - 26-08-2021, 02:51 AM
RE: Keeping Track of Your Things - by freem - 26-08-2021, 06:48 PM