Which stop does the high speed railway from Beijing to the cente
Publish: 2021-05-11 00:28:13
1. Beijing is the South Station of Beijing, and Tianjin is the new Tianjin station (and the original East Station of Tianjin and the old Longtou railway station).
Tianjin station is located in the center of Tianjin city, at the junction of Heping District, Hedong District and Hebei District of Tianjin, and on the Bank of Haihe River in the center of Tianjin
Beijing Tianjin Intercity High Speed Railway
stations along the line: Beijing South Railway Station, Yizhuang railway station, Yongle railway station (reserved), Wuqing railway station and Tianjin railway station
whole journey time: 29 minutes
fastest train speed: 350 km / h
whole journey mileage: 120 km
minimum Train Headway: 3 minutes
Tianjin station is located in the center of Tianjin city, at the junction of Heping District, Hedong District and Hebei District of Tianjin, and on the Bank of Haihe River in the center of Tianjin
Beijing Tianjin Intercity High Speed Railway
stations along the line: Beijing South Railway Station, Yizhuang railway station, Yongle railway station (reserved), Wuqing railway station and Tianjin railway station
whole journey time: 29 minutes
fastest train speed: 350 km / h
whole journey mileage: 120 km
minimum Train Headway: 3 minutes
2. ID: is the abbreviation of identity and identification, meaning: identity, or (login) account number
it is estimated that the ID in the wallet must be marked at the place where the card is inserted, which means the place where the ID card is put.
it is estimated that the ID in the wallet must be marked at the place where the card is inserted, which means the place where the ID card is put.
3. This is a small block in the blockchain and it is not recommended to delete it
4. Appointment is the work of many hospitals. Online and offline appointment is convenient for patients. Shenzhen Longhua obstetrics and Gynecology also has an appointment, can advance a few days, or a week according to their own schele, and appointment doctor, advance appointment, the appointment of the hospital will inform the information, a few months what time to wait, from time to time to see a doctor. The difference between those who make an appointment and those who don't make an appointment is that those who see the appointment only see those who don't have an appointment. Sometimes they don't see them all day. It's better to make an appointment to avoid wasting time.
5. Never go to Longhua people's hospital. Doctors have no medical ethics and no way to complain. Especially Zou Shuying, after a long period of pregnancy, you have to make up for it. If you don't check it completely, you won't be diagnosed. If there are special restrictions on laboratory tests, you won't be told. It's arrogant to let you run for nothing. Complaints on the phone even more horizontal, like to see or not with you
6. When using this structure and method,
& lt; sys/types.h>< br />
< sys/stat.h>
struct stat is used to describe the structure of file attributes in a Linux file system< There are two ways to get the attributes of a file:
1. Path:
int stat (const char * path, struct stat * struct)_ stat);< br />
int lstat(const char *path,struct stat *struct_ stat);
the first parameter of both functions is the path of the file, and the second parameter is the pointer to struct stat. The return value is 0, indicating successful execution
if the execution fails, error is automatically set to the following value:
ebadf: Invalid file descriptor
efault: the address space is not accessible
eloop: too many symbolic connections are encountered when traversing the path
enametooolong: the file path name is too long
enoent: some components of the path name do not exist, Or the path name is an empty string
enomem: out of memory
enotdir: some components of the path name are not directories
the difference between the two methods is that stat does not have the ability to handle character links (soft links). If a file is a symbolic link, stat will directly return the attributes of the file it points to; LSTAT returns
the content of the symbolic link. Here we need to explain the meaning of soft link and hard link. We know that the directory is also a file in Linux, and the content of the file is the corresponding relationship between all the
files in the directory and inode. So the so-called hard link is to associate a file name with an inode under a directory. In fact, it is to add a record! Soft link, also known as symbolic link, is simpler. The content of this file is a string, which is the absolute or relative address of the file it links to
2. Through the file descriptor
int fstat (int FDP, struct stat * struct)_ stat);// Get the attributes of the file through the file descriptor. FDP is the file descriptor
below is the structure of this structure
struct stat {
mode_ t st_ mode; // File corresponding mode, file, directory, etc.
ino_ t st_ ino; // Inode node number
dev_ t st_ dev; // Device number
dev_ t st_ rdev; // Special equipment number
nlink_ t st_ nlink; // Number of file connections
UID_ t st_ uid; // File owner
gid_ t st_ gid; // The group corresponding to the file owner
off_ t st_ size; // Ordinary file, the corresponding file byte number
time_ t st_ atime; // The last time the file was accessed
time_ t st_ mtime; // Last modified time of file content
time_ t st_ ctime; // File status change time
blksize_ t st_ blksize; // The block size corresponding to the file content
blkcnt_ t st_ blocks; // The number of blocks corresponding to Weijian content
}
st in stat structure_ Mode defines the following situations:
s_ Bit mask of ifmt 0170000 file type
s_ IFSOCK 0140000 scoket
S_ Iflnk 0120000 symbolic connection
s_ Ifreg 0100000 general document
s_ Ifblk 00600000 block device
s_ Ifdir 0040000 directory
s_ Ifchr 0020000 character device
s_ Ififo 0010000 FIFO
s_ (set user ID on execution) bit of isuid 04000 file
s_ (set group ID on execution) bit of isgid 02000 file
s_ The sticky bit of isvtx 01000 file
s_ IRUSR(S_ Iread) 00400 file owner has read permission
s_ IWUSR(S_ Iwrite) 00200 file owner has writable permission
s_ IXUSR(S_ Iexec) 00100 file owner has executable permission
s_ Irgrp 00040 user group has read permission
s_ Iwgrp 00020 user group has writable permission
s_ Ixgrp 00010 user group has executable permissions
s_ Iroth 00004 other users have read permissions
s_ Iwoth 00002 other users have write permission
s_ Other users of ixoth 00001 have executable permissions
the above file types are defined in POSIX to check the macro definition of these types:
s_ ISLNK (st_ Mode) to determine whether it is a symbolic connection
s_ ISREG (st_ Mode) is a general file
s_ ISDIR (st_ Mode) is the directory
s_ ISCHR (st_ Mode) is a character device file
s_ Is isblk (S3E) FIFO_ ISSOCK (st_ Mode) is socket
If a directory has a sticky bit (s)_ Isvtx) means that files in this directory can only be deleted or renamed by the owner of the file, the owner of the directory, or root. In Linux, this / tmp directory is the most typical one.
& lt; sys/types.h>< br />
< sys/stat.h>
struct stat is used to describe the structure of file attributes in a Linux file system< There are two ways to get the attributes of a file:
1. Path:
int stat (const char * path, struct stat * struct)_ stat);< br />
int lstat(const char *path,struct stat *struct_ stat);
the first parameter of both functions is the path of the file, and the second parameter is the pointer to struct stat. The return value is 0, indicating successful execution
if the execution fails, error is automatically set to the following value:
ebadf: Invalid file descriptor
efault: the address space is not accessible
eloop: too many symbolic connections are encountered when traversing the path
enametooolong: the file path name is too long
enoent: some components of the path name do not exist, Or the path name is an empty string
enomem: out of memory
enotdir: some components of the path name are not directories
the difference between the two methods is that stat does not have the ability to handle character links (soft links). If a file is a symbolic link, stat will directly return the attributes of the file it points to; LSTAT returns
the content of the symbolic link. Here we need to explain the meaning of soft link and hard link. We know that the directory is also a file in Linux, and the content of the file is the corresponding relationship between all the
files in the directory and inode. So the so-called hard link is to associate a file name with an inode under a directory. In fact, it is to add a record! Soft link, also known as symbolic link, is simpler. The content of this file is a string, which is the absolute or relative address of the file it links to
2. Through the file descriptor
int fstat (int FDP, struct stat * struct)_ stat);// Get the attributes of the file through the file descriptor. FDP is the file descriptor
below is the structure of this structure
struct stat {
mode_ t st_ mode; // File corresponding mode, file, directory, etc.
ino_ t st_ ino; // Inode node number
dev_ t st_ dev; // Device number
dev_ t st_ rdev; // Special equipment number
nlink_ t st_ nlink; // Number of file connections
UID_ t st_ uid; // File owner
gid_ t st_ gid; // The group corresponding to the file owner
off_ t st_ size; // Ordinary file, the corresponding file byte number
time_ t st_ atime; // The last time the file was accessed
time_ t st_ mtime; // Last modified time of file content
time_ t st_ ctime; // File status change time
blksize_ t st_ blksize; // The block size corresponding to the file content
blkcnt_ t st_ blocks; // The number of blocks corresponding to Weijian content
}
st in stat structure_ Mode defines the following situations:
s_ Bit mask of ifmt 0170000 file type
s_ IFSOCK 0140000 scoket
S_ Iflnk 0120000 symbolic connection
s_ Ifreg 0100000 general document
s_ Ifblk 00600000 block device
s_ Ifdir 0040000 directory
s_ Ifchr 0020000 character device
s_ Ififo 0010000 FIFO
s_ (set user ID on execution) bit of isuid 04000 file
s_ (set group ID on execution) bit of isgid 02000 file
s_ The sticky bit of isvtx 01000 file
s_ IRUSR(S_ Iread) 00400 file owner has read permission
s_ IWUSR(S_ Iwrite) 00200 file owner has writable permission
s_ IXUSR(S_ Iexec) 00100 file owner has executable permission
s_ Irgrp 00040 user group has read permission
s_ Iwgrp 00020 user group has writable permission
s_ Ixgrp 00010 user group has executable permissions
s_ Iroth 00004 other users have read permissions
s_ Iwoth 00002 other users have write permission
s_ Other users of ixoth 00001 have executable permissions
the above file types are defined in POSIX to check the macro definition of these types:
s_ ISLNK (st_ Mode) to determine whether it is a symbolic connection
s_ ISREG (st_ Mode) is a general file
s_ ISDIR (st_ Mode) is the directory
s_ ISCHR (st_ Mode) is a character device file
s_ Is isblk (S3E) FIFO_ ISSOCK (st_ Mode) is socket
If a directory has a sticky bit (s)_ Isvtx) means that files in this directory can only be deleted or renamed by the owner of the file, the owner of the directory, or root. In Linux, this / tmp directory is the most typical one.
7. Transportation guide
the bus stop near Longhua District People's Hospital in Shenzhen:
Longhua people's Hospital, Longhua Cultural Square, cultural square, Longhua Environmental Protection Institute, Cultural Square West, RT mart, Cultural Square West, Longhua Hospital, east ring 1st Road middle, xinbaocheng Hotel, Jinqiao Garden, shanzuitou, Donghe garden, Meili 365 garden, Meili 365 garden
buses near Longhua District People's Hospital in Shenzhen:
No.324, M282, m477, 324 section, no.612, m504, M505, m408, m421, 635, m393, m353, M225, m517, Shenguan 2, b792, m212, m264, m222, E9, M450, M211, k384, M233, M263, m392, b915, m424, E1 390, M401, etc
how much is it to take a taxi to Shenzhen Longhua District People's Hospital:
the starting price of a taxi in Shenzhen is 10.0 yuan, the starting distance is 2.0 km, 2.4 yuan per km, and the fuel surcharge is 3.0 yuan (no more than 2.0 km).
the bus stop near Longhua District People's Hospital in Shenzhen:
Longhua people's Hospital, Longhua Cultural Square, cultural square, Longhua Environmental Protection Institute, Cultural Square West, RT mart, Cultural Square West, Longhua Hospital, east ring 1st Road middle, xinbaocheng Hotel, Jinqiao Garden, shanzuitou, Donghe garden, Meili 365 garden, Meili 365 garden
buses near Longhua District People's Hospital in Shenzhen:
No.324, M282, m477, 324 section, no.612, m504, M505, m408, m421, 635, m393, m353, M225, m517, Shenguan 2, b792, m212, m264, m222, E9, M450, M211, k384, M233, M263, m392, b915, m424, E1 390, M401, etc
how much is it to take a taxi to Shenzhen Longhua District People's Hospital:
the starting price of a taxi in Shenzhen is 10.0 yuan, the starting distance is 2.0 km, 2.4 yuan per km, and the fuel surcharge is 3.0 yuan (no more than 2.0 km).
8. 1 file and directory operation command
1.1 file content query command grep, fgrep, egrep
syntax: grep [options] [search mode] [file name 1, file name 2,...]
Options:
- e each mode is treated as an extended regular expression
- f each mode is treated as a set of fixed strings, Instead of being a regular expression,
- I is not case sensitive when comparing,
- L displays the file name of the first matching string and separates it with a newline character. When the matching string appears many times in the file, the secondary file name is not displayed repeatedly<
- x only displays the whole line which is strictly matched
1.2 file search commands find and locate
syntax:
find start directory search condition operation to find all files whose file name matches the given string by name and file attribute
option: - name 'string', wildcards *,?, [] can be used in the string
- lname 'string' finds all the symbolic link files whose file name matches the given string. Wildcards *,?, [] can be used in the string
- GID n finds all files belonging to the user group with ID number n
- uid n finds all files belonging to the user with ID number n
- Group 'string' finds all the files belonging to the user group named the given string
- user 'string' finds all the files with the given string as the user name
- path 'string' finds all the files whose path name matches the given string. Wildcards *,?, [] can be used in the string
- perm permissions can be used to find files and directories with specified permissions, such as 711 and 644<
- type X to find a file of type X,
syntax: locate Related words
1.3 file Delete and move command file command
[options] source file or directory target file or directory
Options:
- a usually uses
- D when ing a directory to keep a connection
- F to delete an existing target file without mentioning the
- I and f options are opposite
- P in this case, CP will the content of the source file, If the given source file is a directory file, CP will recursively all the subdirectories and files in the directory, and the target file must be a directory name
- l do not , but link file file file move command
MV [options] source file or directory target file or directory
- I interactive operation
- f disable interactive operation file delete command
[options] file...
- f ignore nonexistent files, Never give a prompt
- R instructs RM to recursively delete all the directories and subdirectories listed in the parameter
- I to interactively delete 1.4 file link command
ln [option] target [link name] or LN [option] target directory
option:
- s to establish symbolic link
1.5 directory creation and deletion command MKDIR creation A directory
syntax: [options] dirname
Options: - M set access permissions on the new directory
- P can be a path name. At this time, if some directories in the path do not exist, the system will automatically create those directories that do not exist after adding this option, that is, multiple directories can be created at one time
rmdir delete empty directory
syntax: rmdir [options] dirname
Options:
- P recursively delete directory dirname. When a subdirectory is deleted and its parent directory is empty, it is also deleted
1.6 change the working directory and display the directory content command
1. Change the working directory: CD [directory]
2. Display the absolute path of the current working directory: PWD
3. Display the directory content: LS [options] [directory or file]
Options:
- A. display all subdirectories and files in the specified directory, Including hidden files<
- C is sorted according to the modification time of files
- C is divided into multiple columns to display each item
- D if the parameter is a directory, only its name is displayed instead of its next files
- F is marked with '/' after the directory name, '*' after the executable file, '@' after the symbolic link, and '|' after the pipeline (or FIFO), The socket file is marked with "="
- L displays the details of the file in long format
- L if the specified name is a symbolic link, the file pointed to by the link is displayed
- t when displayed, the file is sorted by modification time instead of name
- u when displayed, the file is sorted by last access time instead of name
4 The command Chmod [who] [+ | - | =] [mode] is used to change the access rights of a file or directory
who options:
- U means user, That is, the owner of the file and directory
- G represents the same group of users
- O (other) represents other users
- A (all) represents all users
operation symbol: + add a permission - cancel a permission = give a given permission and cancel all other permissions (if any)
mode option:
- R readable
- W writable
- x executable chgrp [- R] group file name? Change the group to which the directory or file belongs
chown [- RV] user or group file
1.7 backup and compression command
1. Tar command creates files for files and directories. Syntax:
tar [main options + auxiliary options] file or directory: u main options
- C creates new files. If the user wants to back up a directory or some files, select
- r to append the files to be archived to the end of the archive file
- t to list the contents of the archive file and check which files have been backed up
- U update file
- x release file from archive file
- U auxiliary options
- B this option is set for the tape drive, followed by a digit to indicate the size of the block. The system default value is 20
- f use file or device. This option is usually required
- K to save the existing file. For example, if a file is restored, the same file will not be covered in the process of restoration
- m when restoring files, set the modification time of all files to now
- M create multi volume files for storage on several disks<
- V detailed report tar processing file information
- W each step requires confirmation
- Z use gzip to compress / decompress files
2. Gzip command compress / decompress command
syntax: gzip [option] compress (decompress) file name
option:
- C write output to standard output, And keep the original file
- D decompress the compressed file
- L display the details of each compressed file
- R recursively search the specified directory and compress all the files in it or decompress
- t test and check whether the compressed file is complete
- V for each compressed and decompressed file, Display the file name and compression ratio
3. Unzip command expands the compressed file in Linux system with MS Windows compression software winzip
syntax: unzip [option] compressed file name. Zip
option: - x file list to extract the file, but does not include the specified file
- V view the compressed file directory, But do not decompress
- t to test whether the file is damaged, but do not decompress the
- D directory to decompress the compressed file to the specified directory
- Z only displays the annotation of the compressed file
- N does not cover the existing file
- O covers the existing file and does not require the user to confirm that
- J does not rebuild the directory structure of the document, Decompress all files to the same directory
1.8 run DOS command in Linux environment. Linux system provides a set of portable tools called mtools, which can make users easily read and write files and directories from standard DOS floppy disk
MCD directory name changes MSDOS directory M source file target file to files between MSDOS and UNIX
mdel directory name delete MSDOS directory mdir directory name display MSDOS directory mformat drive letter create MSDOS file system rnlabel drive letter generate MSDOS volume label MMD directory name delete MSDOS directory mren source file target file rename existing MSDOS file mtype file name display MSDOS file content
2 device Management command
1) Linux defines an IDE hard disk in the following form: / dev / HD [drive] [partition]
2) SCSI hard disk is represented by the same mechanism: / dev / SD [drive] [partition]
3) for general Linux partition, mkfs can be used to format it and generate a file system. The command is as follows: mk2fs – C
4) mount file system:
mount – t ext2 [- O optims] partition mountpion, where
- t is the type of the specified mount file system
- O specify some options, such as read-only RO, read-write RW, etc; Partition defines the partition name; Mountpion defines the name of the directory where the file system is mounted
5) mount CD-ROM file system: Mount – t iso9660 – R / dev / CDROM / MNT / CDROM
6) mount floppy drive file system: Code: [ to clipboard] mount – t MSDOS – RW / dev / fd0 / dev / MNT / Floppy
7) uninstall file system: Code: [ to clipboard] umount / MNT / CDROM tape device installation should pay attention to the following points:
1 First, select a unique SCSI ID number, and then link the device to the appropriate location
2. Select the driver
3. Generate device files. The primary device number of a SCSI tape device is 9 and the secondary device number is 0. The device file name is usually / dev / nrst0 (tape device that does not support rewinding) or / dev / nst0 (tape device that supports rewinding). LS / dev / * RST * is used to check whether the tape device file exists. If not, mknod – m 666 / dev / nrst0 C9 mknod – m 666 / dev / rst0 C90 is used to generate
4 For example, MT setblk 20 specifies the block length as 20, and MT setblk 0 specifies that there is no limit on the block degree.
5. By checking the startup information of the system, it can be determined whether the system recognizes a new tape device. Use the dmesg command to check whether there is the following similar information: aha274x: target 4Now synchronous at 4.4mb/s V endor:TANDBERG Model :TDC 3800 Rev: =05: Type: Sequential-Access ANSI SCSI revision: 02 Detected scsi tape st0 at scsi0, id4, Lun0 SCSI: detected 1 SCSI tape 1 SCSI CROM 1 SCSI disk total
3 package management command
3.1 software installation steps: the steps of installing software on Linux system are as follows:
1. Find the source file of the software to be installed
2. Open the source file to a directory
1.1 file content query command grep, fgrep, egrep
syntax: grep [options] [search mode] [file name 1, file name 2,...]
Options:
- e each mode is treated as an extended regular expression
- f each mode is treated as a set of fixed strings, Instead of being a regular expression,
- I is not case sensitive when comparing,
- L displays the file name of the first matching string and separates it with a newline character. When the matching string appears many times in the file, the secondary file name is not displayed repeatedly<
- x only displays the whole line which is strictly matched
1.2 file search commands find and locate
syntax:
find start directory search condition operation to find all files whose file name matches the given string by name and file attribute
option: - name 'string', wildcards *,?, [] can be used in the string
- lname 'string' finds all the symbolic link files whose file name matches the given string. Wildcards *,?, [] can be used in the string
- GID n finds all files belonging to the user group with ID number n
- uid n finds all files belonging to the user with ID number n
- Group 'string' finds all the files belonging to the user group named the given string
- user 'string' finds all the files with the given string as the user name
- path 'string' finds all the files whose path name matches the given string. Wildcards *,?, [] can be used in the string
- perm permissions can be used to find files and directories with specified permissions, such as 711 and 644<
- type X to find a file of type X,
syntax: locate Related words
1.3 file Delete and move command file command
[options] source file or directory target file or directory
Options:
- a usually uses
- D when ing a directory to keep a connection
- F to delete an existing target file without mentioning the
- I and f options are opposite
- P in this case, CP will the content of the source file, If the given source file is a directory file, CP will recursively all the subdirectories and files in the directory, and the target file must be a directory name
- l do not , but link file file file move command
MV [options] source file or directory target file or directory
- I interactive operation
- f disable interactive operation file delete command
[options] file...
- f ignore nonexistent files, Never give a prompt
- R instructs RM to recursively delete all the directories and subdirectories listed in the parameter
- I to interactively delete 1.4 file link command
ln [option] target [link name] or LN [option] target directory
option:
- s to establish symbolic link
1.5 directory creation and deletion command MKDIR creation A directory
syntax: [options] dirname
Options: - M set access permissions on the new directory
- P can be a path name. At this time, if some directories in the path do not exist, the system will automatically create those directories that do not exist after adding this option, that is, multiple directories can be created at one time
rmdir delete empty directory
syntax: rmdir [options] dirname
Options:
- P recursively delete directory dirname. When a subdirectory is deleted and its parent directory is empty, it is also deleted
1.6 change the working directory and display the directory content command
1. Change the working directory: CD [directory]
2. Display the absolute path of the current working directory: PWD
3. Display the directory content: LS [options] [directory or file]
Options:
- A. display all subdirectories and files in the specified directory, Including hidden files<
- C is sorted according to the modification time of files
- C is divided into multiple columns to display each item
- D if the parameter is a directory, only its name is displayed instead of its next files
- F is marked with '/' after the directory name, '*' after the executable file, '@' after the symbolic link, and '|' after the pipeline (or FIFO), The socket file is marked with "="
- L displays the details of the file in long format
- L if the specified name is a symbolic link, the file pointed to by the link is displayed
- t when displayed, the file is sorted by modification time instead of name
- u when displayed, the file is sorted by last access time instead of name
4 The command Chmod [who] [+ | - | =] [mode] is used to change the access rights of a file or directory
who options:
- U means user, That is, the owner of the file and directory
- G represents the same group of users
- O (other) represents other users
- A (all) represents all users
operation symbol: + add a permission - cancel a permission = give a given permission and cancel all other permissions (if any)
mode option:
- R readable
- W writable
- x executable chgrp [- R] group file name? Change the group to which the directory or file belongs
chown [- RV] user or group file
1.7 backup and compression command
1. Tar command creates files for files and directories. Syntax:
tar [main options + auxiliary options] file or directory: u main options
- C creates new files. If the user wants to back up a directory or some files, select
- r to append the files to be archived to the end of the archive file
- t to list the contents of the archive file and check which files have been backed up
- U update file
- x release file from archive file
- U auxiliary options
- B this option is set for the tape drive, followed by a digit to indicate the size of the block. The system default value is 20
- f use file or device. This option is usually required
- K to save the existing file. For example, if a file is restored, the same file will not be covered in the process of restoration
- m when restoring files, set the modification time of all files to now
- M create multi volume files for storage on several disks<
- V detailed report tar processing file information
- W each step requires confirmation
- Z use gzip to compress / decompress files
2. Gzip command compress / decompress command
syntax: gzip [option] compress (decompress) file name
option:
- C write output to standard output, And keep the original file
- D decompress the compressed file
- L display the details of each compressed file
- R recursively search the specified directory and compress all the files in it or decompress
- t test and check whether the compressed file is complete
- V for each compressed and decompressed file, Display the file name and compression ratio
3. Unzip command expands the compressed file in Linux system with MS Windows compression software winzip
syntax: unzip [option] compressed file name. Zip
option: - x file list to extract the file, but does not include the specified file
- V view the compressed file directory, But do not decompress
- t to test whether the file is damaged, but do not decompress the
- D directory to decompress the compressed file to the specified directory
- Z only displays the annotation of the compressed file
- N does not cover the existing file
- O covers the existing file and does not require the user to confirm that
- J does not rebuild the directory structure of the document, Decompress all files to the same directory
1.8 run DOS command in Linux environment. Linux system provides a set of portable tools called mtools, which can make users easily read and write files and directories from standard DOS floppy disk
MCD directory name changes MSDOS directory M source file target file to files between MSDOS and UNIX
mdel directory name delete MSDOS directory mdir directory name display MSDOS directory mformat drive letter create MSDOS file system rnlabel drive letter generate MSDOS volume label MMD directory name delete MSDOS directory mren source file target file rename existing MSDOS file mtype file name display MSDOS file content
2 device Management command
1) Linux defines an IDE hard disk in the following form: / dev / HD [drive] [partition]
2) SCSI hard disk is represented by the same mechanism: / dev / SD [drive] [partition]
3) for general Linux partition, mkfs can be used to format it and generate a file system. The command is as follows: mk2fs – C
4) mount file system:
mount – t ext2 [- O optims] partition mountpion, where
- t is the type of the specified mount file system
- O specify some options, such as read-only RO, read-write RW, etc; Partition defines the partition name; Mountpion defines the name of the directory where the file system is mounted
5) mount CD-ROM file system: Mount – t iso9660 – R / dev / CDROM / MNT / CDROM
6) mount floppy drive file system: Code: [ to clipboard] mount – t MSDOS – RW / dev / fd0 / dev / MNT / Floppy
7) uninstall file system: Code: [ to clipboard] umount / MNT / CDROM tape device installation should pay attention to the following points:
1 First, select a unique SCSI ID number, and then link the device to the appropriate location
2. Select the driver
3. Generate device files. The primary device number of a SCSI tape device is 9 and the secondary device number is 0. The device file name is usually / dev / nrst0 (tape device that does not support rewinding) or / dev / nst0 (tape device that supports rewinding). LS / dev / * RST * is used to check whether the tape device file exists. If not, mknod – m 666 / dev / nrst0 C9 mknod – m 666 / dev / rst0 C90 is used to generate
4 For example, MT setblk 20 specifies the block length as 20, and MT setblk 0 specifies that there is no limit on the block degree.
5. By checking the startup information of the system, it can be determined whether the system recognizes a new tape device. Use the dmesg command to check whether there is the following similar information: aha274x: target 4Now synchronous at 4.4mb/s V endor:TANDBERG Model :TDC 3800 Rev: =05: Type: Sequential-Access ANSI SCSI revision: 02 Detected scsi tape st0 at scsi0, id4, Lun0 SCSI: detected 1 SCSI tape 1 SCSI CROM 1 SCSI disk total
3 package management command
3.1 software installation steps: the steps of installing software on Linux system are as follows:
1. Find the source file of the software to be installed
2. Open the source file to a directory
9. READ MORE
Hot content