SQLite database tutorial on Linux platform (1)-Terminal Use, linuxsqliteSQLite database tutorial on Linux platform (1)-terminal usage
SQLiteIt is a lightweight database, designed to be embedded, and is currently used in many embedded products, it occupies very low resources, it may only take several hundred KB of memor
TXT file with Utf-8, it will show garbled characters.GarbledFinally to the key point, the program output garbled nature and file garbled is one thing.File garbledWrites the file in encoded format "A", parses the file contents in encoded format "B" and displaysTerminal garbledThe program outputs text in the encoded format "A" of the system requirements (LANG), and the output is parsed and displayed by the terminal program in its own encoded format "B"
The script command in linux records that the terminal session runs scriptscreen in ubuntu or other linux. log, record the screen information to screen. log, record until exit, a good way to record the screen log hellip; www.2cto.com # scriptscreen. logScriptstarted ,...
In linux, script commands record
Description of UseThe clear command is used to clear the terminal screen (clear the terminal screens), people who have used DOS or Windows cmd know that there is a CLS command that can be used to clear the screen, but there is no command under Linux, We can make the Linux sy
Linux minicom is a serial port debugging tool in Linux, similar to a Super Terminal in windows.
1. Install minicom:Check whether the system has installed minicom. If not, install minicom on your own.
[Root @ Web Server] # rpm-Q minicomMinicom-2.1-3
Ii. configuration (root user required)
The configuration page is displa
Basic Structure and terminal control of Linux operating system
Basic Linux Operating System Structure
1. Kernl Kernel2. Modules Module3. Lib Library4. shell tool (Application)5. Tools (applications) the same level of applications
This system can be divided into four parts in structure:
1. Linux kernel is the heart o
Xmanager IntroductionXmanager Full name Netsarang Xmanager, is a very good foreign set of remote monitoring software. In Unix/linux and Windows networking environments, Xmanager is the best connectivity solution. I recommend you to download Enterprise version, business version with the tools more powerful. Our graphical management of the Xmanager connection to the Linux
Although you can use gcc/g ++ to compile code in windows CMD, the font of CMD is unbearable.
Without any discriminatory mentality, we feel that there is no aesthetic feeling and our psychology is uncomfortable.
Because CMD uses the Chinese Code Page (936), you can use the "attribute" to modify only the ugly font. If
Run "chcp 437" in the CMD window. You can see that there are two more fonts in the replaceable Font: Consolas and Lucida console.
Alt
Status
sudo ethtool eth0
View CPU Information
Cat/proc/cpuinfo
Display current hardware information
sudo lshw
Show current memory size
Free-m |grep "Mem" | awk ' {print $} '
View hard disk temperature
sudo apt-get install hddtemp
sudo hddtemp/dev/sda
Show system Run time
$ uptime
11:47:04 up, 2:10, 1 user, load average:2.40, 2.18, 2.34
Hard disk
View partitions of the hard disk
sudo fdisk-l
Hard Disk partitions
#危险. Careful operation.
sudo fdisk/dev/sda
Hard disk
Learn Linux and Oracle on the virtual machine, because often use the terminal, originally always is to shut down the terminal first, then "system"-"shut down", continue the way of windows; feel very inconvenient, checked the command of the Shimonoseki: shutdown-?
Halt-?
Reboot-?
Did not understand, direct experiment
Terminator is a good terminal program, installed in UbuntuLinux is as follows: sudoapt-getinstallterminator can open multiple windows in the same screen: More Ubuntu related information see Ubuntu thematic page http://www.linuxidc.com/topicnews.aspx? Tid = 2
Terminator is a good terminal program. It is installed in Ubuntu Li
degrees to generate C.pdf:PDFTK a.pdf cat 1-endsouth Output c.pdf5. Use Find to bulk delete soft linksFind-type L-delete [PATH]If you want to delete an invalid soft link, execute thefind-l [PATH]-type L-delete7. Use the Find batch to modify the directory under a certain format file permissionsFor example, I would like to change all the TXT files in the directory to be non-executable, so as to avoid the always prompt "xxxx is an executable text file":Find./-name ' *.txt '-exec chmod 644 {} \;7,
-s_1319513096.jpg "title=" 2017-06-26_095837.jpg "alt=" Wkiom1lqb9hwuprxaadn7aqccna487.jpg-wh_50 "/>After successful authentication, you can get a list of desktop pools you can use, and click the Connect button to connect to the Remote Desktop.650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/9A/03/wKiom1lQb-ayNBJVAACaer5QABc882.jpg-wh_500x0-wm_ 3-wmp_4-s_4226581147.jpg "title=" 2017-06-26_100459.jpg "alt=" Wkiom1lqb-aynbjvaacaer5qabc882.jpg-wh_50 "/>Once the connection is successful,
When we log on to the Linux server to run the program, if the link server SSH terminal disconnected, the server program will often be broken.
The general workaround is to have a command followed by A background run, or use the Nohup command.
In fact, the screen command is a very useful command.
The basic principle is to open a window that is reserved on the server running in the background, you can exit
, test.txt source file, Testutf8.txt generate target encoding file)Note: Use Iconv-l to view the System support encoding format. Of course, you can add the encoding format:Default is UTF8, if you want to use another encoding such as GBKTo manually change a configuration file's command:Shell> vi/etc/sysconfig/i18nWill lang= "ZH_CN." UTF-8 "modified to:Lang= "ZH_CN. GBK "Save and close, and run the following command to make the configuration effective:Shell> source/etc/sysconfig/i18nTo display the
Today to share with you 10 years of Linux summed up the 11 Cool Linux Terminal Command Encyclopedia, through this article I'm going to show you a series of Linux commands, tools, and techniques that I'd like someone to tell me from the start, rather than stumbling on my path to growth.
1. command line da
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 ma
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 "
Today, my colleague asked me a question, access FTP under Linux, and upload the file. I've been using the WinSCP tool before. First file from Linux Copy to Windows, and then upload to FTP. Google a bit. Method is also relatively simple. This is only discussed through terminals, because it can also be done via IE or other tools.
1.
In the previous blog post, we described how to output bmpstring content in the console interface of Windows, but the methods there are not available under Linux. If you put the sample code there to execute under Linux, the output is garbled. The reason for garbled is that variables of type wchar_t differ in the length of bytes under
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.