Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to record or log commands on the command-line

#to record/log all commands and output during a session on the terminal
script session.log

#to exit
ctrl D or type "exit"

#to read file use ansi2txt or ansi2html to convert to plain text or html 
respectively

ansi2txt <log file> output_file_name
Comment

PREVIOUS NEXT
Code Example
Shell :: ibus ubuntu 22.04 not working 
Shell :: How to run DGraph docker image 
Shell :: cheat.sh github 
Shell :: kube cluster 
Shell :: enter a number using RANDOM in shell scripting 
Shell :: how to install brasero in linux 
Shell :: ex: push a new local repository to github 
Shell :: Excluse certain files with cp command 
Shell :: sls install plugin 
Shell :: digit to bytes 
Shell :: autosaving in VIM 
Shell :: shell owner and permission linux 
Shell :: android studio git upsh unable to read askpass response 
Shell :: stop ubuntu(v22.4) from killing apps unexpectedly 
Shell :: Autobackup if directory size is more than 25 MB bash 
Shell :: ubuntu install curse of war 
Shell :: Run the commands for your corresponding operating system: 
Shell :: how to search for a package on arch repositories 
Shell :: guardar vi 
Shell :: Git - graph all commits for repot in terminal and show commit messages one line 
Shell :: npm script run first script in the background 
Shell :: CMake 3.16.0 or higher is required. You are running version 3.10.2 
Shell :: powershell read registry value remote computer 
Shell :: incrementing a varibale gives 1 not found in bash 
Shell :: mkdir mode 
Shell :: choco install fluxcd 
Shell :: copy one file to several directories 
Shell :: get character frequency in linux 
Shell :: uniq only print unique lines 
Shell :: how to get device name in lsusb 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =