Summarize the basic operation of linux

wubi is Windows UBuntu Installer abbreviation, its function is to help you install our system in Windows7
Ubuntu system.

U disk installation

UltraISO production and installation U disk

i386 refers to 32-bit CPU x86 architecture, this architecture because it is the year when the Intel386 processor produced by Intel
finalized, so called i386. 

ubuntu-10.04-alternate-386.iso. alternate software installation may be selected to be loaded into the left side plate and to be
loaded into the server version.

Kubuntu
Xubuntu
Edubuntu

Minister and logistics personnel manager apt as a company's.
System software installed unloading of software, the property in his possession.

apt-get --help

http://cn.archive.ubuntu.com/ubuntu/

This software lists, /etc/apt/sources.list file

After successfully run a sudo command, and then run the sudo command within five minutes without having to enter a password.

sudo apt-get install <package name>

Do not know the package name, you can run:
sudo APT-Cache Search <keyword>

su command for temporarily switching --- any user including root
su user1
sudo su root // need to root sudo


http://wemq.org

empathy


Today's focus:
1, put together into the code.
2, plus protective measures
1) a case where Flag3 bit0 EXTEND ACS
Extended Registers Access permission.
1: Extended Access Registers IS permission.
0: Registers of Can not Access Extended.

2) flag2 bit11 USR_OCV_TBL = 1 successfully written acknowledgment model

3) flag3 bit8 RI = 0 to confirm the initialization process has ended successfully, the final step is to initiate the process RI cleared 0
Gauge the RESET Occur Flag.
1: Gauge the RESET occurred to the Clear the Write 0..
0: Gauge the RESET does not Occur

Whether the register has fcc dc is set to about 80-90

This EXE file is an executable file in the Windows system, which can only run under Windows, but does not work in our linux system below.
EXE file need to call a variety of library software is running, that is, those DLL files, linux library files are .o or .so format.

wine 1993

Windows emulator

Use the command line

Shortcut keys Ctrl + Alt + t to open a terminal

Just input terminal is responsible for providing a command interface only, run the command inside the terminal software does not return to resolve,
but to find a special command line program, this program commonly referred to as Shell.

May refer to interfaces, operating systems and graphical user interfaces is also a Shell Shell the broad sense.
Because of the nature of the graphical interface it is to achieve "the human user's operation intention relayed to the kernel."

Shell there are many, there are bash, csh, ksh, etc., have their own characteristics.
Full name bash Bourne Again Shell

csh   C Shell,

ksh full name Korn Shell bash born later than it

Where to find bash command procedures? It called the PATH environment variable, which records the path bash to find the program.
echo $ PATH can see.

$ Notation reference variables in the command. Export can set the variable
export the Test = "my_test_word"
echo $ the Test
my_test_word

If you do not write path, then go bash PATH in the directory to find, if you write the path, he would go directly to the development of path looking for.

Linux, in general, the current directory ---- that is, "./" is not in the PATH variable, so running the current binary file or script files in the directory,
but also need to add the path. For example setup.sh script running under the current directory, enter: ./ setup.sh.

Enter the real terminal + Alt + F1 Ctrl 
Ctrl + Alt + F7 to return graphical interface

The command line can use the "~" symbol represents the current user's home directory.

cd : Change Directory

Absolute and relative paths

Path is the absolute unity wherever you go from a fundamental position description.

TAB ---- important command completion function

Linux memory management system is to use as much memory, the memory space used for the cache. Thus the PATH bash traversal
path is not taken hard to read, but the process directly in memory.


history 20
displays the most recent 20 commands.


more or less ---- paging command display

ps -A
view of the current process

Shift + PageUP a page up key combination, Shift + PageDown key combination is Down

Shift + PageUP key combination using look up the number of pages by the buffer size limits. Modify the buffer size
need to recompile the kernel.

more is used to read a text command line software, he has paging function display.
He may be obtained from the data file or data stream, all the contents of the output shows a first level, the user presses the Enter key waiting, after the display of
two screens until complete unit content. Of course, users can also display full range midway Ministry press q to quit.

ps -A | more
which has a "|" symbol, this symbol is called the pipe character. This means that the symbol before the command outputting content to a later command
as a data input.

More features and less to achieve essentially the same, less powerful than more.

Guess you like

Origin blog.csdn.net/baiyibin0530/article/details/92843384