You are not logged in.
the only way i found for now is a github app (termrec)
that i am not able to install so long
cheers
pq
Offline
Hi
can you elaborate more on: "from the beginning on"
You can capture the terminal output of commands to a text file.
ls > SomeDir.txt--
Data
Offline
Offline
@Data007
1> begin of using arch so after install or begin of session
2> yes but NO --> i want to record every IN and OUTput every session, not manually and not only the output.
@Slithery
thanks for now
Last edited by 4kin (2022-09-15 08:40:10)
Offline
Offline
and is there a way to put that script command into linux' autoexec.bat and to create a logfile for every beginning terminal session named 'termlog + %date%' ?
Offline
Linux doesn't have an autoexec.bat - instead you need to use your shells' config file. If you are using bash see...
https://wiki.archlinux.org/title/Bash#C … tion_files
Offline
Maybe we take a step back here: what are you actually trying to achieve?
Don't say what you think the solution would be. What task do you need to solve?
Offline
as a newbie to linux it's just better to later be able to have a look into what you have done, because it's not possible to remember all these commands from begin on, and sometimes they are hard to find again later.
it also has an positive effect of remembering these commands
Last edited by 4kin (2022-09-15 12:32:44)
Offline
as a newbie to linux it's just better to later be able to have a look into what you have done, because it's not possible to remember all these commands from begin on, and sometimes they are hard to find again later.
it also has an positive effect of remembering these commands
Try the up and down arrows from the console to recall previous commands in your history.
You can also use a Ctrl-R followed by a search string to search your history
https://wiki.archlinux.org/title/bash#History Many of the things in that article are already defaults.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline