Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Lish documentation
PostPosted: Thu Jul 15, 2004 3:43 pm 
Offline
Senior Member

Joined: Thu Apr 15, 2004 3:18 am
Posts: 52
Website: http://www.rumble.net/
Location: London, UK
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?


Top
   
 Post subject:
PostPosted: Thu Jul 15, 2004 4:00 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mwchase and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group