Tag Info

New answers tagged


File "/proc/net/dev" has information about trannsmited and recieved packages for every interface your computer has. I guess you could make a script to time the packages and get the bandwith since you have data in its raw form.


Here's a one-off fix: sudo sh -c 'dumpkeys |grep -v cr_Console |loadkeys'


The ftp program is for the insecure ftp protocol. Your vendor has specified that you use Implicit FTP over TLS which is a way to encrypt the connection and keep your credentials and data private over the Internet. Fortunately, there is a program called lftp which understands this protocol. lftp open -u [username] ftps://host.com:46800 Password: [enter ...


The following command is very useful: xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p' But you need to set DISPLAY variable and it's related to your position to xev machine. NOTE: When you apply DISPALY variable that your position is illlegal, or you don't have any local access to ...


AllĀ¹ X11 programs open their windows on the display indicated by the environment variable DISPLAY. Thus: sudo -u 1000 env DISPLAY=:0 xev or for that matter, since you can run programs as a different user from the X server, just DISPLAY=:0 xev :NUMBER is the notation for local displays; in most scenarios, the X11 server that is running on the console is ...


You should try: xev --display localhost:0.0 assuming that X is actually running.


If you want to see the console messages, you can put at the end of /etc/rc.local, sleep 60


Ran out of space as a comment.. For backspace, stty erase '^?' should get you what you want. When you say CTRL commands aren't working, do you mean CTRL+C? If so, what about stty intr ^C? Can you still switch terminals with CTRL+ALT+F#? In any case, it may be helpful to paste the output of stty -a The following link should be helpful when it comes to stty ...


You can. First SIGSTOP the process you are interested in, then change /proc/[pid]/fd/x to whatever you need (you can symbolic link it to a tty or a file), and then SIGCONT the process. now it will write its stdout and stderr to whatever tty or file you specified.

Top 50 recent answers are included