Questions tagged [history]
The history of Unix systems and their main components. Please DO NOT USE this tag for shell-related questions; use "command-history" instead.
430
questions
-1
votes
3
answers
85
views
Do we need to memorize every command of Linux OS Terminal Shell? [closed]
This is a rare question that I can ask from the experts that every time I use a command for the Linux OS Terminal Shell. Do I need to memorize every command in the Command Line Interface (CLI) of ...
0
votes
1
answer
87
views
When and why was the single dash introduced for command line options?
Already in the 1980ies, ls -l did mostly what it does today. For a boolean option, in this case l, I hardly ever questioned why it is prefixed with a dash: without an indicator, ls l would mean "...
5
votes
0
answers
151
views
Why is a loop device called a "loop" device?
As far as I understand, a loop device is a regular file that acts as a block device.
It's used for various things like isolation in snap packages and installing ISOs over an existing filesystem.
But ...
3
votes
1
answer
111
views
Will writing to /dev/pts allow me to source ~/.bashrc?
I have several terminal windows already open; I just made a change to ~/.bashrc, and I'd like to run source ~/.bashrc in each of the open terminals.
It seems to me that if I just
source ~/.bashrc | ...
4
votes
3
answers
426
views
How to place my own code snippets on command line à la history?
I have hundreds of tested and tried commands and snipets saved in various text files. When I need to re-use one, I find and copy/paste to the command line. Though reliable this is a clumsy method. ...
1
vote
1
answer
42
views
Why doesn't my sqlite3 history work after I run a dotnet core web app?
Over the past year or two I've been using sqlite3 a lot for web development projects.
Invariably I would stumble upon a problem where suddenly, the history of commands would no longer work (when ...
4
votes
2
answers
972
views
Does any implementation of `which` output "no" when executable cannot be found?
I am reading the source code of the Maven wrapper written for the Bourne shell. I came across these lines:
if [ -z "$JAVA_HOME" ]; then
javaExecutable="$(which javac)"
if [ ...
0
votes
1
answer
102
views
Who is the original author of GNU ld?
Author information can be difficult to find for projects whose histories go back long before their git repositories. According to Wikipedia, Richard Stallman wrote gcc, and Dean Elsner wrote GNU as.
...
3
votes
1
answer
373
views
How to save the ssh commands history to a file
I'm going to allow a server administrator freelancer to access my server to do some tasks for me, so I want to save all the SSH commands that will be used in a file so I can access this file later and ...
0
votes
0
answers
46
views
Since when it is possible to open multiple DE/WM in different consoles?
I remember some time ago I couldn't start X in two consoles at the same time. What I mean, if I had i3 running on tty7, I could do Ctrl+Alt+F6 to go to tty6, I could log in, but I couldn't start ...
0
votes
0
answers
21
views
Apper does not show the installation history anymore
I think the installation history of the GUI Apper is very useful: it shows a history of package installs and removals with timestamps and I think it should also show installations made via the command-...
0
votes
2
answers
74
views
Linux/Debian History: what Debian version became able to download and install packages from the Internet (with apt commands)?
For my Linux culture: what was the first version of Debian
to become able to install packages from the Internet by the mean of the apt commands?
0
votes
0
answers
110
views
ZSH not showing/keeping history even though I have the various history settings
I have the following in my .zshrc:
# history
HISTSIZE=50000
SAVEHIST=100000
HISTFILE=~/.cache/zsh/.histfile
# plugins
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
# user configuration
...
-4
votes
1
answer
575
views
Is there a way to know who executed a command?
we are using redhat and we would to know if there is a way to show the session id or username who executes a rm command line, recently, someone from other teams delete a .jar file and me and my team ...
0
votes
1
answer
337
views
Why is debug flag in GCC abbreviated "g"?
In GCC the debug flag is "-g". I have not been able to find why "g" was chosen for this. Does anyone know?