Nov 22, 2017

Find out whether a command is a shell feature or an external command.

There is a command called type in bash shell, which you can use to check:

$ type cd
cd is a shell builtin
$ type pwd
pwd is a shell builtin

Post a Comment

Featured Post

Modern tar recognizes the file format

One command works with any supported compression method. tar xf archive.tar.xz tar xf archive.tar.gz tar xf archive.tar etc. ...