Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In the long run, every program becomes rococco, and then rubble. -- Alan Perlis


computers / alt.os.linux.mint / Must Know Linux Shortcuts

SubjectAuthor
* Must Know Linux ShortcutsNic
`- Re: Must Know Linux ShortcutsDan Purgert

1
Must Know Linux Shortcuts

<q8joN.285251$83n7.208117@fx18.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7412&group=alt.os.linux.mint#7412

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Newsgroups: alt.os.linux.mint
Reply-To: Nic@none.invalid
Content-Language: en-US
From: Nic...@none.invalid (Nic)
Subject: Must Know Linux Shortcuts
Organization: Arm Chair Observer
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 108
Message-ID: <q8joN.285251$83n7.208117@fx18.iad>
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Fri, 12 Jan 2024 22:35:02 UTC
Date: Fri, 12 Jan 2024 17:35:02 -0500
X-Received-Bytes: 4874
 by: Nic - Fri, 12 Jan 2024 22:35 UTC

https://linuxhandbook.com/linux-shortcuts/

Must Know Linux Shortcuts

I would like to mention that some of these shortcuts may depend upon the
Shell you are using. Bash is the most popular shell, so the list is
focused on Bash. If you want, you may call it Bash shortcut list as well.
🤚
Do note that I have used the capital letters in the keyboard shortcuts
but this does NOT mean that you have to press the shift key while using
these shortcuts.
1. Tab

This is the Linux shortcut you cannot live without. It will save you so
much time in the Linux command line.

Just start typing a command, filename, directory name or even command
options and hit the tab key. It will either automatically complete what
you were typing or it will show all the possible results for you.

If you could only remember one shortcut, this would be the chosen one.
2. Ctrl + C

These are the keys you should press in order to break out of a command
or process on a terminal. This will stop (terminate) a running program
immediately.

If you want to stop using a program running in the foreground, just
press this key combination.
3. Ctrl + Z

This shortcut will suspend a running program and gives you control of
the shell. You can see the stopped program in background jobs and even
resume to run it using the fg command.
4. Ctrl + D

This keyboard shortcut will log you out of the current terminal. If you
are using an SSH connection, it will be closed. If you are using a
terminal directly, the application will be closed immediately.

Consider it equivalent to the ‘exit’ command.
5. Ctrl + L

How do you clear your terminal screen? I guess using the clear command.

Instead of writing C-L-E-A-R, you can simply use Ctrl+L to clear the
terminal. Handy, isn’t it?
6. Ctrl + A

This shortcut will move the cursor to the beginning of the line.

Suppose you typed a long command or path in the terminal and you want to
go to the beginning of it, using the arrow key to move the cursor will
take plenty of time. Do note that you cannot use the mouse to move the
cursor to the beginning of the line.

This is where Ctrl+A saves the day.
7. Ctrl + E

This shortcut is sort of opposite to Ctrl+A. Ctrl+A sends the cursor to
the beginning of the line whereas Ctrl+E moves the cursor to the end of
the line.

Note: If you have the Home and End keys on your keyboard, you can also
use them. Home is equivalent to Ctrl +A and End is equivalent to Ctrl + E.
8. Ctrl + U

Typed a wrong command? Instead of using the backspace to discard the
current command, use Ctrl+U shortcut in the Linux terminal. This
shortcut erases everything from the current cursor position to the
beginning of the line.
9. Ctrl + K

This one is similar to the Ctrl+U shortcut. The only difference is that
instead of the beginning of the line, it erases everything from the
current cursor position to the end of the line.
10. Ctrl + W

You just learned about erasing text till the beginning and the end of
the line. But what if you just need to delete a single word? Use the
Ctrl+W shortcut.

Using Ctrl+W shortcut, you can erase the word preceding to the cursor
position. If the cursor is on a word itself, it will erase all letters
from the cursor position to the beginning of the word.

The best way to use it to move the cursor to the next space after the
targetted word and then use the Ctrl+W keyboard shortcut.
11. Ctrl + Y

This will paste the erased text that you saw with Ctrl + W, Ctrl + U and
Ctrl + K shortcuts. Comes handy in case you erased wrong text or if you
need to use the erased text someplace else.
12. Ctrl + P

You can use this shortcut to view the previous command. You can press it
repeatedly to keep on going back in the command history. In a lot of
terminals, the same can be achieved with PgUp key.
13. Ctrl + N

You can use this shortcut in conjugation with Ctrl+P. Ctrl+N displays
the next command. If you are viewing previous commands with Ctrl+P, you
can use Ctrl+N to navigate back and forth. Many terminals have this
shortcut mapped to the PgDn key.

--
Pity the fool who followed his GPS over the cliff

Re: Must Know Linux Shortcuts

<slrnuq3o3b.clb.dan@djph.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7413&group=alt.os.linux.mint#7413

  copy link   Newsgroups: alt.os.linux.mint
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dan...@djph.net (Dan Purgert)
Newsgroups: alt.os.linux.mint
Subject: Re: Must Know Linux Shortcuts
Date: Sat, 13 Jan 2024 00:57:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <slrnuq3o3b.clb.dan@djph.net>
References: <q8joN.285251$83n7.208117@fx18.iad>
Injection-Date: Sat, 13 Jan 2024 00:57:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3718589fb6374155a9981f6ffab8e399";
logging-data="3840944"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198tTGrMy67SXGc6AGQyz5PaD1SCWHvCsg="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:U7fvabSVo+FMeXT24p7NsihxkSw=
 by: Dan Purgert - Sat, 13 Jan 2024 00:57 UTC

On 2024-01-12, Nic wrote:
> https://linuxhandbook.com/linux-shortcuts/
> [...]
> 2. Ctrl + C
Might want to mention this sends SIGINT.

> 3. Ctrl + Z
Likewise, this sends SIGSTP

> 4. Ctrl + D
This sends "EOF" (end of file)

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor