Pario TechnoBlob
About
Posts
Posts
Using brace expansion in bash
Everyone has done one of the following to make a quick backup of a file: $ cp filename filename-old $ cp filename-old filename These seem fairly straightforward, what could...
Linux routing magic
Suppose you’re setting up a test environment, and you want a server to be able to handle some improbably large number of IP addresses, like a /16 or even larger. You could...
Fikse rett dato på bildefil ut i fra EXIF info
Av og til kopierer man bilder og da kan det hende bildefila får feil dato og tid for når bildet ble tatt. Kjør dette scriptet er for å rette dette igjen
Delete files older than x days
find /data/folder -type f -ctime +60 -exec /bin/rm {} \;
««
«
1
2
3
…
89
90
91
…
126
»
»»