Alibabacloud.com offers a wide variety of articles about terminal emulation program, easily find your terminal emulation program information here online.
I am open virtual machine under Ubuntu, installed dual system and unloading, Ubuntu default is not included editor vim and compiler GCC. If you are a newly installed Ubuntu computer, we will implement our first program in the future.1. Preparatory workFirst enter the root user mode, or you cannot save the. c file1.1 Open Terminal: Use shortcut key CTRL + ALT + T;1.2 Install VIM: input sudo apt-get install v
following sections: Text effects (poetry), problems (question), problem options (Bakans), Answers (answer), and hints (tips). These are stored in the shell array (girlLove.txt file) and are one by one corresponding relationships that are displayed in the main program girllove.sh through a while loop. The specific contents of the above sections can be set in the GirlLove.txt file, set the number of options and the user's screen, if the reader display
, 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 d
Source:Http://www.limodev.cn/blogContact information of the author: Li xianjing
As a Linux programmer, working on a terminal (programming) in most cases may be more convenient. The server is in the data center and everyone is connected to the same server. The local machine runs a terminal (such as securecrt) in windows, which is a typical configuration.
If the developed software does not contain a GUI, the
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 to
': main ()
The first print is T1 and main, and the second one is the main2. After talking to others, I thought this code should be considered a bad code, but was told that this difficult to understand the code is generated by object-oriented programming and product iteration, when invoking a new module, do not need to know his internal implementation principle, only need his parameters and return, Then if you want to expand him, just expand the interface directly.But I still don't qui
Serial port terminal program made of stc11f04 single-chip microcomputer. Similar to the Telnet command of a vswitch.
Due to the rush of time, only a few simple commands are implemented.
HelpLedbench onLedshortoffLed2_onLed2_off
For example, enter?
Enter the time command to query the current time in the microcontroller.
You can enter led1_on to light up led1 on the board.
Enter led1_off to extinguish le
Background: When you use ssh to manage servers, unexpected network disconnection and disconnection often occur. When the network is disconnected, the terminal is disconnected, if there is a program running on the front end or the current operation is very important and cannot be terminated at this time, the consequences may be very serious. At that time, you would like to cry, maybe some people say you can
For example, the following section of the source code (the source code is Cay S. Horstmann "Java Core Technology Volume 1: Fundamentals (10th edition English)" in the fifth chapter of the source):Package abstractclasses;Import java.time.*;compile with Javac.Then use Java and find always prompt "error: The main class could not be found or could not be loaded"This is a very strange question.The solution to the problem was later found to be simple:1, first in the source code directory under the ope
In Ubuntu7.10, IDE tools are not used, and only terminals are used. Test- gt; compile- gt; run the tool in one breath! Steps: 1, make sure that the gcc has been installed in Ubuntu7.10, Installation Method: sudoapt-getinstallgcc2, write a simple cpp file test. cpp, put in the specified place example: # inclu
In Ubuntu7.10, IDE tools are not used, and only terminals are used. Test-> compile-> run, in one breath!Procedure:1. Ensure that gcc has been installed in Ubuntu7.10. Installation Method: su
Java_homeExport Java_home=/usr/lib/jvm/java-8u5-sunForget java_home can be used:Echo $JAVA _home(2) Add the Bin folder under the JDK directory to the environment variableExport path= $JAVA _home/bin: $PATH(3) Adding Hadoop_classpath to environment variablesExport Hadoop_classpath= $JAVA _home/lib/tools.jarCompiling the Wordcount.java file.. /bin/hadoop Com.sun.tools.javac.Main Wordcount.javaWhere Com.sun.tools.javac.Main is an instance of building a compilerThe above statement generates three C
First write the C language source program files, such as hello.cExecute the GCC command to generate the a.out executable file./a.out executionGCC commandGCC (options) (parameters)-O: Specifies the generated output file, the output file is not specified, and the default output is a.out.-e: Only compile preprocessing is performed;-S: Converts C code to assembly code;-wall: Display warning message;-C: Only the compilation operation is performed and no co
Some customers of the intelligent home lighting system, the realization of the use of mobile phone control RGB LED, wireless, intelligent, situational intelligent lighting control system, according to different scenarios set the light color and intensity adjustment.The gateway part uses the Wiznet series Ethernet chip to realize the network connection.The current smart Home suite solution to achieve the goal: Plug and Play, without any configuration, unlimited expansion, no need to worry about
,0XFF,//91---1200xff,0xff,0xff,0xff,//1210xff,0xff,0xff,0xff,//1510xff,0xff,0xff,0xff,//1810xff,0xff,0xfc,0xff,//2110xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x55,0x55,0x55The received data is 0 by a number of bits.The 10th byte of the data area, the offset in this group is 2, 0111 1111, the highest, and the offset is 7.10th byte 8th bit.The description is in the 3rd 30-wire Group. Tabular learned that in this group, the 12th line, the entire alignment of the midline sequence number is 72.The seco
Color code:Format: echo "\033[word background color; font Color m string \033[0m" for example: echo "\033[41;36m something here \033[0m" where 41 of the position represents the background, 36 of the position is the color that represents the word, those ASCII code Is the whole story of the color call. \033[, M. ... \033[0m Word background color range:----4940: Black 41: Crimson 42: Green 43: Yellow 44: Blue 45: Purple 46: Dark green 47: White word color: 3930: Black 31: Red 32: Green 33: Yellow 3
Login on Linux is the input password will not be echoed, so I also wrote a simple login program, so that when entering the password is no longer echo.#include #include#include#include#include#includestring.h>#include#defineUser_name "username"#defineUser_pass "Userpass"#defineMAX 20#defineEchoflags (ECHO | Echoe | Echok)intSet_disp_mode (intFdintoption) { interr; structTermios term; if(Tcgetattr (fd, term) = =-1) {fprintf (stderr,"can\ ' t get the
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.