3
votes
2answers
388 views

Interpret backspaces in file

Is there a way to interpret/"execute" backspaces in a file/line using common bash commands? I have a console program which prints some stuff and than erases it using backspaces and finally writes the ...
0
votes
2answers
31 views

Configuration file for Virtual Console

Does any configuration file exist for virtual console, when a user logins in it which is read and executed ? My requirement: To execute some shell commands when a user logins using the virtual ...
2
votes
1answer
247 views

Add echo command to /etc/profile to disable screen blanking

I am considering adding the following echo command to /etc/profile echo -e ‘\033[9;0]\033[14;0]’ The system in question does not have setterm command available and is just running text console. ...
14
votes
2answers
1k views

Can I configure bash to execute “clear” before every command typed in the console?

I would like to configure bash to execute clear command every time I type some command in the terminal (before executing my command). How can I do that? I'm using Debian Linux.
6
votes
2answers
13k views

Refresh env variables after editing bashrc file

I frequently edited the .bashrc file to export new environment variables. Rather than close the console and start a new one to refresh the env variables, is there a convenient way to refresh?
1
vote
4answers
918 views

Toggle between dvorak and qwerty

I've recently started to learn the dvorak keyboard layout, but I still need to use qwerty sometimes. I'm looking for a script to toggle between the two keyboard layouts. Also, I'd like to invoke ...