Managing Bash with Key Sequences in Ubuntu Gestione bash con i principali sequenze in Ubuntu
Sometimes, you’ll enter a command from the Bash command line and either nothing happens at all or else something totally unexpected happens. Qualche volta, potrai entrare in un comando della riga di comando Bash e non accade nulla o in tutto o in altro qualcosa di totalmente inaspettato succede. In such an event, it’s good to know that some key sequences are available to perform basic Bash management tasks. In tal caso, è bene sapere che alcune sequenze sono disponibili per eseguire base Bash compiti di gestione. Here are some of the most useful key sequences. Ecco alcuni dei più utili sequenze chiave.
• Ctrl+C : Use this key sequence to quit a command that is not responding (or simply takes too long to complete). • Ctrl + C: Utilizzare questa sequenza di tasti per chiudere un comando che non risponde (o semplicemente vuole troppo tempo per completare). This key sequence works in most scenarios where the command is operational and producing output to the screen. Questa sequenza di tasti funziona nella maggior parte delle situazioni in cui il comando è operativo e produce l'output a schermo. In general, Ctrl+C is also a good choice if you absolutely don’t have a clue as to what’s happening and you just want to terminate the command that’s running in your shell. In generale, Ctrl + C è anche una buona scelta se assolutamente non hanno un indizio su ciò che sta accadendo e si desidera solo di porre fine al comando che esegue i comandi nella shell. If used in the shell itself, it will close the shell as well. Se utilizzato nella shell stessa, che si chiuderà il serbatoio come bene.
• Ctrl+D : This key sequence is used to send the “end of file” (EOF) signal to a command. • Ctrl + D: Questa sequenza di tasti viene utilizzato per inviare il "fine del file" (EOF) segnale di un comando.
Use this when the command is waiting for more input, which is indicated by the secondary prompt (>). Usa questo valore quando il comando è in attesa per più di ingresso, che è indicata dal prompt secondario (>). You can also use this key sequence to close a shell session. È inoltre possibile utilizzare questa sequenza di tasti per chiudere una sessione di shell.
• Ctrl+R : This is the reversed search feature. • Ctrl + R: Questa è la funzione di ricerca invertita. It will open the “reversed I-search” prompt, which helps you locate commands that you used previously. Si aprirà la "invertita I-search" prompt che vi aiuta a individuare i comandi che hai utilizzato in precedenza. The Ctrl+R key sequence searches the Bash history, and the feature is especially useful when working with longer commands. La Ctrl + R sequenza di tasti ricerche Bash storia, e la funzione è particolarmente utile quando si lavora con più comandi. As before, type the first characters of the command and you will see the last command you’ve used that started with the same characters. Come in precedenza, digitare i primi caratteri del comando e vedrete l'ultimo comando che hai utilizzato che è iniziato con gli stessi caratteri.
• Ctrl+Z : Some people use Ctrl+Z to stop a command that is running interactively on the console (in the foreground). • Ctrl + Z: Alcune persone usano Ctrl + Z per fermare un comando che esegue interattivamente sulla console (in primo piano). Although it does stop the command, it does not terminate it. Anche se non interrompere il comando, che non pone fine ad essa. A command that is stopped with Ctrl+Z is merely paused, so that you can easily start it in the background using the bg command or in the foreground again with the fg command. Un comando che viene fermato con Ctrl + Z è semplicemente sospeso, in modo da poter facilmente avviare in background utilizzando il comando bg o in primo piano nuovamente con il comando fg. To start the command again, you need to refer to the job number that the program is using. Per avviare nuovamente il comando, è necessario far riferimento al numero di posti di lavoro che il programma sta utilizzando. You can see a list of these job numbers using the jobs command. È possibile visualizzare un elenco di questi numeri di posti di lavoro utilizzando il comando di posti di lavoro.
Source of Information : Apress Beginning Ubuntu Server Administration Fonte delle informazioni: Apress inizio di amministrazione del server di Ubuntu
Written by magakos. Scritto da magakos. Read more great feeds at is source Per saperne di più grande al feed è fonte WEBSITE SITO WEB
no comments nessun commento . .
Read more articles on Per saperne di più articoli su Ubuntu Linux Ubuntu Linux and e otherSoftware otherSoftware . .
- [+] Digg [+] Digg : Feature this article : Feature questo articolo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Aggiungi ai preferiti questo articolo
- [+] Furl [+] Furl : Bookmark this article : Aggiungi ai preferiti questo articolo















