deny receiving of messagesMESG NKorn shell commandCommand nameFunction descriptionExamples of UseHistoryList several recently executed commands and numbersHistoryRRepeatedly executes a command that has been recently executedR-2AliasTo define an alias for a commandAlias Del=rm-iUnaliasTo cancel the definition of an aliasUnalias delOther commandsCommand nameFunction descriptionExamples of UseUnameDisplays information about the operating systemUname-aCl
user
Write username PTS/1
Mesg
Allow or deny receiving of messages
MESG N
Korn shell command
command name
function Description
Examples of Use
History
List several recently executed commands and numbers
History
R
Repeatedly executes a command that has been recently executed
R-2
Alias
To define an alias for a
]
Match any single character in the list
[!list]
Matches a character other than any single character in the list
[C1-C2]
Match any single word in c1-c2 such as: [0-9] [A-z]
{String1,string2,...}
Match string1 or string2 (or more) one string
{C1.. C2}
Match all characters in c1-c2 such as {1..10}
Get help on the command lineThe user can execute the man command to get a detailed description of a command
Google's Chrome OS shortdes a shell environment known as chrome shell, or "crosh" for short. crosh events des several terminal commands that can be used on all chromebooks, even ifdeveloper mode isn't enabled.
Crosh includes commands for connecting to SSH servers, monitoring resource usage, debugging network problems, tweaking hidden hardware settings, login Ming
/system/library/extensionsThe parameter R indicates a recursive operation of the directory, and Kext looks like a file under the graphical interface, which is actually a folder.Back up all files in the drive directory to desktop backupCp-r/system/library/extensions/*/user/User name/desktop/backupMove file----MVExample: Want to move Applehda.kext to the desktopmv/system/library/extensions/applehda.kext/user/User name/desktopWant to move the Applehda.kext to the backup directoryMv/system/library/e
To create a gluster volume after successful user registration, let's take a look at how to use Java to call Linux terminal commands.
The source code is as follows:
import java.io.InputStreamReader;import java.io.LineNumberReader;public class RuntimeTest{ public static void main(String args[]){try{ Process process = Runtime.getRuntime().exec ("ls"); InputStreamReader ir=new InputStreamReader(process.get
session:
Scriptreplay demo. timing demo. session
Note: The preceding two commands are part of the Linux util-linux software package.
Some linux distributions have script commands but do not have scriptreplay commands, the scriptreplay command is actually a perl script (this means that the recorded content can also be played in windows (as long as it is a
One, what is UltraEditI think it's a programmer, and the code knows what Urledit is. We are going to use Linux and have a very famous editor gedit in Linux, which allows us to enter gedit XXX in the terminal. You can edit the software by entering the visual window.Gedit can also be used on Macs, but gedit. There's a better software UltraEdit on Mac, but how do we use gedit as a command to edit any file?Second, the Preparation tool1. Download UltraEdit
Commands are also closed when Xshell or other terminal software executes commands, using Nohup commond Close Xshell windows, which can be done using command screen or TMUX commandScreen,tmux is powerful enough to go into a new bash, open a new window, split the screen, etc.You can also use screen or Tmux plus commands
If you want to learn about the Linux operating system, you must know that the Linux system is getting more and more popular with computer users. To learn about linux, you may want to learn about Linux terminal commands. Here we will introduce the knowledge of Linux terminal commands, I will share it with you here.
I. F
Ubuntu Terminal common commands Ubuntu terminal commands
CTRL + L-clear screen. CLear
CTRL + C-terminates the command.
CTRL + D-exits the shell as if it could also represent EOF.
CTRL + Z-the current process is placed in the background and FG is restored.
CTRL + R-Find from the command h
the code, you can submit the code directly: SVN commit-m "Note must be written"NOTE 2: If you are developing multiple people, do SVN update operations early every day, and svn commit-m "comments" every day before work to minimize code conflicts. (It is best to do an update operation before each commit)Important: If there is a code conflict, how do I fix it? If there is a code conflict, you will be prompted when update is updated:(MC) Mine-conflict This means that when a conflict occurs, use my
First, delete the file1 Opening the terminal application2 Input command: sudo (space) RM (space)-R (Space)-F (space) (note that there are spaces behind-f), also note that all lowercase.3 Drag the file or folder you want to delete into the terminal window with mouse, and many can also be dragged together.4 then enter in the terminal.5 Enter the current administrat
a command verbose usage, format: Man a command. Ubuntu Chinese man Manual configuration method: Man By default is in English, but the source of Ubuntu also has the Chinese version. The following are the configuration methods. Terminal input sudo apt-get install Manpages-zh, modify config file after installation sudo gedit/etc/manpath.config, replace all/usr/share/man with/usr/share/man/zh _CN, save it.
Package Management
your application requires an embedded database, you can download this version. Of course, you can download the source code and compile it yourself. After the download is complete, extract the file sqlite3.exe, which can be placed in any PATH, and then add the PATH to the PATH environment variable, in this way, you can run the SQLite command line tool on the console at any time.
III. Basic commands
1. Enter the command line environment: sqlite3
Open
Commonly used terminal commands in ubuntu
Lsusb query the usb device id by adding 0x ***** (numbers 0 and letters x) to the home directory/. android/adb_usb.ini File)
Adb devices displays all currently running Simulators
Adb reboot restart adb reboot-p Shutdown
Adb install-r application .apk install the application (-r re-install the program to save data;-s is installed in the SD card, rather than the inte
Configure the Android development environment, change bash_profile This file, finally somehow only the CD command can execute, I guess the Bash_profile file can be modified after not saving the resulting Save command is: source. bash_profileHere's my solution:1, on the command line, enter:Export Path=/usr/bin:/usr/sbin:/bin:/sbin:/usr/x11r6/binThis guarantees that command-line commands can be used temporarily. Do not close the
the original unchanged working copy file (restores most of the local modifications). Revert:2 usage: revert PATH ... 3 Note: The book command will not access the network and will release the conflicting conditions. But it will not recover 4 of the deleted directories16. Code Base URL Change1 svn switch (SW): Updates the working copy to a different URL. 2 usage: 1, switch URL [path] 3 2, switch–relocate from to [path ...] 4 5 1, update your working copy, map to a new URL, its behavior is simil
network hostPing hpc.sp.net.edu.cnMailRead and send emailsMailWriteSend messages to another userWrite username pts/1MesgAllow or reject receiving packetsMesg nKorn shell commandCommand nameFunction DescriptionExampleHistoryLists the commands and numbers that have been executed recently.HistoryRRepeat the execution of a recent command.R-2AliasDefine an alias for a commandAlias del = Rm-IUnaliasCancels the definition of an alias.Unalias delOther comman
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.