Open main menu

Pathology Education Instructional Resource β

Changes

This Is Your Brain On Informatics: Linux

2,657 bytes removed, 02:29, 19 March 2014
no edit summary
<p>Below are listed some common linux commands listed in alphabetical order Linux is a powerful developer operating system that have been seen in class along with some others for referencecan be quite confusing at times. Syntax of the command This can include but is indicated by bracketed information. One common syntax includes [options], which indicates modifications not limited to using the command that can be added via system (?), setting up a dash followed by an appropriate letter (enetwork, and finding important files.g. -i Please see below for the rm command)help on various subjects in Linux. </p>
{| class = "wikitable" style = "" cellpadding = "" border = "1"|- align = "center" ! colspan = "2" | Common *[[This Is Your Brain On Informatics: Linux Commands|-! Command Name !! Command Description|- | cat [filename] || Display file’s contents to Using the standard output device (usually your monitor).|-| cd [/directorypathSystem] || Change to directory.|-| chmod [options] [mode] [filename] || Change a file’s permissions.|-| chown *[options] [filename] This Is Your Brain On Informatics: Common Pathnames|| Change who owns a file.|-| clear || Clear a command line screen/window for a fresh start.|-| cp [options] [source] [destinationCommon Pathnames] || Copy files and directories.|-| date [options] || Display or set the system date and time.|-| df *[options] || Display used and available disk space.|-| du [options] |This Is Your Brain On Informatics: Network| Show how much space each file takes Setting up.|-| Exit || Leave an ssh session by typing|-| file [options] [filename] || Determine what type of data is within a file.|-| find [pathname] [expression] || Search for files matching a provided pattern. (e.g. typing "find / -name foo will search for a file named "foo" in the entire system)|-| grep [options] [pattern] [filesname] || Search files or output for a particular pattern.|-| kill [options] pid || Stop a process. If the process refuses to stop, use kill -9 pid.|-| less [options] [filename] || View the contents of a file one page at a time.|-| ln [options] [source] [destinationNetwork] || Create a shortcut.|-| locate [filename] || Search a copy of your filesystem for the specified filename.|-| lpr *[options] || Send a print job.|-| ls [options] This Is Your Brain On Informatics: DenyHosts|| List directory contents.|-| /man [command] || Display the help information for the specified command.|-| mkdir [options] [directory] || Create a new directory.|-| mv [options] [source] [destination] || Rename or move file(s) or directories.|-| passwd [name [password]] || Change the password or allow (for the system administrator) to change any password.|-| ps [options] || Display a snapshot of the currently running processes.|-| pwd || Display the pathname for the current directory.|-| rm [options] [directory] || Remove (delete) file(s) and/or directories.|-| rmdir [options] [directory] || Delete empty directories.|-| ssh [options] [user@machine] || Remotely log in to another Linux machine, over the network.|-| sudo || Gives super user (administrative) capabilities.|-| su [options] [user [arguments]] || Switch to another user account.|-| tail [options] [filename] || Display the last n lines of a file (the default is 10).|-| tar [options (-xzvf)] [filename] || Store and extract files from a tarfile (.tar) or tarball (.tar.gz or .tgz).|-| top || Displays the resources being used on your system. Press q to exit.|-| touch [filename] || Create an empty file Working with the specified name.|-|wget [urlDenyHosts] || Downloads a file from the internet at the specified url.|-| who [options] || Display who is logged on.
|{{This Is Your Brain On Informatics}} [[Category:This Is Your Brain On Informatics]]
347
edits