In Linux, you will often see the file size, which is usually used by the command du:The command is explained in detail below:[Email protected] logs]$ du--helpUsage: du [options] ... [File] ...Or: du [options] ...--files0-from=fCalculate the disk usage for each file, and the directory will take the total amount.The long option must use parameters that are also required for short options.-A,--all the disk usage of all files, not just the directory--appa
Sometimes you need to see how many files are in the folder, so you need to use the following instructions
$ls-L | Grep-c ' ^-'
What does a grep mean? We're man.
$man grep
You will see the following description:
Synopsis
grep [OPTIONS] pattern [FILE ...]
grep [OPTIONS] [e-pattern |-f file] [file ...]
DESCRIPTION
grep searches the named input files (or standard input if no
After Windows 7 was installed, the download instructions show Windows 7 build 7600.16385. But how can we view this version number in win7? After searching online for half a day, I found this method to view the detailed version number of win7. You can use slmgr. vbs to view the detailed win7 version number.
Generally, you can enter "winver" in the running colu
Find command View (recommended):Number of subdirectories:[[email protected] ~]# findAfish-type D | Wc-l158[[email protected] ~]# findafish/-type D | Wc-l158[[email protected] ~]# findafish/*-type D | Wc-l157--CorrectResults for different reasons:[[email protected] ~]# findAfish-type D | MoreAfish-first line of output results[[email protected] ~]# findafish/*-type D | MoreAfish/examples-first line of output resultsSummary: Use afish/* does not contain
Usually collect some commands for easy use.1:LS-LRT Sort by Time show2:nslookup View DNS resolution3:lsof-p Process NumberLsof ' which httpd '//That process is using Apache executable fileLSOF/ETC/PASSWD//The process is taking up/etc/passwdLSOF/DEV/HDA6//The process is taking up Hda6Lsof/dev/cdrom//The process is occupying the optical driveLsof-c sendmail//view file usage for SendMail processLsof-c courier-
Tags: using/tmp Operation CTRL AC unit description default parameter cat命令行提示符[[emailprotected] ~]## 超级用户$ 普通用户当前所在目录 ~用户的家目录管理员超级用户 /root普通用户 /home/用户名/所在目录linux 命令格式命令 空格 [选项] 空格 [参数]选项,使用或调整命令的功能参数:参数四命令操作的对象,如果可以省略,说明有默认参数显示注意:在linux下是严格区分大小写,所有内容!命令全部小写Linux view and create directory files and other commands 1 ls//list Displays the contents of the directory 1.1 Ls-l//Long format display (the t
small icon appearing on it (the message is: Show All Files ), and when you click on the solution name, the icon disappears. Click on this icon, you can immediately find that the current project directory on the disk all the files appear, including the compilation process produced by the various intermediate files. Obviously, that's what we want! The steps to cre
View Ubuntu files in windows and Ubuntu
Author: moc062066Http://blog.csdn.net/moc062066
For XP and Linux systems, you can easily view files in windows. For Windows systems, it is difficult to view files in Linux.
With a s
■ How to view various database data files?
1) view data filesSQL> select file_name, Bytes/(1024*1024) M0 from dba_data_files;2) view the control fileSQL> select name, status from V $ controlfile;3) view log filesSQL> select group #, Member, status from V $ logfile;
Atitit a structured view solution for large json files , High performance Jsonview attilax Summary . docx1.1. Achieve Goal:11.2. implement key with value type: The position of non-jsonobject Jsonarray has been analyzed . 11.3. Existing issues Fastjson uses The contents of the string format, causing the file content size to remain capped. 11.4. effect 21.5. Reference 4Choose a lot of Jsonviewer, only
numberG # # Move the cursor to the end of the file 1.2.vim Plug-in modeI cursor Seated at position insert characterI insertion of the line at the beginning of the cursora next insertion of the character of the cursorA The end of the line where the cursor is insertedo next line of the row where the cursor is locatedO previous line of the row where the cursor is locateds Remove the character insertion of the cursorS Delete the row where the cursor is insertedExit mode of 1.3.vimEnter in command m
The original XML file can be viewed using IE5.0 (or a later version) or Netscape6. However, if you want to display the XML file as a web page, you must add additional display information. You can use IE 5.0 (or a later version) or Netscape 6 to view the original XML file. However, if you want to display the XML file as a web page, you must add additional display information.
View XML
process is running;
The FD directory is a symbolic connection of the files that the process opened or used.
------------------------------------------------------------------
Cat/proc/xxxx/environ |grep PWD
View the absolute path of the command.
Because of problems such as backup, different versions, and so on, there are many Nginx directories on ECS Linux, and the configuration
and generate a file object. Run again the same code will be OK.Two problems are encountered in this process:One is that the backend byte array is very inconvenient to pass to the front end, and when I pass it with Ajax, the binary array parameter becomes a string type.The other is that JavaScript cannot create a new file object directly ...First of all , the binary array cannot be passed, then the string can only be passed, but not directly to the string, then what is the method? And then the c
Sometimes need to view so files, Linux direct readelf-a xxx.so display elf format information, through the parameters to control the display of specific information readelf-d filename.so view shared libraries since the library and search name Readelf-h Filename.so Display elf header information [PHP] rainysia@root:/usr/lib/php5/20090626# readelf-a odbc.so | More
cannot be seen when you open a file in Notepad. How can we view it?
(The Orange text is for reference)
Step 1: Set the binary log file.
By default, MySQL does not enable those logs, such as binary logs, error logs, slow logs, and query logs...
Regression question: Enable binary logs...
In the my. ini file [mysqld], add:
# Custom defineLog-bin = mysql-bin
Long_query_time = 0.1.Log-Slow-queries = "C:/Documents and Settings/all users/Applic
Every iOS program has its own file system. This file system is called SanBox, which stores files other than this code, other applications cannot access the sandbox of the program,
How can I view the sandbox locally?Under normal circumstances, some files in the Finder file are hidden to prevent user destruction. open the file using commands in the terminal.Command
Use logdump to view extract trail files (Getting Started)
Use the logdump tool:Displays and searches for information in the goldengate trail file.You can save part of the information in the goldengate trail file to a separate trail file.
1. Start the logdump ToolShell> logdump
2. Get helpLogdump 1> help
For more information, see Windows and Unix troubleshooting and Performance Tuning guide.
3. Open the trai
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.