Useful Commandline Commands on Unix

As there is a windows version of this inquiry, I determined to open an area wiki for the very same inquiry under unix, linux, and so on.

I'll be upgrading this checklist with the solutions:

  • bash: director 3 <>/ dev/tcp/localhost/ 80 # Redirect to port 80 of localhost
  • locate: look for documents in a directory site power structure
  • htop: interactive procedure visitor, comparable to leading
  • xargs: construct and also execute command lines from typical input
  • tmux: removable, re - attachable command line sessions
  • apropo: locate pertinent male web pages
  • vmstat: See the state of your system

Websites:

  • commandlinefu.com
  • serverfault.com

Keyboard shortcuts: - Ctrl T (BSD details): send SIGINFO to a running program - Magic SesRq key (Linux details): en.wikipedia.org/wiki/Magic_SysRq_key

0
2019-05-18 23:53:05
Source Share
Answers: 7

Using 'ack' as a substitute for grep/find+xargs+grep : www.betterthangrep.com

0
2019-12-05 02:23:18
Source

' screen' - permits removable, re - attachable command line sessions. Made added glossy with screen - accounts (default in Ubuntu 9.04), and also byobu in 10.04

0
2019-12-05 01:18:32
Source

Maybe not regulates in itself, yet I've located recognizing that you can set celebration to make use of emacs or vi - design faster ways to browse the punctual to be specifically valuable. Ctrl+A to relocate to the start of the line, Ctrl+E to relocate to completion of the line, and also all the others (c.f. http://www.hypexr.org/bash_tutorial.php).

0
2019-12-03 04:03:10
Source
0
2019-12-03 04:02:29
Source
0
2019-05-21 10:39:57
Source

find. Exceptionally valuable in mix with xargs.

0
2019-05-21 10:37:35
Source
0
2019-05-21 10:35:41
Source