Tag Archives: CLI

Installare Transmission Remote CLI su Ubuntu 10.04 LTS

Come potete capire dallo screenshot Transmission Remote CLI è un programma scritto in python che permette di gestire transmission da riga di comando.

Questo il sito del progetto che l’ha sviluppato. L’installazione su Ubuntu è molto semplice.

read more »

Twitter It!

Cisco IOS Tips

Riprendo da packetlife.net questa interessante lista di comandi per l’IOS di Cisco

Keyboard shortcuts

These shortcuts can be used to speed up operating with the CLI:

Ctrl+B or Left Move the cursor one character to the left
Ctrl+F or Right Move the cursor one character to the right
Esc, B Move the cursor one word to the left
Esc, F Move the cursor one word to the right
Ctrl+A Move cursor to the beginning of the line
Ctrl+E Move cursor to the end of the line
Ctrl+P or Up Retrieve last command from history
Ctrl+N or Down Retrieve next command from history
Ctrl+T Swap the current character with the one before it
Ctrl+W Erase one word
Ctrl+U Erase the entire line
Ctrl+K Erase all characters from the current cursor position to the end of the line
Ctrl+X Erase all characters from the current cursor position to the beginning of the line
Ctrl+L Reprint the line
Ctrl+C Exit configuration mode
Ctrl+Z Apply the current command and exit configuration mode

Filter output

Most show commands support filtering with the pipe (|) character, allowing a user to display only the information he’s looking for.

Switch# show interface status | include notconnect
Gi1/0/7                         notconnect   1          auto   auto 10/100/1000BaseTX
Gi1/0/9                         notconnect   1          auto   auto 10/100/1000BaseTX
Gi1/0/22                        notconnect   1          auto   auto 10/100/1000BaseTX

Filter options are include, exclude, and begin. The remaining characters after one of these filter types is processed as a regular expression, which could be a simple string (as in the example above) or something a bit more complex. The example below demonstrates filtering for interface numbers and any assigned IP addresses. read more »

Twitter It!

Gcalcli

Dopo Goosh, per gli amanti della CLI un’altra applicazione interessante: Gcalcli (Google Calendar Command Line Interface).

Un software scritto in Python che permette l’accesso a Google Calendar attraverso la command line, e permette di visualizzare facilmente la propria agenda, cercare tra i propri eventi e aggiungere nuovi appuntamenti.

La guida online del progetto è visualizzabile qui

Il programma è presente nei repository di Kubuntu 10.04 LTS, e può essere installato digitando:

sudo apt-get install gcalcli

Twitter It!