Op 21-11-12 07:20, Oddball schreef:
Op 21-11-12 06:30, Rajko schreef:
On Mon, 19 Nov 2012 09:38:36 +0100 Oddball <monkey9@iae.nl> wrote:
it seems it is necessary now to name the whole path /bin/dmesg i noticed that yesterday with systemctl, which is: /bin/systemctl It is just:
# dmesg > file_of_your_choice
Then look at 'file_of_your_choice' with editor of your choice and you will see all output of program 'dmesg' which is kernel messages.
Doing:
cat dmesg > some_file
means that program 'cat' will look for file named 'dmesg' and as it is not present it will output nothing to 'some_file'.
When you add '/bin/dmesg' program 'cat' will find file to show, but that will be program 'dmesg' itself, so you will (most likely) have copy of 'dmesg' plus some garbage in the file 'some_file'. In any case that is not what you want to see :)
EeePc-Rob-SFN9:~ # cat /dmesg > /home/oddball/Documenten/dmesg_output.txt cat: /dmesg: Bestand of map bestaat niet (=file or directory does not exist) EeePc-Rob-SFN9:~ #
EeePc-Rob-SFN9:~ # cat /bin/dmesg > /home/oddball/Documenten/dmesg_output.txt EeePc-Rob-SFN9:~ #
Btw, the output is, like you say, completely unreadable, while #dmesg -x shows a normal, humanly readable output in the terminal window. But i can copy and paste this into a textfile to study. EeePc-Rob-SFN9:~ # cat dmesg > /home/oddball/Documenten/dmesg_output.txt cat: dmesg: Bestand of map bestaat niet (=file or directory does not exist) EeePc-Rob-SFN9:~ # -- Have a nice day, Oddball. OS: Linux 3.7.0-rc6-1-desktop i686 Huidige gebruiker: oddball@EeePc-Rob-SFN9 Systeem: openSUSE 12.2 (i586) KDE: 4.9.3 "release 520" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org