Discover traceroute command in unix, include the articles, news, trends, analysis and practical advice about traceroute command in unix on alibabacloud.com
Let's start a new year with these unix/linux command techniques to improve productivity at the end. I've been looking for it for a long time and I'm going to share it with you now.
>/path/to/file.log
# or use the following format
: >/path/to/file.log
# then delete it
Rm/path/to/file.log
How do I record terminal output?
Try using the script command line
The following describes how to set the Unix telnet command. We have analyzed some of the commands and codes. Then this code is used as a monitoring program. After the event is triggered, telnet to Sco unix to execute the command and obtain the command result. After several d
Getting started with C Programming in Unix/Linux (39) shell Command System Management, getting started with shellDf command
This function is used to detect disk space usage and free space in a file system. It displays the usage of nodes and disk blocks in all file systems. The command format is as follows:Df [Option]
Our traditional method of writing programs is to create a single and fully functional program and try to provide functions that can fully meet the needs in a program. Such an approach will cause huge and complex programs, reduced maintainability. Generally, programs on windows have comprehensive functions and do not need to work with other programs. For example, if two programs require paging, they will develop a paging module, instead of seeking for the shared paging function. In the
As you know, it is sometimes necessary to terminate all Oracle processes or a specified set of Oracle processes. When the database is "locked" and you cannot enter Server Manager to "gently" Terminate the database, you can use the kill command in UNIX to terminate all Oracle processes-this is one of the common uses of the kill command.To terminate an Oracle instance on a
] ~]#/etc/profile or [[email protected] ~] #source/etc/profileMake the change effective, if there is no error stating the success.Verify that there is data in the log[Email protected] ~]# More/var/log/201107.log2011-07-21 17:29:08 ##### Root PTS/2 (192.168.23.250) # # # # # # # /etc/profileYou can see that there's already data inside.You can also usePrompt_command= ' {date ' +%y-%m-%d%T ##### USER: $USER IP: $SSH _client PS: $SSH _tty # # (History 1 | {read x cmd; echo "$cmd";}) ";} >> $HISTORY
Tags: permissions test content Universal inittab ATI script Run SystemTurn http://blog.itpub.net/23135684/viewspace-668924/Unix general use Method 3, for deploying OSWMethod One:Edit/etc/rc.d/rc.localJoin the command you want to execute.Such as:[email protected] rc.d]# cat rc.local#!/bin/sh## this script. 'll is executed *after* all and the other init scripts.# can put your own initialization stuff in here
Write Cache command--sync
After starting the UNIX system with the reboot command, the system prompts for an error message and some applications do not work properly. After careful examination of system files, and the initial correct backup to compare, found that some files are indeed corrupted, toss and turn to find the cause of the file is destroyed, and fina
ArticleDirectory
Linux Command Line cheat sheets
Solaris cheat sheets
Debian/Ubuntu cheat sheets
Package management cheat sheets
UNIX cheat sheets
Bash cheat sheets
Awk cheat sheets
Ed cheat sheets
Sed cheat sheets
Gdb debugger cheat sheets
The Linux/Unix System in command lin
' ibase=16;obase=1010; AC ' |BC (Linux)0172> Echo ' ibase=16;obase=1010; AC ' |BC (Unix)Output base is too large172Note here: This error will be reported when executing in Unix, but there will still be results.]$ Echo ' ibase=16; AC ' | Bc172Convert decimal to hexadecimal]$ echo ' ibase=10;obase=16;172 ' |BCAC]$ echo ' obase=16;172 ' |BCACconverting decimal to Binary]$ echo ' obase=2;172 ' |BC10101100Conve
This article applies to the following topics:
Unix Linux Convert string to command
UNIX Linux Convert strings to command execution
How to convert a string into a command in a Linux sh script
Answer:Use the eval command
A Unix operating system may paralyze the system after a sudden power failure. At this point, the Unix operating system is not as good as that of Microsoft. In the event of a power failure, the Windows operating system will automatically detect and recover when it is restarted, But Unix will not. We need to manually execute The fsck
A Unix operating system may paralyze the system after a sudden power failure. At this point, the Unix operating system is not as good as that of Microsoft. If a power failure occurs, the Windows operating system will automatically detect and restore the system when it is restarted, but Unix won't... A Unix operating sy
Commands for interchange of date, time, and Unix timestamps in Linux Command lines
At work, you often need to get the current Unix timestamp or convert the given timestamp to a date format that we can recognize, on the linux Command Line terminal, you can easily solve the problem by using several commands.
1. convert a
The Iconv command is a file-encoded reload tool that runs on the Linux/unix platform. When we look at the text file in the Linux/unix system shell, we often find that the file is garbled in Chinese, this is due to the encoding of the text file and the current operating system settings, which can be encoded by using the ICONV conversion, to solve the garbled probl
1. Password security
The/etc/passwd file in the UNIX system contains all the information that the system needs to know about each user (the encrypted password may also be stored in the/etc/shadow file).
/ETC/PASSWD contains the user's login name, encrypted password, user number, user group number, user comment, user home directory, and user
The shell program used. Where the user number (UID) and the user group number (GID) are used to uniquely iden
(which symlinks), ln ignores the- l and- p options. Otherwise (if making hard links), the last option specified controls behavior when a TARGET is a symbolic Link. The default is to act as if- p was specified.ln examplesln public_html/myfile1.txtCreate a hard link to the file public_html/myfile1.txt in the current directory.Ln-s Public_html/myfile1.txtCreate a symbolic link to the file public_html/myfile1.txt in the current directory.Ln-s Public_html/webstuffCreate a symbolic link to the direct
accessed in the last 48 hours of the system
Find/-empty # Check for empty files or binders in the system
Find/-group Cat # Check the files in the system that belong to Groupcat
Find/-mmin-5 # files modified in the last 5 minutes of the system
Find/-mtime-1 #查在系统中最后24小时里修改过的文件
Find/-nouser #查在系统中属于作废用户的文件
Find/-user Fred #查在系统中属于FRED这个用户的文件
Find/-name AAA #查在系统中 file named AAA
The following list is a partial condition for searching the characteristics of a file that can be specified by t
name in sleep is displayedFlags task flag, reference sched.hSort by specified columnTop can be set to sort by an item, by default it is sorted by CPU usage,M, (note upper case), sorted by memory usageP, sort based on percent CPU usageT, sorted by Time/accumulated time.How to end a processEnter the letter k(lowercase), and then enter the PID you want to killOf course you can also run the command directly, kill the PIDTop Other usesOther uses of top, c
As you know, there are times when it is necessary to terminate all Oracle processes (process) or a specified set of Oracle processes. When the database is "locked" and you are unable to enter Server Manager to "gently" terminate the database, you can terminate all Oracle processes with the KILL command in Unix-one of the common uses of the KILL command.When you need to terminate an Oracle instance (instance
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.