Search results
Results from the WOW.Com Content Network
date: Prints or sets the system date and time dirname: Strips non-directory suffix from file name du: Shows disk usage on file systems echo: Displays a specified line of text env: Displays and modifies environment variables: expr: Evaluates expressions factor: Factors numbers: false: Does nothing, but exits unsuccessfully groups
env is a shell command for Unix and Unix-like operating systems. It is used to either print a list of environment variables or run another utility in an altered environment without having to modify the currently existing environment. Using env, variables may be added or removed, and existing variables may be changed by assigning new values to them.
The SET command without any arguments displays all environment variables along with their values; SET " ", zero or more spaces, will include internal variables too. In CMD.EXE , it is possible to assign local variables that will not be global using the SETLOCAL command and ENDLOCAL to restore the environment.
date: Misc Mandatory Display the date and time Version 1 AT&T UNIX dd: Filesystem Mandatory Convert and copy a file Version 5 AT&T UNIX delta: SCCS Optional (XSI) Make a delta (change) to an SCCS file PWB UNIX df: Filesystem Mandatory Report free disk space Version 1 AT&T UNIX diff: Text processing Mandatory Compare two files; see also cmp
Also, positional parameters as the argv array including argv[1], the $0 shell variable as argv[0], the Count of Indices parameter expansion $#var, the -d and -x operators of a testing syntax regarding directory and executability tests, respectively, the ! negate symbol, a looping construct in the foreach command, the set, echo and exit commands ...
A Unix shell is a command-line interpreter or shell that provides a command line user interface for Unix-like operating systems. The shell is both an interactive command language and a scripting language, and is used by the operating system to control the execution of the system using shell scripts. [2]
The command is also available in the Motorola VERSAdos, [5] Intel iRMX 86, [6] PC-MOS, [7] SpartaDOS X, [8] ReactOS, [9] SymbOS, and DexOS operating systems as well as in the EFI shell. [10] On MS-DOS, the command is available in versions 1 and later. [11] In Unix, the date command displays and sets both the time and date, in a similar manner.
TMPDIR is the canonical environment variable in Unix and POSIX [1] that should be used to specify a temporary directory for scratch space.Most Unix programs will honor this setting and use its value to denote the scratch area for temporary files instead of the common default of /tmp [2] [3] or /var/tmp.