coldchillin
asked on
Saving the output from chkconfig to file
I am running the chkconfig to see what services are running at boottime...i'm new to Linux...how do I save this output to file? I want to compare it to other servers we are running.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can also use diff (or sdiff, my preference) to compare the two systems
> redirects command output to a eigther device ( monitor or e.g. serial port ) or file .
If you omit exact location where the file has to be written
( /home/nedvis from my example #2)
file will be created in directory you're currently in.
So , make sure to login as root (su), check what directory you're in
( command is pwd - I think it stands for "p-rint w-orking d-irectory" )
and if you want change directory to where you want to save file.
( command would be : cd /home/<user_name> )