This Is Your Brain On Informatics: Difference between revisions

From Pathology Education Instructional Resource
Jump to navigation Jump to search
Line 10: Line 10:
^u = undoes one typo
^u = undoes one typo


Ls –a = list all files in the folder
'''Ls –a''' = list all files in the folder


Tar –xzvf *.tar.gz = unzip the .tar.gz file
'''Tar –xzvf *.tar.gz''' = unzip the .tar.gz file


Mkdir = make directory
'''Mkdir''' = make directory
 
'''/etc/init.d''' = initiate daemon (it does something but it stays in memory?!)
 
'''find / -name foo'''
This will search the whole system for any files named foo and display their pathnames.  Here we are using the criterion -name with the argument foo to tell find to perform a name search for the filename foo.

Revision as of 10:57, 22 October 2013

This Is Your Brain On Informatics

Testing out the fluids.

Sudo su = allows you super user privileges

^k = delete line

^w = find

^u = undoes one typo

Ls –a = list all files in the folder

Tar –xzvf *.tar.gz = unzip the .tar.gz file

Mkdir = make directory

/etc/init.d = initiate daemon (it does something but it stays in memory?!)

find / -name foo This will search the whole system for any files named foo and display their pathnames. Here we are using the criterion -name with the argument foo to tell find to perform a name search for the filename foo.