Summary of the usage of gadgets under Linux

Source: Internet
Author: User
Tags sessions

0. Preface

This blog is only used to record a small tool used by the individual in the work, followed by other supplements.

1. Tmux

Terminal Splitter (multiplexer), you can create multiple terminals on one screen, and this tool can also be used for pairing programming.

Personal use: 1. Open multiple terminals in one screen (because the individual is using a 24-inch screen)

2. Save the working environment, Dettach when not in use, switch to the corresponding environment, the general person will create three sessions, one for the opening program, the second for the work environment, and the third for the study environment.

  

Common commands:

Tmux creates a session by default and the session name is named starting at 0

Tmux new-s Session_name Create a new session

Tmux attach-t Session_name connected to a session that was created.

Tmux LS View the sessions that are currently owned by Tmux

In the session, the command is prefixed with CTL + b prefix

CTL + B + D, disconnect the current session D represents Dettach

CTL + B +%, create a pane (pane) in Vertical split

CTL + B + ", created in horizontal split

CTL + B + arrow keys, Toggle Pane

CTL + B Press and hold the + arrow key to resize the pane

CTL + B + [, view or copy the contents of the previous output (note: Tmux does not have scroll bars, so this feature is more important for viewing the content of the output than one screen)

Tmux List-panes View the current session pane

Tmux kill-pane-t Pane_name closes a pane, where Pane_name is the name of the pane, and if created by default, labels starting from 0

2. tcpdump

Used to listen for data sent and received by the network, This command generally need to use the administrator's permissions.

Personal use: Monitor the port of the server when testing, observe the data sending and receiving, connection establishment situation.

Common parameters:

-I specifies the Listening network interface

Filter Parameters:

Port number listens on the specified ports

IP IP listens for specified IP

Example: monitoring 172.16.17.229:8080: "IP 172.16.17.229 and port 8080"

Summary of gadget usage under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.