Posts

Showing posts from September, 2017

LINUX basic Commands

Command Description cat [filename] Display file’s contents to the standard output device (usually your monitor). cd /directorypath Change to directory. chmod [options] mode filename Change a file’s permissions. chown [options] filename Change who owns a file. clear Clear a command line screen/window for a fresh start. cp [options] source destination Copy files and directories. date [options] Display or set the system date and time. df [options] Display used and available disk space. du [options] Show how much space each file takes up. file [options] filename Determine what type of data is within a file. find [pathname] [expression] Search for files matching a provided pattern. 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 [destination] Create a shortcut.