Problem: Connect to the spark cluster remotely with SECURECRT, start Spark-shell but find the wrong command but can't delete it with backspace key.Workaround:The first step:Select the Options button in the SecureCRT menu bar and select "Session Options" in the pop-up optionStep Two:In the popup dialog, select "Emulation" on the left, then "emulation" and select "Linux" in the right terminal (terminal) selec
The user name is the representative of the @ front string in the Ubuntu terminal.The host name is represented after the @.If the string is longer before and after it can be shortened by modification, this can be very clear on one line when compiling the program.1. If the host name is longer. You can use sudu hostname xxx (XXX) in the terminal to indicate the name you want to display, that is, the new host name.Then enter the password for the sudo user
How to modify the Ubuntu terminal Display user name and hostname, this problem for the familiar person, trivial, but sometimes knowledge should always accumulate some, even a small knowledge point, sometimes come to the time to find forget how to do, so record. The steps are simple."Declaration" Welcome reprint, but please keep the article original source: http://blog.csdn.net/yelangjueqi/article/details/455566571. Before modificationFormat: User name
Reprint: http://blog.sina.com.cn/s/blog_6cb543ef0100x90j.htmltoday wrote a serial communication program, but the machine only a serial port, can not verify the correctness of the program, then think of adding a pair of virtual serial ports under LinuxPython:#!/usr/bin/env python#Coding=utf-8ImportPtyImportOSImportSelectdefmkpty ():#Open pseudo TerminalMaster1, slave =pty.openpty () slaveName1=os.ttyname (slave) master2, slave=pty.openpty () slaveName2=os.ttyname (slave)Print '\nslave device name
Environment settings for the terminal of the Bash shell usage environment: stty
Environment settings for the terminal of the Bash shell usage environment: stty
STTY-A Lists all the current stty parameters to
INTR: Sending an interrupt signal to a running program
Quit: Send an exit signal to a running program
Erase: Delete characters forward
Kill: Delete the text on the command line
1. First need to set the next iterm, the terminal encoding method for the Utf-8 inspection scheme is: iterm-> Perferences-> Terminal->character Encoding: UTF-82. Open/etc/ssh _config file sendenv lang lc_* for sendenv Lang lc_all=en. US. UFT-83. Turn off Iterm once again to see if Chinese is also displayed as garbled, if also garbled, again modified under the Linux character set for Utf-8,
Chgrp
Change the owning group of a file or directory
CHGRP staff filename
Xlock
To lock the terminal
Xlock-remote
Programming operations
command name
function Description
Examples of Use
Make
Maintaining the latest version of an executable program
Make
Touch
Update file access and modification times
Touch-m
directory
Chown newowner filename
Chgrp
Change the owning group of a file or directory
CHGRP staff filename
Xlock
To lock the terminal
Xlock-remote
Programming operations
command name
function Description
Examples of Use
Make
Maintaining the latest version of an executable program
Make
Touch
Update file acce
Do you often encounter situations where you connect to a Linux/unix machine via SSH or terminal putty, execute a program, a script, or a command, but now you need to close the SSH or terminal, because that program, script, or command is running, Once you close without doing any processing this process will be closed together, so half of the work is wasted, it is a pity!Here's a way to get a running program,
originally terminal display is computer name, results these two days show as Bogon, a check bogon this word is virtual, hypocritical meaning. Check it out. The terminal will first query the DNS server for the direction of the local IP resolution results, if the query does not display the computer name. and because our DNS incorrectly returns the NS query result that holds the reverse of the address back to
Mac commonly used terminal commands to clean up computer knowledge
As a developer, more and more feel for the use of the terminal, is very necessary, I contact this less before, but also occasionally use (University did not learn Unix), now summed up a few, follow-up will add, life-long learning ~
1. Get Administrator privileges:
Input Sudo-s
Then enter the password, do not prompt, enter a direct return
Preface: After several months of "pregnancy" period, finally produced the "Happy manufacturing" the first terminal game. This process of various entanglements, various adjustments, various versions ... It is not easy to thank everyone who participated.
Why did you do it?
Happy bucket Landlord has a large amount of users on the PC side, in order to meet all the platform (pc-web-Mobile terminal) users can e
How to view the Internet terminal's speed on the router
If the router uses the process of slow speed of the phenomenon, you must be concerned about whether there are individual terminals to seize the speed. In the management interface of the router can see the speed of each terminal, so as to provide you with the basis for judging problems.
Use the Router administration address (tplogin.cn or 192.168.1.1) to log on to the admin interface in the brow
While looking at Orange's, the implementation of the operating system, the seventh chapter also shows the two terms TTY and console. I looked up some web pages, but I couldn't explain them, and I made some understanding with my own thoughts.
TTY, including the mouse, keyboard, touch screen, and so on, are all character devices that are typically used for input.
Console, which is used to display the results, usually console is the display, it can only output, can not enter.
The role of
Before we learn to use HyperTerminal, we have to know what a super terminal does, super Terminal is a universal serial interactive software, many embedded applications of the system with the corresponding program, through these programs, can through the super terminal and embedded system interaction, so that HyperTerminal become embedded system "monitor".
The pr
In the shell command terminal, CTRL + N equals the direction-down direction key, ctrl+p the direction key that corresponds to the direction.In the command terminal through them or the direction of the key can be used to achieve a quick search history commands. This is also a quick technique for entering commands.The ctrl+r enables quick retrieval of used historical commands in the command
The terminal in Linux is very convenient and can be copied and pasted directly.Then open a gedit text editor, paste the contents of the copy can be.Unlike the Windows CMD console, you need to first right-click the title bar, select Edit-All selection/tag, and in the right-click title bar, select Copy, so copy.CMD is not good, the mouse is not careful, but also may be a mouse shake, painstakingly marked things disappear.Of course, the above is only the
Record some of the terminal's use of commands, with automatic completion of the configuration, mainly afraid of forgetting later.1. Terminal Auto-complete configurationOpen Terminal, enter:Nano. InputrcWrite in the file:Set Completion-ignore-case onSet show-all-if-ambiguous onTab:menu-completeCTRL + O, enter, restart the terminal, auto-complete Press the TAP key
, because a process started with Telnet shuts down as the Telnet process shuts down. So we can use some UNIX commands to do it without shutting down.Use the following command:Nohup startweblogic.shIf you want to monitor standard output you can use:Tail-f Nohup.out
When you run a program in the background, you can use the Jobs command to view the status of the background job. To use the FG command with parameters to switch background jobs of different numbers to run on the foreground whe
Under CentOS and Ubuntu, Terminal Blue is difficult to distinguish, when you can adjust the palette of the Window menu, choose your favorite color.
Under Terminator (that is, multiple windows that), you can set up preferences-> profiles->
Both terminals can directly use the system's original color scheme.
1.
My solution would like to make fine-tuning on the basis of a predetermined "Linux style" and become a custom:
Text color is white
Background
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.