Pario TechnoBlob
About
Posts
Posts
Debian daemon control
In RedHat distributions like RHEL, Fedora and also CentOS you have a tool called ntsysv to manage daemons and their runlevels. In Debian there is an alternative tool that lets...
Grep recursively through subdirectories
grep recursively through subdirectories for files that match a specific pattern: grep -l -r –include=
.doc regex * The equivalent command unsing find: find . -name ‘
.doc’...
Rename files in folder
Oneliner to rename files/directories. It converts ” ” into “
” and the characters to lower-case. <br /> $> perl -e 'while(< *>) { $old=$
; s/ +/
/g;...
Information about shutdowns and reboots
A easy way to get information about shutdowns and reboots is to run the command last reboot or last -x | grep down
««
«
1
2
3
…
64
65
66
…
126
»
»»