Differences between revisions 2 and 3
Revision 2 as of 2023-01-25 20:21:09
Size: 1753
Comment:
Revision 3 as of 2023-01-25 20:48:41
Size: 2174
Comment:
Deletions are marked like this. Additions are marked like this.
Line 57: Line 57:
Change the current working directory to a new path. Can be a relative or absolute path, as well as the special `.` and `..` directories.

Note the rules for [[Bash/Expansion#Tilde_Expansion|tilde expansion]] when using the `~` symbol here.

`cd -` changes the current working directory to the previous working directory.

There is also special behavior around specifying ''nothing''. `cd` is the same as `cd ~`.

Builtin Commands


:

Does nothing; arguments passed to it are expanded but immediately discarded.


Alias

See here.


Bg


Bind


Break


Builtin


Caller


Cd

Change the current working directory to a new path. Can be a relative or absolute path, as well as the special . and .. directories.

Note the rules for tilde expansion when using the ~ symbol here.

cd - changes the current working directory to the previous working directory.

There is also special behavior around specifying nothing. cd is the same as cd ~.


Command


CompGen


Complete


CompOpt


Continue


Declare


Dirs


Disown


Echo


Enable


Eval


Exec


Exit


Export


Fc


Fg


GetOpts


Hash


Help


History


Jobs


Kill


Let


Local


LogOut


MapFile


PopD


PrintF


PushD


Pwd


Read


ReadArray


ReadOnly


Return


Set

See here.


Shift


ShOpt

See here.


Source

Aliased to ..


Test

Aliased to [.

See here.


Time


Trap


TypeSet


UnAlias


UnSet


Wait


CategoryRicottone

Bash/BuiltinCommands (last edited 2023-01-30 01:04:28 by DominicRicottone)