I originally wanted to directly look at the advanced programming in the UNIX environment and found that I still don't understand it. I just took a look at laruence's Private food!
All the books in the school have been borrowed. You can only read the electronic version.
Let's talk about some developments in Linux.
1. Two important ideas:
All programs or system installations are archives;
No matter whether the editor or ancillary files are built, the program has only one purpose: to effectively accomplish the goal;
2. BSD: Bill Joy, developer of Berkerley Software Distribution, started Sun;
3. Richard Mathew Stallman created gcc, BASHshell, Emacs, glibc;
4. Author of Linux: Linus Torvalds, a Finnish college student;
5. Advantages of GPL: good software security, high software execution efficiency, short software debugging time, and permanent contribution of original code;
6. Linux features:
Free and open, with low accessory requirements, powerful and stable functions, and independent operations;
Advantages: free or a little cost, high security, multi-task, multi-user, user-group planning, relatively low resource consumption system, suitable for embedded systems;
Disadvantage: there is no specific support provider, and the graphic interface is not good;
7. Linux applications:
Network servers, workstation computers, desktop computers, embedded systems;
Next is Terminal Configuration
System: Ubuntu10.10
Press Ctrl + Alt + F1 to go to the command terminal,
F1 ~ F6 is a command terminal and F7 is a graphical terminal;
You can log on to the terminal;
Then, Type ls to display all the files and folders in the current directory and find that the Chinese display is abnormal. Solution: Install zhcon.
1. Terminal sudo apt-get install zhcon;
2. Enter the command terminal, type zhcon -- utf8, and the display is normal;
3. Simplify the zhcon command and modify the. bashrc file,
Terminal-> sudo gedit. bashrc
Add alias zhcon = 'zhcon -- utf8 -- drv = fb ', save, and exit;
4. Restart and enter the command terminal. After logging on, enter zhcon.
Note:. bashrc is automatically loaded when bash is started. bash takes effect only when the user logs on to bash. If you want to log on to tty1 as the root user, it is estimated that the global bash has to be changed.
The author's left brain designs right brain Programming