unix commands

unix commands

Type Command in Linux

Type Command in Linux – (How to) Display Information About Command

TYPE is a Linux command which helps to identify the type of the input command if it is an alias, built-in, function, or keyword. You can also pass multiple commands as the input parameters. All the arguments to this command are optional. Syntax type [-afptP] name [name …] Options [afptP]  -a – display all locations …

Type Command in Linux – (How to) Display Information About Command Read More »

Sleep Command in Linux

Linux Sleep Command – (How to) delay for a specified amount of time

Linux sleep command adds delay/pause for a specified amount of time. As per man sleep this command, Written by Jim Meyering and Paul Eggert. Part of GNU Coreutils. License GPLv3+: GNU GPL version 3 free software, you are free to change and redistribute it. There is NO WARRANTY Syntax sleep NUMBER[smhd] sleep OPTION Options Each argument is …

Linux Sleep Command – (How to) delay for a specified amount of time Read More »

wc command in Linux

WC Command in Linux – (How to) Print Character, Byte, Newline and Word Count

WC is a Linux command to print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. If there is no input file parameter or it is “-” and then it reads the input from the standard input device. Syntax wc [OPTION]… [FILE]… wc [OPTION]… –files0-from=F …

WC Command in Linux – (How to) Print Character, Byte, Newline and Word Count Read More »

whoam command in Linux

WHOAMI Command in Linux – Prints the Username

whoami is a Linux/Unix command which prints the username associated with the current effective user ID. It is written by Richard Mlynarik and is part of GNU Coreutils. For complete documentation, run: info coreutils. Syntax whoami [OPTION]… Options –help:- Print help –version:- Display version information WHOAMI Command( Examples) Check below for additional examples 1. Print …

WHOAMI Command in Linux – Prints the Username Read More »