Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 117274

Questions about the Terminal application or its terminal emulation should use this tag. Use **command-line** for questions about shells or command-line programs that do not specifically involve Terminal.

1 vote
1 answer
2k views

What is the "host name" in bash? (\h or \H)

I set PS1="[\u@\H \w] in bash. So it should print the host name. But I do not understand the meaning and nature of the host name. Basically, I would assume that it is just a name I assigned to my com …
Michael's user avatar
  • 279
0 votes
3 answers
62 views

Comfortable way to archive and log terminal input

I often want to reuse a terminal command that I already used in the past. I know two ways how to do this: Use the "up" arrow to browse through old commands. … Now I'm looking for something like an archiving tool, where I could comfortably collect useful terminal inputs. Is there something more comfortable than the "up" key or copying into scripts? …
Michael's user avatar
  • 279