UNIX find pattern
Find text in files:
grep -c -r pattern file
-c fyrir count, telur hverstu oft kemur fyrir
-r fyrir recursive, fer ofan í undirmöppur
e.x. grep -c -r logi *
search all files/folders for "logi"
...havn't tried the "find" ;)
In case of personal memory failures...
Find text in files:
grep -c -r pattern file
-c fyrir count, telur hverstu oft kemur fyrir
-r fyrir recursive, fer ofan í undirmöppur
e.x. grep -c -r logi *
search all files/folders for "logi"
...havn't tried the "find" ;)
ls - lt : returns (l)ist ordered by (t)ime
head : return top 10
=>ls -lt | head
ls -1 return single column name only
export PATH=$PATH:/opt/subversion/bin
Go to folder to work with
to commit: svn commit -m "Message description"