>
redirections last for the duration of the process, most probalbably dmesg
has finished so you need do nothing further to stop it.
If however you did dmesg -w
and it's still running, typing ctrl
-c
will stop it.
" echo in Linux" />
I've just realized I don't know how to unset an echo I set with >
.
The exact current situation is I just set dmesg > /var/log/syslog
and now wanted to unset it, realizing I've never done that before. I know I could restart, but I'd rather learn from someone with more experience.
Sorry if this is answered somewhere else, but I don't know what it is called when you set a location to echo with a >
, so my queries were bound to fail.
Thanks all
>
redirections last for the duration of the process, most probalbably dmesg
has finished so you need do nothing further to stop it.
If however you did dmesg -w
and it's still running, typing ctrl
-c
will stop it.
Вы не можете действительно "сбросить" то, что вы сделали, хотя. Так как вы переписали / var / log / syslog с выводом dmesg.
Таким образом, ваши предыдущие системные журналы, вероятно, исчезли. Это вроде безобидно, хотя.