 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
Shermozle
Joined: 15 Apr 2004
Posts: 52
Location: London, UK
|
| Posted: Thu Jul 15, 2004 2:43 pm Post subject: Lish documentation |
|
|
| Okay, on that note, where can I find some documentation on lish? For example, how do I break back to the Lish prompt from the console? |
|
| Back to top |
|
caker
Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ
|
| Posted: Thu Jul 15, 2004 3:00 pm Post subject: |
|
|
It needs to be written (/me hides), here's some general info:
Lish Documentation
Description
Lish, the Linode Shell, allows you to perform certain actions without having to log into the LPM.
Connecting to Lish
Code: ssh LinodeUsername@hostXX.linode.com
Where LinodeUsername is your Linode account username, and hostXX is the host your Linode resides.
Lish will automatically attach to your Linode's console if your Linode is running.
Detaching Console and returning to Lish prompt
Lish uses screen(1) to connect to your Console. To disconnect and return to Lish, type C-a d ("control-a" followed by "d"). Once at the Lish prompt, hit return to reattach to the console.
Menu
Code: [linode2@host26 lish]# help
Lish console <tab> completion, ? for menu
kill - kill stuck screen sessions
exit - exit from lish
help - this menu
[return] - connect to console
version - display running kernel version
boot - boot last used config profile
shutdown - shutdown the Linode
reboot - shutdown, then boot
io_status - view IO statistics
keysview - view contents of authorized_keys2
logview - view contents of console log
Examples
To reboot your Linode without having to log into the LPM:
Code: ssh LinodeUsername@hostXX.linode.com reboot
To view the last 1000 lines from the previous console log, and the current console log:
Code: ssh LinodeUsername@hostXX.linode.com logview
-Chris |
|
| Back to top |
|
| |
|