1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-30 10:53:34 +02:00

*: adjust bash builtin more info links (#17788)

This commit is contained in:
Managor 2025-08-23 17:56:58 +03:00 committed by GitHub
parent 9a6a43635c
commit 4ab09ef81d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 18 additions and 18 deletions

View file

@ -3,7 +3,7 @@
> Create aliases - words that are replaced by a command string.
> Aliases expire with the current shell session unless defined in the shell's configuration file, e.g. `~/.bashrc` for Bash or `~/.zshrc` for Zsh.
> See also: `unalias`.
> More information: <https://manned.org/alias>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-alias>.
- List all aliases:

View file

@ -2,7 +2,7 @@
> Resume suspended jobs (e.g. using `<Ctrl z>`), and keeps them running in the background.
> See also: `jobs`, `fg`, `disown`.
> More information: <https://manned.org/bg>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-bg>.
- Resume the most recently suspended job and run it in the background:

View file

@ -1,7 +1,7 @@
# builtin
> Execute shell builtins.
> More information: <https://manned.org/builtin.1>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-builtin>.
- Run a shell builtin:

View file

@ -1,7 +1,7 @@
# cd
> Change the current working directory.
> More information: <https://manned.org/cd>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-cd>.
- Go to the specified directory:

View file

@ -1,7 +1,7 @@
# Colon
> Returns a successful exit status code of 0.
> More information: <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#colon>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-_003a>.
- Return a successful exit code:

View file

@ -1,7 +1,7 @@
# command
> Command forces the shell to execute the program and ignore any functions, builtins and aliases with the same name.
> More information: <https://manned.org/command>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-command>.
- Execute the `ls` program literally, even if an `ls` alias exists:

View file

@ -1,7 +1,7 @@
# eval
> Execute arguments as a single command in the current shell and return its result.
> More information: <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#eval>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-eval>.
- Call `echo` with the "foo" argument:

View file

@ -1,7 +1,7 @@
# fc
> Open the most recent command for editing and then run it.
> More information: <https://manned.org/fc>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-fc>.
- Open the last command in the default system editor and run it after editing:

View file

@ -2,7 +2,7 @@
> Run jobs in foreground.
> See also: `jobs`, `bg`, `disown`.
> More information: <https://manned.org/fg>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-fg>.
- Bring most recently suspended or running background job to foreground:

View file

@ -2,7 +2,7 @@
> Evaluate arithmetic expressions in shell.
> Supports variables, operators, and conditional expressions.
> More information: <https://manned.org/let>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-let>.
- Evaluate a simple arithmetic expression:

View file

@ -1,7 +1,7 @@
# readonly
> Set read-only shell variables.
> More information: <https://manned.org/readonly.1posix>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-readonly>.
- Set a read-only variable:

View file

@ -1,7 +1,7 @@
# set
> Toggle shell options or set the values of positional parameters.
> More information: <https://manned.org/set.1posix>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#The-Set-Builtin>.
- Display the names and values of shell variables:

View file

@ -1,7 +1,7 @@
# shift
> Move positional parameters.
> More information: <https://manned.org/shift.1posix>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-shift>.
- Remove the first positional parameter:

View file

@ -1,7 +1,7 @@
# source
> Execute commands from a file in the current shell.
> More information: <https://manned.org/source>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-source>.
- Evaluate contents of a given file:

View file

@ -1,7 +1,7 @@
# umask
> Manage the read/write/execute permissions that are masked out (i.e. restricted) for newly created files by the user.
> More information: <https://manned.org/umask>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-umask>.
- Display the current mask in octal notation:

View file

@ -2,7 +2,7 @@
> Remove aliases.
> See also: `alias`.
> More information: <https://manned.org/unalias>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-unalias>.
- Remove an alias:

View file

@ -1,7 +1,7 @@
# unset
> Remove shell variables or functions.
> More information: <https://manned.org/unset>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-unset>.
- Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`:

View file

@ -2,7 +2,7 @@
> Wait for a process to complete before proceeding.
> See also: `ps` to view information about running processes.
> More information: <https://manned.org/wait>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-wait>.
- Wait for a process to finish given its process ID (PID) and return its exit status: