CAFE

리눅스

우분투 시스템 종료 단축키

작성자동우|작성시간15.12.22|조회수2,549 목록 댓글 0

http://askubuntu.com/questions/53263/shut-down-computer-from-keyboard

간단하게.. alt + sysrq + O

역기서 sysrq는 스크린샷 버튼이기도 하다.. 하지만 단점이 너무 팍 꺼버린다 ㅎㅎ;;


아니면..

키보드 바로 가기 등록 하여.


gnome-session-quit --power-off

등록 하면 된다.





사용자 단축키는 알아서 등록 하면 된다.. 사용 하지 않는 특수 버튼을 등록 하던지 아니면




There are some low level keyboard shortcuts available. They talk directly to the kernel and can break things. You probably shouldn't use these. But in the interest of counter-acting the atrocious answers recommending this method, here's how to use the SysReq button to shutdown or reboot your system. If your cpu bursts into flames because of these incantations, well, can't say I didn't warn you.

Graceful

Reboot

There is a mnemonic here: busier backwards. As in, you are too busy to shutdown properly, so you are doing it backwards.

alt + SysRq + r , e , i , s , u , b

I jacked this from wikipedia*:

unRaw      (take control of keyboard back from X),
 tErminate (send SIGTERM to all processes, allowing them to terminate gracefully),
 kIll      (send SIGKILL to all processes, forcing them to terminate immediately),
  Sync     (flush data to disk),
  Unmount  (remount all filesystems read-only),
reBoot     (durr)

Shutdown

This is the same except at the end use o for Off instead of b for reBoot.

alt + SysRq + r , e , i , s , u , o

Destructive

This is like yanking the power cord out. You risk destroying recently saved data (files not quite actually written to disk) and you will definitely lose anything unsaved. On the upside, it is quick and to the point.

reBoot: alt + SysRq + b

shut Off: alt + SysRq + o

Under graphical environments (such as GNOME or KDE) Alt+PrintScrn/SysRq+key combination generally only leads to a screenshot being dumped. To avoid this Print Screen feature the magic SysRq combination should include the Ctrl, becoming Ctrl+Alt+PrintScrn/SysRq+key. 1 That means, under graphical environments, to reboot this way, you need press the keyboard as follows:

Ctrl+ alt + SysRq + r , e , i , s , u , b

Thank you wikipedia for the information in this post.


다음검색
현재 게시글 추가 기능 열기
  • 북마크
  • 공유하기
  • 신고하기

댓글

댓글 리스트
맨위로

카페 검색

카페 검색어 입력폼