-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
136 changed files
with
5,548 additions
and
2,172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
root:root:0:0:Root User:/root:/bin/shell | ||
user:user:1000:1000:Normal User:/home/user:/bin/shell | ||
root:x:0:0:Root User:/root:/bin/shell | ||
user:x:1000:1000:Normal User:/home/user:/bin/shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
root:33ba1bde6222ff5836cfe0123c71e594238e675a5a5b6fbfd2ad69ae7d580a40::::::: | ||
user:35047cb1b06dabc31ce3f11b3cd0f83f7c2ed4d52851e62585906d44775a70a6::::::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
SYNOPSIS | ||
chmod MODE FILE | ||
|
||
DESCRIPTION | ||
chmod changes the file mode bits of the given file according to mode, which | ||
must be an octal number representing the bit pattern for the new mode bits. | ||
|
||
The numeric mode is from one to four octal digits (0-7), derived by adding | ||
up the bits with values 4, 2, and 1. Omitted digits are assumed to be | ||
leading zeros. The first digit selects the set user ID (4) and set group | ||
ID (2) and restricted deletion or sticky (1) attributes. The second digit | ||
selects permissions for the user who owns the file: read (4), write (2), | ||
and execute (1); the third selects permissions for other users in the file's | ||
group, with the same values; and the fourth for other users not in the | ||
file's group, with the same values. | ||
|
||
chmod never changes the permissions of symbolic links; the chmod system call | ||
cannot change their permissions. | ||
|
||
EXAMPLES | ||
chmod 555 executable | ||
Changes the mode bits of executable to r-xr-xr-x. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SYNOPSIS | ||
chown [OWNER][:[GROUP]] FILE | ||
|
||
DESCRIPTION | ||
chown changes the user and/or group ownership of the given file. | ||
If only a owner is given the file's group is not changed. If the owner | ||
is followed by a colon and a group name (or numeric group ID), the group | ||
ownership is changed as well. If the colon and group are given, but the | ||
owner is omitted, only the group of the file is changed. | ||
|
||
chown never changes the ownership of symbolic links; the chown system call | ||
cannot change their ownership. | ||
|
||
EXAMPLES | ||
chown root /u | ||
Change the owner of /u to "root". | ||
|
||
chown root:staff /u | ||
Likewise, but also change its group to "staff". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SYNOPSIS | ||
cp SOURCE DEST | ||
|
||
DESCRIPTION | ||
Copy SOURCE to DEST. | ||
|
||
OPTIONS | ||
-h, --help shows command help. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
SYNOPSIS | ||
echo [STRING] | ||
echo [OPTIONS] [STRING] | ||
|
||
DESCRIPTION | ||
Displays a line of text. | ||
|
||
echo displays a line of text. | ||
|
||
The following options are available: | ||
|
||
-n Do not output a newline. | ||
-e Enable interpretation of backslash escapes. | ||
|
||
If -e is in effect, the following sequences are recognized: | ||
|
||
\n new line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SYNOPSIS | ||
false | ||
|
||
DESCRIPTION | ||
false sets the exit status to 1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
SYNOPSIS | ||
id [OPTIONS] | ||
|
||
DESCRIPTION | ||
Print user and group information for the current process. | ||
|
||
The following options are available: | ||
|
||
-g, --group | ||
print only the effective group ID | ||
|
||
-u, --user | ||
print only the effective user ID | ||
|
||
--help display a help message and exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
SYNOPSIS | ||
man [PAGE] | ||
|
||
DESCRIPTION | ||
man is the system's manual pager. The page argument given to man is | ||
normally the name of a program or utility. | ||
|
||
Conventional section names include SYNOPSIS, CONFIGURATION, DESCRIPTION, | ||
OPTIONS, EXIT STATUS and EXAMPLE. | ||
|
||
The following conventions apply to the SYNOPSIS section and can be used as | ||
a guide in other sections. | ||
|
||
[-abc] any or all arguments within [ ] are optional. | ||
-a|-b options delimited by | cannot be used together. | ||
argument ... argument is repeatable. | ||
[expression] ... entire expression within [ ] is repeatable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SYNOPSIS | ||
more [FILE] | ||
|
||
DESCRIPTION | ||
more is a filter for paging through text one screenful at a time. | ||
|
||
OPTIONS | ||
-h, --help shows command help. | ||
|
||
KEY BINDINGS | ||
q Exit from more | ||
space Display next screen size | ||
return Display next line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
SYNOPSIS | ||
shell [FILE] | ||
|
||
DESCRIPTION | ||
shell reads and executes commands from a file or from standard input. | ||
|
||
INVOCATION | ||
An interactive shell is one started without arguments, whose standard | ||
input and error are both connected to terminals. | ||
|
||
When shell is started as interactive shell it first reads and executes | ||
commands from the file ~/.shellrc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SYNOPSIS | ||
sleep NUMBER | ||
|
||
DESCRIPTION | ||
Pause for NUMBER seconds. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SYNOPSIS | ||
uname [-a|-r|-i] | ||
|
||
DESCRIPTION | ||
Uname prints kernel and system information. | ||
|
||
The following options are available: | ||
|
||
-a, --all | ||
Print kernel version and processor type | ||
|
||
-r, --rev | ||
Print only the kernel version | ||
|
||
-i, --info | ||
Print all info of system and kernel | ||
|
||
-h, --help | ||
Display a help message and exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set timeout=0 | ||
set default=0 | ||
|
||
menuentry "MentOS tests" { | ||
multiboot /boot/bootloader.bin runtests | ||
boot | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.