How do I use the Perl script operating system environment variables?
Presumably a lot of friends will soon think of this particular hash variable that $env in Perl, and, yes, you can get some system variables in $env. How do I get it? For example, to know the contents of the system environment variable of Path, we can
Win2000/XP "Management Tools" are a kind of useful system tools that come with the system, it can modify and manage hard disk partitions, passwords, processes, data, and important parameters of a series of system operations. With its usage, You can optimize the operating system
Is your computer shared with people? If so, you will be concerned about the security of your personal files, and if you are using the Windows XP operating system, you can use some of the simple and efficient settings provided by Windows XP to maintain your file security.
1, how to let XP automatic networking
ie--tool--internet Option--Connection, check "network does not exist when dialing", IE pull to "st
Nowadays, hard disks are basically serial ports (SATA). Compared with parallel hard drives (IDES), serial hard disks have many advantages. However, the hard drive of most computers is still working in IDE mode. This is because the operating systems before xp sp3 do not contain SATA drivers. Therefore, to install XP of SP2, You must select the IDE mode for the serial hard drive; otherwise, a blue screen is displayed when you enter the
all currently open file contents, enter in last line mode: Qa/:wa, cannot execute: Qwa/qawa this type of operation.If you need to load additional file contents into the current file while manipulating the current file contents under Vim, use the: R path/to/somefiles command in the last line mode. When you need to interact with the shell under Vim, use the last-line mode:! Then you can interact with the command. If you need a partial save as operation, use in the last line mode: M/.,N/+NW can be
,$5,$6,$7}} ' wl.txt fetch top 55awk sums the columns:Statistics total size of files ending with. conf in/etc directoryfind/etc/-type f-name "*.conf" |xargs ls-l | awk ' {sum+=$5} end{print sum} 'If you want to match the first column to accumulate, you need an array of awk and a For loopCat Xferlog | Cut-d '-f7,8 | Sort-n >/tmp/file1awk ' {a[$1]+=$2}end{for (i in a) print I "" a[i]/1024/1024} '/tmp/file1 | Sort-rn-k2awk for Row summationEcho 1 2 3 4 5 | awk ' {for (i=1;iSeq-s ' 100 | awk ' {for
WIN8 Operating system cannot access shared printers How to troubleshoot
The workaround is as follows:
1. On the computer where the printer is shared, open Control Panel and click "View devices and printers";
2. In the list of open devices, right-click the shared printer, click Printer Properties, and select this printer
3. Under the Sharing t
.tree: External commandFunction: Display the contents of a directory using a tree-like structure listFormat: Tree [option] ... [Directory ...]Common options:-A: Shows those with "." or ".." The hidden file that starts with the default tree cannot be displayed when the-D: Show only directory names-L: Do not allow recursive querying of directory Symbolic links-F: Each file is to be displayed with an absolute path-X: Just stay on the current file system-
Variables for shell scripts and regular expressions I. VariablesMeaning: The operation of a program is a variable of some column state, which is represented by the change of variable value.Naming rulesStart with a letter or underscore, and the rest can be: letters, numbers, underscores.It is advisable to follow the following specifications:1. Start with a letter2. Connect the words with an underscore or an underscore3. Differentiation of the same type with numbers4. The best name for the file pl
Knowledge Point Analysis:
Due to the Win7 home version of the operating system, the desktop right menu does not have the "personalized" option, so the home version of the operating system and the home Advanced edition of Professional Edition, the flagship operating
Recently encountered an issue where Windows server 2012R2 could not be activated, the problem is that every time you run an activation or activation command, an error occurs: 0xc000022 on a computer that is running a non-core version of Microsoft Windows.Solution:1, open C:\WINDOWS\SYSTEM32\SPP, find the Store folder, and then see if there is a folder named 2.0 under the Store folder, if present, please go directly to the 2nd step, if not present, press the WIN+X key, Open a command prompt (admi
generally not calm. Pictures for demo only
3, no resource-consuming SQL, this is the most reluctant DBA to see the results, because perhaps SQL Server from internal or external pressure, so that they spend too much time to deal with the operating system communication. The performance problems of SQL Server's common query-inefficient classes, most of which come from memory or hard disks, sometimes requ
Tags: terminal name process text input substr PID proc Linwhere q.address = s.sql_addressand Q.hash_value = S.sql_hash_valueand s.paddr = P.addrand exists (select SIDFrom V$lockwhere Block=1 and Sid=s.sid);If you are prompted no rows select (No row selected), then there is no business aspect of the lock, the current lock does not affect the normal operation of the business system, if you have these prompts, indicating that the existing lock has affect
to enter, any character entered as nonalphanumeric as the inserted characters
Last-line mode: In command mode, press: Enter, perform file-level or global operations, such as save file, exit editor, etc.
Basic operation of 2.VI1 Basic Operations2 The following operations operate in the last-line mode:3 : Q Exit VI (q! do not save forced exit)4 : W Save (Wq Save and exit)5 : x Save Exit6 : X Encryption Save Exit7 : U undo Operation8 : Save SaveAs as9 Ten The following operations operate
The project resource file of VC carries the copyright information, and the string usually generated is similar
Value "legalcopyright", "(c) Microsoft Corporation. All Rights Reserved. \ 0"
Right-click the compiled EXE file and check that the attribute has a version tab page. The string is displayed on it.
View some DLL and exe files in windows. If the language in the version information is Chinese, use (c) instead of the copyright symbol. If it is
Win10 How to query the build version (kernel version):1. Press Win+r to start the "Run" window, enter "msconfig" and determine2. Click the "Tools" tab in the "System Configuration" window, select "About Windows" and click "Start" button3. The "About Windows" window specifically shows the build number of the currently used Windowsor cmd command: winverVersion format: Start date-Service End DateMicrosoft Wind
(must be 0xf0)Dw9 ;fat Length (must be 9 sectors)Dw - ;1 tracks with several sectors (must be)Dw2 ;number of heads (must be 2)Dd0 ;do not try the partition (must be 0)Dd2880 ;override disk Size onceDb0,0, 0x29;fixedDD 0xFFFFFFFF;(may be) Volume code labelDb"Hello-os" ;Name of the disk (11 bytes)Db"FAT12" ;the name of the disk format (8 bytes)Resb - ;empty 18 bytes First;Program CoreEntry: MOVAx0
In the windows2000/xp/2003 version, the operating system provides shared functionality by default, which is implicitly shared by all, meaning implied, including all logical disks (c$,d$,e$ ...). and system directory Wimit or Windows (AdminS). This function is designed for the convenience of network management, but the function of the user has brought a lot of sec
Msconfig program window, Here you can easily remove some of your own programs (Figure 1) in accordance with your needs! However, if you can't find a friend with Windows 98 around, you can also download it on the web, which recommends a Msconfig program that is stripped of Windows XP and is fully available in Windows 2000.
Figure 1
[Operating Systems]
multi (0) disk (0) rdisk (0) partition (1) \winnt= "Microsoft Windows Professional"/fastdetect
Cha
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.