|
I find a command 'setterm' used to record the terminal information, but i never successfull record the terminal result. i‘m use the centOS5, i do use this command like this: 1, login tty1 and use the PWD to check the information. for example:
2, accroding to the command hint (http://linux.die.net/man/1/setterm)
when i enter the command, the terminal will be displayed "could't read /dev/vcsa1", but this file 'output.txt' already exist, problem is, this file is empty. content of terminal has noe been saved. who can teacher me what is the currect way to use this command? THX! sorry for my bad English. |
|
First of all you have a typo in your command arguments it says "flie" instead of file. the command: setterm -dump 1 -file output.txt ..should work fine if you are root. The error massage "Couldn't read ...." is usually an indication that you are running the command as user with no sufficient privileges. So try it as root. |