Linux

Life saving linux terminal shortcuts

Stuck and searching for terminal shortcuts, here I have got list of Life saving linux terminal shortcuts –

  1. Ctrl+a Move cursor to start of line
  2. Ctrl+e Move cursor to end of line
  3. Ctrl+b Move back one character
  4. Alt+b Move back one word
  5. Ctrl+f Move forward one character
  6. Alt+f Move forward one word
  7. Ctrl+d Delete current character
  8. Ctrl+w Cut the last word
  9. Ctrl+k Cut everything after the cursor
  10. Alt+d Cut word after the cursor
  11. Alt+w Cut word before the cursor
  12. Ctrl+y Paste the last deleted command
  13. Ctrl+_ Undo
  14. Ctrl+u Cut everything before the cursor
  15. Ctrl+xx Toggle between first and current position
  16. Ctrl+l Clear the terminal
  17. Ctrl+c Cancel the command
  18. Ctrl+r Search command in history – type the search term
  19. Ctrl+j End the search at current history entry
  20. Ctrl+g Cancel the search and restore original line
  21. Ctrl+n Next command from the History
  22. Ctrl+p previous command from the History

Ref: http://stackoverflow.com/questions/9679776/how-do-i-clear-delete-the-current-line-in-terminal

Algorithms, elastic search, Linux, web

glitch in BringMeFast.com Search Engine – solved

There was problem in loading the page very first time. It was showing empty page. Issue was in security check. Solved this now. Enjoy searching. you can help and suggest me more on this here. [email protected] is my new email id. Here is the link bringmefast.com. Enjoy searching.

Topic:glitch in BringMeFast.com Search Engine – solved

Linux, raspberry-pi

tmux dead on ssh exit in raspberry

Hi there, if are facing dead tmux session on ssh exit issue on raspberry, here it requires libpam-systemd, which is not included by default in minimal Jessie. I rebooted to enable it, but you may only have to relogin and / or restart systemd-logind.service. Install it with command apt-get install libpam-systemd

systemctl –user status

output (without libpam-systemd): Failed to create bus connection: Connection refused

output (with libpam-systemd):

● raspberrypi
State: running
Jobs: 0 queued
Failed: 0 units
Since: Tue 2017-02-14 06:04:15 UTC; 4s ago
CGroup: [email protected]
├─739 /lib/systemd/systemd –user
└─746 (sd-pam)

Hacking, Linux, Proxy

easiest ssh tunnel, saves you from internal surveillance

just execute this command in linux terminal and get the easiest ssh tunnel, saves you from internal surveillance

ssh -D 8080 -f -C -q -N [email protected]

Common, java, Linux

Install oracle-java8 in ubuntu

Install oracle-java8 in ubuntu


add-apt-repository ppa:webupd8team/java
sudo apt-get install software-properties-common python-software-properties
add-apt-repository ppa:webupd8team/java
apt update; sudo apt install oracle-java8-installer
apt install oracle-java8-set-default