basic unix linux commands - DOC by kaushal312

VIEWS: 753 PAGES: 4

basic unix linux commands

More Info
									An A-Z Index of the Linux BASH command line alias awk break builtin cal case cat cd cfdisk chgrp chmod chown chroot cksum clear cmp comm command continue cp cron crontab csplit cut Create an alias Find and Replace text, database sort/validate/index Exit from a loop Run a shell builtin Display a calendar Conditionally perform a command Display the contents of a file Change Directory Partition table manipulator for Linux Change group ownership Change access permissions Change file owner and group Run a command with a different root directory Print CRC checksum and byte counts Clear terminal screen Compare two files Compare two sorted files line by line Run a command - ignoring shell functions Resume the next iteration of a loop Copy one or more files to another location Daemon to execute scheduled commands Schedule a command to run at a later time Split a file into context-determined pieces Divide a file into several parts

date Display or change the date & time dc Desk Calculator dd Data Dump - Convert and copy a file declare Declare variables and give them attributes df Display free disk space diff Display the differences between two files diff3 Show differences among three files dir Briefly list directory contents dircolors Colour setup for `ls' dirname Convert a full pathname to just a path dirs Display list of remembered directories du Estimate file space usage echo ed egrep eject enable env eval exec exit expand export expr Display message on screen A line-oriented text editor (edlin) Search file(s) for lines that match an extended expression Eject CD-ROM Enable and disable builtin shell commands Display, set, or remove environment variables Evaluate several commands/arguments Execute a command Exit the shell Convert tabs to spaces Set an environment variable Evaluate expressions

factor Print prime factors false Do nothing, unsuccessfully fdformat Low-level format a floppy disk

fdisk fgrep find fmt fold for format free fsck function gawk getopts grep groups gzip hash head history hostname id if import info install join kill less let ln local locate logname logout lpc lpr lprint lprintd lprintq lprm ls m4 man mkdir mkfifo mknod more mount mtools mv

Partition table manipulator for Linux Search file(s) for lines that match a fixed string Search for files that meet a desired criteria Reformat paragraph text Wrap text to fit a specified width. Expand words, and execute commands Format disks or tapes Display memory usage Filesystem consistency check and repair. Define Function Macros Find and Replace text within file(s) Parse positional parameters Search file(s) for lines that match a given pattern Print group names a user is in Compress or decompress named file(s) Remember the full pathname of a name argument Output the first part of file(s) Command History Print or set system name Print user and group id's Conditionally perform a command Capture an X server screen and save the image to file Help info Copy files and set attributes Join lines on a common field Stop a process from running Display output one screen at a time Perform arithmetic on shell variables Make links between files Create variables Find files Print current login name Exit a login shell Line printer control program Off line print Print a file Abort a print job List the print queue Remove jobs from the print queue List information about file(s) Macro processor Help manual Create new folder(s) Make FIFOs (named pipes) Make block or character special files Display output one screen at a time Mount a file system Manipulate MS-DOS files Move or rename files or directories

nice nl nohup passwd paste pathchk popd pr printcap printenv printf ps pushd pwd

Set the priority of a command or job Number lines and write files Run a command immune to hangups Modify a user password Merge lines of files Check file name portability Restore the previous value of the current directory Convert text files for printing Printer capability database Print environment variables Format and print data Process status Save and then change the current directory Print Working Directory

quota Display disk usage and limits quotacheck Scan a file system for disk usage quotactl Set disk quotas ram rcp read readonly remsync return rm rmdir rpm rsync screen sdiff sed select seq set shift shopt shutdown sleep sort source split su sum symlink sync tac tail tar tee test time times touch ram disk device Copy files between two machines. read a line from standard input Mark variables/functions as readonly Synchronize remote files via email Exit a shell function Remove files Remove folder(s) Remote Package Manager Remote file copy (Synchronize file trees) Terminal window manager Merge two files interactively Stream Editor Accept keyboard input Print numeric sequences Manipulate shell variables and functions Shift positional parameters Shell Options Shutdown or restart linux Delay for a specified time Sort text files Run commands from a file `.' Split a file into fixed-size pieces Substitute user identity Print a checksum for a file Make a new name for a file Synchronize data on disk with memory Concatenate and write files in reverse Output the last part of files Tape ARchiver Redirect output to multiple files Evaluate a conditional expression Measure Program Resource Use User and system times Change file timestamps

top List processes running on the system traceroute Trace Route to Host trap Run a command when a signal is set(bourne) tr Translate, squeeze, and/or delete characters true Do nothing, successfully tsort Topological sort tty Print filename of terminal on stdin type Describe a command ulimit umask umount unalias uname unexpand uniq units unset unshar until useradd usermod users uuencode uudecode v vdir vi watch wc whereis which while who whoami xargs yes .period ### Limit user resources Users file creation mask Unmount a device Remove an alias Print system information Convert spaces to tabs Uniquify files Convert units from one scale to another Remove variable or function names Unpack shell archive scripts Execute commands (until error) Create new user account Modify user account List users currently logged in Encode a binary file Decode a file created by uuencode Verbosely list directory contents (`ls -l -b') Verbosely list directory contents (`ls -l -b') Text Editor Execute/display a program periodically Print byte, word, and line counts Report all known instances of a command Locate a program file in the user's path. Execute commands Print all usernames currently logged in Print the current user id and name (`id -un') Execute utility, passing constructed argument list(s) Print a string until interrupted Run commands from a file Comment / Remark

Regards, Kaushal Patel Kaushal312@gmail.com


								
To top