diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 29 |
1 files changed, 16 insertions, 13 deletions
@@ -15,21 +15,24 @@ Explore a dump (require `jq`): Explore specific entries of a dump: > ./sysdump.sh dump.json uname timezone -# Notes -- To get available entries see into `sysdump.sh` -- Some commands require root permissions. -If `sysdump.sh` is not run as root, these commands will not be executed. - # Useful entries Important note: Depending on the system, some entries may not be available. -| Entry | Description | -|-------------|----------------------------------------------| -| compgen | List all available commands in current shell | -| boot_folder | Recursive listing of /boot/ | -| root_folder | Content of / | -| home_folder | Content of $HOME | - - +| Entry | Description | +|-----------------------|------------------------------------------------------------------| +| compgen | List all available commands in current shell | +| ping | Check if ping succeed (internet is available) | +| boot_folder | Recursive listing of /boot/ | +| root_folder | Content of / | +| home_folder | Content of $HOME | +| cmd_<command>_version | Get the version of some specific commands (e.g: gcc, python etc) | +# Notes +- To get available entries see into `sysdump.sh` +- Some commands require root permissions. +If `sysdump.sh` is not run as root, these commands will not be executed. +- List available entries: +> cat dump.json |grep -o ".*:" +- List available command versions: +> cat dump.json |grep -o "cmd_.*_version" |
