Liunx Some commands, log view. Summary of Fiddler Grab app pack

Source: Internet
Author: User

ADB command
Switch to the path to the directory
cd/root/docements Switch to Directory/root/docements
CD./path switch to the path directory in the current directory, "." Represents the current directory
Cd.. /path switch to the path directory of the upper directory. “.” Represents a previous level of directory

ls command
commands for viewing files and directories
LS-L lists Long data strings, including file attributes and permission data.
Ls-a list all files, together with hidden files
The ls-d directory itself. Instead of listing the file data for the directory
Ls-h the file capacity in a more easily-listed way.
Ls-r is listed along with the contents of the subdirectory, which is equal to all the files in that directory will be displayed.
Du DF View disk space.

Linux log file description
/var/log/message system startup information and error logs, which is one of the most commonly used logs in Redhat Linux
/var/log/secure Security-related log information
/var/log/maillog message-related log information
/var/log/cron log information related to timed tasks
/var/log/spooler log information related to UUCP and news devices
/var/log/boot.log daemon start and stop related log information
/var/log/wtmp a log file permanently records each user logon logoff and system startup, downtime events.


All the logs are placed in the Bin/log.
Enter the path to the log first. CD Bin/log
All actions are displayed to make it easy to select the log files to view. Ls-lrt
Check the specific log: Tail-f *.log

grep searches for file contents
grep Bible/etc/book finds all rows that contain Bible in the file book.
Find File
Find-name *.rpm Find RPM packages in the current directory
Find |grep page finds the file name in the current directory and its subdirectories that contains the page
Locate book find the file name that contains book in any part of the system
Touch creates an empty file
Touch Aaa.txt creates an empty file with a file name of Aaa.txt

Fiddler Grab App Pack:
Mobile computer to be on the same LAN
Sets the Fiddler property. Fiddler Options https√decrypt HTTPS traffic
Connections√allow remote computer to connect
View the IP address of the PC. Ipconfig view with cmd input. For example for. 192.168.1.105
Set up your phone, go to Wi-Fi, enter the network connection, and set up an agent in the link details. The host name of the agent is the IP address that is checked on the PC
Host name 192.168.1.105.
Port default 8888
The response to the test Fiddler is then accessed.

Liunx Some commands, log view. Summary of Fiddler Grab app pack

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.