⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usage.h

📁 这是一个SIGMA方案的PMP播放器的UCLINUX程序,可播放DVD,VCD,CD MP3...有很好的参考价值.
💻 H
📖 第 1 页 / 共 5 页
字号:
#define mkdir_full_usage \	"Create the DIRECTORY(ies) if they do not already exist\n\n" \	"Options:\n" \	"\t-m\tset permission mode (as in chmod), not rwxrwxrwx - umask\n" \	"\t-p\tno error if existing, make parent directories as needed"#define mkdir_example_usage \	"$ mkdir /tmp/foo\n" \	"$ mkdir /tmp/foo\n" \	"/tmp/foo: File exists\n" \	"$ mkdir /tmp/foo/bar/baz\n" \	"/tmp/foo/bar/baz: No such file or directory\n" \	"$ mkdir -p /tmp/foo/bar/baz\n" #define mkfifo_trivial_usage \	"[OPTIONS] name"#define mkfifo_full_usage \	"Creates a named pipe (identical to 'mknod name p')\n\n" \	"Options:\n" \	"\t-m\tcreate the pipe using the specified mode (default a=rw)"#define mkfs_minix_trivial_usage \	"[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]"#define mkfs_minix_full_usage \	"Make a MINIX filesystem.\n\n" \	"Options:\n" \	"\t-c\t\tCheck the device for bad blocks\n" \	"\t-n [14|30]\tSpecify the maximum length of filenames\n" \	"\t-i INODES\tSpecify the number of inodes for the filesystem\n" \	"\t-l FILENAME\tRead the bad blocks list from FILENAME\n" \	"\t-v\t\tMake a Minix version 2 filesystem"#define mknod_trivial_usage \	"[OPTIONS] NAME TYPE MAJOR MINOR"#define mknod_full_usage \	"Create a special file (block, character, or pipe).\n\n" \	"Options:\n" \	"\t-m\tcreate the special file using the specified mode (default a=rw)\n\n" \	"TYPEs include:\n" \	"\tb:\tMake a block (buffered) device.\n" \	"\tc or u:\tMake a character (un-buffered) device.\n" \	"\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes."#define mknod_example_usage \	"$ mknod /dev/fd0 b 2 0 \n" \	"$ mknod -m 644 /tmp/pipe p\n" #define mkswap_trivial_usage \	"[-c] [-v0|-v1] device [block-count]"#define mkswap_full_usage \	"Prepare a disk partition to be used as a swap partition.\n\n" \	"Options:\n" \	"\t-c\t\tCheck for read-ability.\n" \	"\t-v0\t\tMake version 0 swap [max 128 Megs].\n" \	"\t-v1\t\tMake version 1 swap [big!] (default for kernels >\n\t\t\t2.1.117).\n" \	"\tblock-count\tNumber of block to use (default is entire partition)."#define mktemp_trivial_usage \	"[-q] TEMPLATE"#define mktemp_full_usage \	"Creates a temporary file with its name based on TEMPLATE.\n" \	"TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX)."#define mktemp_example_usage \	"$ mktemp /tmp/temp.XXXXXX\n" \	"/tmp/temp.mWiLjM\n" \	"$ ls -la /tmp/temp.mWiLjM\n" \	"-rw-------    1 andersen andersen        0 Apr 25 17:10 /tmp/temp.mWiLjM\n" #define modprobe_trivial_usage \	"[FILE ...]"#define modprobe_full_usage \	"Used for high level module loading and unloading."#define modprobe_example_usage \	"$ modprobe cdrom\n" #define more_trivial_usage \	"[FILE ...]"#define more_full_usage \	"More is a filter for viewing FILE one screenful at a time."#define more_example_usage \	"$ dmesg | more\n" #ifdef CONFIG_FEATURE_MOUNT_LOOP  #define USAGE_MOUNT_LOOP(a) a#else  #define USAGE_MOUNT_LOOP(a)#endif#ifdef CONFIG_FEATURE_MTAB_SUPPORT  #define USAGE_MTAB(a) a#else  #define USAGE_MTAB(a)#endif#define mount_trivial_usage \	"[flags] DEVICE NODE [-o options,more-options]"#define mount_full_usage \	"Mount a filesystem\n\n" \	"Flags:\n"  \	"\t-a:\t\tMount all filesystems in fstab.\n" \	USAGE_MTAB( \	"\t-f:\t\t\"Fake\" Add entry to mount table but don't mount it.\n" \	"\t-n:\t\tDon't write a mount table entry.\n" \	) \	"\t-o option:\tOne of many filesystem options, listed below.\n" \	"\t-r:\t\tMount the filesystem read-only.\n" \	"\t-t fs-type:\tSpecify the filesystem type.\n" \	"\t-w:\t\tMount for reading and writing (default).\n" \	"\n" \	"Options for use with the \"-o\" flag:\n" \	"\tasync/sync:\tWrites are asynchronous / synchronous.\n" \	"\tatime/noatime:\tEnable / disable updates to inode access times.\n" \	"\tdev/nodev:\tAllow use of special device files / disallow them.\n" \	"\texec/noexec:\tAllow use of executable files / disallow them.\n" \	USAGE_MOUNT_LOOP( \	"\tloop:\t\tMounts a file via loop device.\n" \	) \	"\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" \	"\tremount:\tRe-mount a mounted filesystem, changing its flags.\n" \	"\tro/rw:\t\tMount for read-only / read-write.\n" \	"\tbind:\t\tUse the linux 2.4.x \"bind\" feature.\n" \	"\nThere are EVEN MORE flags that are specific to each filesystem.\n" \	"You'll have to see the written documentation for those filesystems."#define mount_example_usage \	"$ mount\n" \	"/dev/hda3 on / type minix (rw)\n" \	"proc on /proc type proc (rw)\n" \	"devpts on /dev/pts type devpts (rw)\n" \	"$ mount /dev/fd0 /mnt -t msdos -o ro\n" \	"$ mount /tmp/diskimage /opt -t ext2 -o loop\n" #define mt_trivial_usage \	"[-f device] opcode value"#define mt_full_usage \	"Control magnetic tape drive operation\n" \	"\nAvailable Opcodes:\n\n" \	"bsf bsfm bsr bss datacompression drvbuffer eof eom erase\n" \	"fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2\n" \	"ras3 reset retension rew rewoffline seek setblk setdensity\n" \	"setpart tell unload unlock weof wset"#define mv_trivial_usage \	"SOURCE DEST\n" \	"or: mv SOURCE... DIRECTORY"#define mv_full_usage \	"Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY."#define mv_example_usage \	"$ mv /tmp/foo /bin/bar\n" #define nc_trivial_usage \	"[OPTIONS] [IP] [port]" #define nc_full_usage \	"Netcat opens a pipe to IP:port\n\n" \	"Options:\n" \	"\t-l\t\tlisten mode, for inbound connects\n" \	"\t-p PORT\t\tlocal port number\n" \	"\t-i SECS\t\tdelay interval for lines sent\n" \	"\t-e PROG\t\tprogram to exec after connect (dangerous!)"#define nc_example_usage \	"$ nc foobar.somedomain.com 25\n" \	"220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600\n" \	"help\n" \	"214-Commands supported:\n" \	"214-    HELO EHLO MAIL RCPT DATA AUTH\n" \	"214     NOOP QUIT RSET HELP\n" \	"quit\n" \	"221 foobar closing connection\n" #define netstat_trivial_usage \	"[-laenrtuwx]"#define netstat_full_usage \	"-l display listening server sockets\n" \	"-a display all sockets (default: connected)\n" \	"-e display other/more information\n" \	"-n don't resolve names\n" \	"-r display routing table\n" \	"-t tcp sockets\n" \	"-u udp sockets\n" \	"-w raw sockets\n" \	"-x unix sockets\n"#define nslookup_trivial_usage \	"[HOST] [SERVER]"#define nslookup_full_usage \	"Queries the nameserver for the IP address of the given HOST\n" \	"optionally using a specified DNS server"#define nslookup_example_usage \	"$ nslookup localhost\n" \	"Server:     default\n" \	"Address:    default\n" \	"\n" \	"Name:       debian\n" \	"Address:    127.0.0.1\n" #define od_trivial_usage \	"[-aBbcDdeFfHhIiLlOovXx] [FILE]"#define od_full_usage \	"Write an unambiguous representation, octal bytes by default, of FILE\n"\	"to standard output.  With no FILE, or when FILE is -, read standard input."#ifdef CONFIG_FEATURE_SHA1_PASSWORDS  #define PASSWORD_ALG_TYPES(a) a#else     #define PASSWORD_ALG_TYPES(a)#endif#define passwd_trivial_usage \	"[OPTION] [name]"#define passwd_full_usage \	"CChange a user password. If no name is specified,\n" \	"changes the password for the current user.\n" \	"Options:\n" \	"\t-a\tDefine which algorithm shall be used for the password.\n" \	"\t\t\t(Choices: des, md5" \	PASSWORD_ALG_TYPES(", sha1") \	")\n\t-d\tDelete the password for the specified user account.\n" \	"\t-l\tLocks (disables) the specified user account.\n" \	"\t-u\tUnlocks (re-enables) the specified user account."#define pidof_trivial_usage \	"process-name [process-name ...]"#define pidof_full_usage \	"Lists the PIDs of all processes with names that match the names on the command line"#define pidof_example_usage \	"$ pidof init\n" \	"1\n"#ifndef CONFIG_FEATURE_FANCY_PING#define ping_trivial_usage "host"#define ping_full_usage    "Send ICMP ECHO_REQUEST packets to network hosts"#else#define ping_trivial_usage \	"[OPTION]... host"#define ping_full_usage \	"Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \	"Options:\n" \	"\t-c COUNT\tSend only COUNT pings.\n" \	"\t-s SIZE\t\tSend SIZE data bytes in packets (default=56).\n" \	"\t-q\t\tQuiet mode, only displays output at start\n" \	"\t\t\tand when finished."#endif#define ping_example_usage \	"$ ping localhost\n" \	"PING slag (127.0.0.1): 56 data bytes\n" \	"64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=20.1 ms\n" \	"\n" \	"--- debian ping statistics ---\n" \	"1 packets transmitted, 1 packets received, 0% packet loss\n" \	"round-trip min/avg/max = 20.1/20.1/20.1 ms\n" #ifndef CONFIG_FEATURE_FANCY_PING6#define ping6_trivial_usage "host"#define ping6_full_usage    "Send ICMP ECHO_REQUEST packets to network hosts"#else#define ping6_trivial_usage \	"[OPTION]... host"#define ping6_full_usage \	"Send ICMP ECHO_REQUEST packets to network hosts.\n\n" \	"Options:\n" \	"\t-c COUNT\tSend only COUNT pings.\n" \	"\t-s SIZE\t\tSend SIZE data bytes in packets (default=56).\n" \	"\t-q\t\tQuiet mode, only displays output at start\n" \	"\t\t\tand when finished."#endif#define ping6_example_usage \	"$ ping6 ip6-localhost\n" \	"PING ip6-localhost (::1): 56 data bytes\n" \	"64 bytes from ::1: icmp6_seq=0 ttl=64 time=20.1 ms\n" \	"\n" \	"--- ip6-localhost ping statistics ---\n" \	"1 packets transmitted, 1 packets received, 0% packet loss\n" \	"round-trip min/avg/max = 20.1/20.1/20.1 ms\n" #define pivot_root_trivial_usage \	"NEW_ROOT PUT_OLD"#define pivot_root_full_usage \	"Move the current root file system to PUT_OLD and make NEW_ROOT\n" \	"the new root file system."#define poweroff_trivial_usage \	""#define poweroff_full_usage \	"Halt the system and request that the kernel shut off the power."#define printf_trivial_usage \	"FORMAT [ARGUMENT...]"#define printf_full_usage \	"Formats and prints ARGUMENT(s) according to FORMAT,\n" \	"Where FORMAT controls the output exactly as in C printf."#define printf_example_usage \	"$ printf "Val=%d\\n" 5\n" \	"Val=5\n" #define ps_trivial_usage \	""#define ps_full_usage \	"Report process status\n" \	"\nThis version of ps accepts no options."#define ps_example_usage \	"$ ps\n" \	"  PID  Uid      Gid State Command\n" \	"    1 root     root     S init\n" \	"    2 root     root     S [kflushd]\n" \	"    3 root     root     S [kupdate]\n" \	"    4 root     root     S [kpiod]\n" \	"    5 root     root     S [kswapd]\n" \	"  742 andersen andersen S [bash]\n" \	"  743 andersen andersen S -bash\n" \	"  745 root     root     S [getty]\n" \	" 2990 andersen andersen R ps\n"#define pwd_trivial_usage \	""#define pwd_full_usage \	"Print the full filename of the current working directory."#define pwd_example_usage \	"$ pwd\n" \	"/root\n"#define rdate_trivial_usage \	"[OPTION] HOST"#define rdate_full_usage \	"Get and possibly set the system date and time from a remote HOST.\n\n" \	"Options:\n" \	"\t-s\tSet the system date and time (default).\n" \	"\t-p\tPrint the date and time."#define readlink_trivial_usage \	""#define readlink_full_usage \	"Read a symbolic link."#define reboot_trivial_usage \	""#define reboot_full_usage \	"Reboot the system."#define renice_trivial_usage \	"priority pid [pid ...]"#define renice_full_usage \	"Changes priority of running processes. Allowed priorities range\n" \	"from 20 (the process runs only when nothing else is running) to 0\n" \	"(default priority) to -20 (almost nothing else ever gets to run)."#define reset_trivial_usage \	""#define reset_full_usage \	"Resets the screen."#define rm_trivial_usage \	"[OPTION]... FILE..."#define rm_full_usage \	"Remove (unlink) the FILE(s).  You may use '--' to\n" \	"indicate that all following arguments are non-options.\n\n" \	"Options:\n" \	"\t-i\t\talways prompt before removing each destination" \	"\t-f\t\tremove existing destinations, never prompt\n" \	"\t-r or -R\tremove the contents of directories recursively"#define rm_example_usage \	"$ rm -rf /tmp/foo\n"#define rmdir_trivial_usage \	"[OPTION]... DIRECTORY..."#define rmdir_full_usage \	"Remove the DIRECTORY(ies), if they are empty."#define rmdir_example_usage \	"# rmdir /tmp/foo\n"#define rmmod_trivial_usage \	"[OPTION]... [MODULE]..."#define rmmod_full_usage \	"Unloads the specified kernel modules from the kernel.\n\n" \	"Options:\n" \	"\t-a\tTry to remove all unused kernel modules."#define rmmod_example_usage \	"$ rmmod tulip\n"#define route_trivial_usage \	"[{add|del|flush}]"#define route_full_usage \	"Edit the kernel's routing tables.\n\n" \	"Options:\n" \	"\t-n\tDont resolve names.\n" \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -