In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you what are the tips for beginners using Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
1. Use the virtual console
After logging in, press Alt F2 and you will see the "login:" prompt, which is the second virtual console. Generally, a newly installed Linux has four virtual consoles that can be accessed with Alt F1~Alt F4. The virtual console is most useful when a program fails to lock the input and can switch to another virtual console to log in and kill the error process.
two。 Copy and paste
Character interface: whether it is Slackware or RedHat, every time you start after installation, you will automatically run a program called gpm, which can be copied and pasted with the mouse. The specific method is to press and hold the left mouse button and drag to make the place to be copied. At this time, the area of the contrast has been copied, and then the content copied by pressing the right mouse button will be pasted at the location of the cursor. ..
X-Window: copy operation and character interface is the same, three-button mouse press paste, two-button mouse at the same time press the left and right keys to paste (must be in the configuration of XF86 in the mouse configuration to select Emulate 3 Button).
3. Quickly enter some directories
Type cd~ to enter the user's home directory.
Type cd- to enter the last directory you entered.
4. Use of floppy driv
If it is Linux's ext2 documentation system, use the following command: # mount-t ext2 / dev/fd0 / mnt
Floppy disks in dos format use the command: # mount-t msdos / dev/fd0 / mnt
Then you can access the contents of the floppy disk in / mnt. Be careful to remove the document system from the floppy disk before removing the floppy disk, # umount / mnt, otherwise it will cause information loss. The following commands are available to establish a documentation system on a floppy disk: # mke2fs / dev/fd0 1440
Display color catalogue list under 5.RedHat
Open / etc/bashrc and add the following line: alias ls= "ls-- color"
The next time you start bash, you will be able to display a color list of directories as in Slackware, where the meaning of the color is as follows:
Blue-- > directory
Green-- > executable document
Red-> compress the document
Light blue-- > linked document
Gray-> other documents
6. Displays the type of document
With the command file can let you know whether a document is an executable document in ELF format, or an shell script document or some other format of successful life, you need to manage by yourself, stop saying it, don't wait any longer, plan your life now, light up a bright light for life, and win at the starting point of life.
For example: # file startx
7. Path to the command document
When you type commands such as find,shutdown,mount,startx, do you want to know which directory these documents are in? It can be achieved with the command whereis, such as # whereis startx
8. Find a document
The find command takes some parameters to find the document, such as # find / usr-name XF86Setup-print to find the document XF86Setup in / usr.
9. Delete useless core documents
When the program runs, it sometimes produces a document called core, which is generally large and useless and can be deleted to free up space.
10. Unlock the .tar.gz document at once
To unlock .tar.gz documents, you generally need to decompress them with gunzip and then unpack them with tar, which can be done at once under Linux, such as # tar zxpvf sample.tar.gz
11. Displays the long document name in the win95 partition
If you find that the long document in the win95 partition cannot be displayed, you can re-use vfat to mount. For partitions that are mount at startup, you can modify the document / etc/fstab by changing the word msdos to vfat. If you can't use vfat mount, recompile the core to add support for vfat.
Norton Commander in 12.Linux
After typing the command mc at the prompt, you will see an interface that is very similar to Norton Commander, with similar or even more powerful functions, such as the ability to directly manipulate documents in a .tar.gz package (a bit like ZipMagic). Copyright notice: all articles on this site are from the Internet, and all articles reprinted on this site do not represent the views of this site.
13. Go directly to X after startup
Edit the / etc/inittab document and change id:3:initdefautl to id:4:initdefautl. But there may be some problems with the search path, so when you shut down, you have to go directly to / sbin to execute shutdown.
14. Run X program in the background
Don't forget to add an & sign to the end of an X program, such as # netscape & otherwise you will no longer be able to enter commands in that terminal window before you launch the running program.
15. Forcibly exit X
Sometimes in X, due to program errors, the mouse and keyboard don't work, so don't worry, because you rarely crash as viciously in Linux as in Win95, you just type the Ctrl Alt BackSpace key and you can go back to the character interface.
Thank you for reading! This is the end of this article on "what are the skills for beginners to use Linux?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.