Tag Archives: SysAdmin

Log all bash sessions for all users

      No Comments

Saving for myself: To log all bash sessions for all users in Linux, put this at the end of /etc/bash.bashrc: session_log_path=/some/log/path if [ ! -d "$session_log_path/$USER/" ]; then mkdir -p "$session_log_path/$USER/" fi if [ -d "$session_log_path/$USER/" ]; then [[ "$(ps…

Change SciTE's default open filter from "All Source" to "All Files"

      No Comments

Posting this mainly to keep it for myself, but making it public to benefit anyone else looking for it as well. By default, SciTE's open dialog box is set to "All Source," which means to show a list of all files it considers "source files" (files that contain program source code.) I wanted my copy of…

Import Xen VM from .xva file via cmd-line or GUI

      No Comments

Importing a Xen VM from a .xva file Import/Restore a Xen VM from a backed-up image file, likely a backup taken of a VM prior to the destruction of said VM for any reason. Import via command line (faster and preferred method) This method took 2:33 (2 minutes 33 seconds) to import a VM that had an 8GB…