Thread: BASH - service --status-all
the following cmd generates .txt partial listing of running services on system:
service --status-all > services.txt | gedit& services.txt
cannot remember how load text file complete listing. suggestions? i'm looking 1 linerer....
i'm not sure understand you're asking, iirc services status can't determined (the ones shown [ ? ] alongside) go stderr instead of stdout - if want capture file need like
or (in newer versions of bash only)code:service --status-all > services.txt 2>&1
code:service --status-all &> services.txt
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Ubuntu Application Development BASH - service --status-all
Ubuntu
Comments
Post a Comment