1000 Linux FAQs

Source: Internet
Author: User


1. How to create multiple users
Don't keep using the root user because the root user has the highest power in the system, so be careful.
The system may be damaged. For example, if we want to delete the files in the/TEMP directory, we accidentally input the command into "RM/temp (after '/',
An extra space), it is very likely to delete all the files in the root directory. In addition, "Linux is a real
Task, multi-user system ", do not understand the characteristics of Linux is not a pity. In Linux
Create more users.
Enter "adduser newuser" and press Enter. The screen does not respond to the command. Is it wrong? No, actually, the system has accepted
New User.
You should enter the command "passwd newuser", the screen will prompt you to enter the password, enter again to confirm, a new user will add
Added successfully,
It's really simple. Log on right away and try it.
Linux provides six virtual consoles, with ALT + F1 ~ F6 switchover (use crtl + ALT + F1 ~ in X-Window ~ F6 switch ),
Each console can
To log on with different users and run different Program . Create a user for your family and friends.

Ii. How to use non-Linux partitions such as floppy disks, CDs, and DoS in Linux
This is the most frequently asked question for Linux beginners. As you are used to Microsoft's access methods, you always want to use similar ideas
To a floppy disk or a CD.
However, in Linux, Unix Composition Processing Method. Therefore, to access a floppy disk and a CD, you must first
They load
To the/mnt directory of the Linux system.
The mount command is in the following format: Mount-T File System-type device name Mount directory
The file system type is the partition format. Linux supports many file system types:
Msdos partition file system type
Vfat supports DOS partition files with long file names (which can be understood as Windows files) System Types
File System Type of the iso660 Optical Disc
Ext2 Linux File System Type
......
Device Name: the name of the device you want to load. The floppy disk is usually/dev/fd0 fd1. The disk is based on the location of your optical drive.
To decide,
The drive is usually mounted to the master disk of the second hard disk at/dev/HDC. If you are accessing the DOS partition, the device name is listed,
For example,/dev/hda1 indicates the first partition of the first hard disk. The Mount directory is the load point of the specified device.
1. mount a floppy disk
First, use mkdir/mnt/floppy to create an empty floppy directory under the/mnt directory, and then enter:
Mount-T msdos/dev/fd0/mnt/Floppy mount a floppy disk in the DOS file format.
In the/mnt/Floppy directory
Find all the content of this floppy disk.
2. Load the drive C of Windows
Mkdir/mnt/C create an empty C directory under the/mnt directory;
Mount-T vfat/dev/hda1/mnt/C: load the C drive of windows to the/mnt/C directory in the format of long file names,
Later in this directory
To read and write the content in the root directory of the C drive.
3. Attach a cd
Mkdir/mnt/CDROM create an empty CDROM directory under the/mnt directory;
Mount-T iso9660/dev/HDC/mnt/CDROM to load the CD to the file system, which will be in the/mnt/CDROM directory.
Find the disc
. In some Linux versions, you can use the Mount/dev/CDROM or Mount/mnt/CDROM command to mount the disc.
Note that the mount command is used to mount a floppy disk or a CD, rather than a floppy disk or an optical drive. Some beginners are easy to make
Something wrong.
After the above command, the soft drive will become/mnt/floppy, and the optical drive will become/mnt/CDROM. In fact, it is not, when you want to change a disk or soft
Disk, certain
You must detach the disk and then reload the new disk.
4. Uninstall
Command Format: umonut directory name. For example, to detach a floppy disk, enter the command umonut/mnt/floppy. Note:
Yes, in
Directly press the pop-up key on the optical drive panel before detaching the disc.

3. How to install linux Application Software
For common users, you can install or upgrade software by using Red Hat software package and management tool rpm. After use, you can easily install
Software, upgrade software, uninstall software, and query software information.
If you are installing Red Hat Linux, you can use rpm. If not, you can install RPM first. The method is as follows:
1. Download RPM software package: ftp://ftp.redhat.com/pub/code/rpm/rpm-2.3.11.tar.gz
2. In linu ?? Parameters ????

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.