Most viewed posts
Search
M
Linux Command: mv
mv [option] sources target
Move or rename files and directories. The source (first column) and target (second column) determine the result (third column).
Linux Command: mountd
rpc.mountd [options]
NFS/NIS command. NFS mount request server. mountd reads the file /etc/exports to determine which filesystems are available for
mounting by which machines. It also provides information about which filesystems are mounted by which clients. See also nfsd.
Linux Command: mount
mount [options] [[device] directory]
| $ mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/share | Mount a windows share |
| $ mount -o loop cdrom.iso /mnt/dir | Mount the cdrom image at /mnt/dir (read only) |
| $ mount | column -t | List mounted filesystems on the system (and align output) |
Linux Command: more
more [options] [files]
Display the named files on a terminal, one screenful at a time. See less for an alternative to more.
Linux Command: modprobe
modprobe [options] [modules] [moduleoptions]
System administration command. With no options, attempt to load the specified module, as well as all modules on which it depends. If
more than one module is specified, attempt to load further modules only if the previous module failed to load. When specifying a
module, use only its name without its path or trailing .o. modprobe will pass to the kernel any options following the module name.
Linux Command: modinfo
modinfo [options] object-file
System administration command. Print information about kernel module object-file. Information is read from tag names in the modinfo
section of the module file. By default, it will print the module’s filename, description, author, license, and parameters.
Linux Command: mktemp
mktemp [options] [template]
Generate a unique temporary filename for use in a script. The filename is based on the specified template, which may be any
filename with at least six Xs appended (e.g., /tmp/mytemp. XXXXXX). mktemp replaces the Xs with the current process
number and/or a unique letter combination. The file is created with mode 0600 (unless -u is specified), and the filename is written to
standard output. With no template specified, the default file tmp. XXXXXXXXXX is created.
Linux Command: mkswap
mkswap [options] device
System administration command. Prepare swapspace on device: a disk partition or a prepared file. This command can create old and
new style swap areas. The older style provides backward compatibility with 2.2 kernels, but is less efficient and more limited in size.
The mkswap command has some dangerous options we have omitted here. They provide backward compatibility and solutions to problems with older libraries, but can destroy a disk if specified incorrectly.
Linux Command: mknod
mknod [options] name type [major minor]
Create a special file (a file that can send or receive data). Special files can be character files (read one character at a time), block files
(read several characters at a time), or FIFO pipes (see mkfifo). To choose which type of device to create, use one of the following arguments: