More UNIX Utilities for Shell programming. at-at, batch --execute commands at a later time. awk -- pattern scanning and processing language. banner -- make posters. basename -- with a directory name delivers portions of the pathname. bc -- processes precision arithmetic.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
More UNIX Utilities for Shell programming
bdiff—compares two big files • bdiff compares two files that are too large for diff.
compress—compress, uncompress, zcat compress, uncompress files, or display expanded files
cron—the clock daemon • cron executes commands at specified dates and times. Regularly scheduled jobs can be specified in the /etc/crontab file. (Must have superuser privileges)
crypt—encode or decode a file • cryptencrypts and decrypts the contents of a file. The password is a key that selects a type of transformation
finger—displays information about local and remote users • By default, the finger command displays information about each logged in user, including login name, full name, terminal line (prepended with a ‘*’ if write permission is denied), idle time, login time, and location if known
fold—folds long lines • Fold the contents of the specified filenames, or the standard input if no files are specified, breaking the lines to have maximum width. The default for width is 80. Width should be a multiple of 8 if tabs are present, or the tabs should be expanded
getop(s)—parses command line options • The getopts command supersede getop. getops is used to break up options in command lines for easy parsing by shell procedures and to check for legal options.
groups—prints group membership of user • The command groups prints on standard output the groups to which you or the optionally specified user belong.
id—prints the username, user ID, group name and group ID • iddisplays your user ID,user name, group ID, and group name. If your real ID and your effective ID’s do not match, both are printed.
jsh—the standard, job control shell • The command jsh in an interface to the standard Bourne shell which provides all of the functionality of the Bourne shell and enables job control.
line—reads one line • line copies one line (up to a new line) from the standard input and writes it on the standard output. It returns an exit code of one on EOF and always prints at least a new line. It is often used within shell files to read from the user’s terminal.
lpsat(ATT)—print information about the status of the LP print service
mail—mail, rmail—read mail or send mail to users • A recipient is usually a username recognized by login. When recipients are named, mail assumes a message is being sent. It reads from the standard input up to an end-of-file(Ctrl-D), or if reading from a terminal, until it reads a line consisting of just a period. When either of those indicators is received, mail adds the letter to the mailfile for each recipient.
mailx—interactive message processing system • The mail utilities listed above provide an interactive interface for sending, receiving, and manipulating mail messages. Basic networking utilities must be installed for some of the features to work. Incoming mail is stored in a file called mailbox, and after it is read, it sends to a file called mbox
make—maintains, updates, and regenerates groups of related program and files • make updates file according to commands listed in a description file, and if the target file is newer than the dependency file of the same name, make will update the target file.
mesg—permits or denies messages resulting from the write command • mesg without argument –n forbids messages via write by revoking no user write permission on the user’s terminal. mesg with argument –y reinstates permission. All by itself, mesg reports the current state without changing it.
more—browse or page through a text file • more is a filter that displays the contents of a text file on the terminal, one screenful at a time. It normally pauses after each screenful, and prints “—More—” at the bottom of the screen.