This Is Your Brain On Informatics: Difference between revisions
| 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. | |||