1,903 reputation
29
bio website
location The Netherlands
age
visits member for 1 year, 3 months
seen 17 hours ago

Currently working as system administrator at Bizztravel B.V.. I've earned a bachelor degree in Computer Sciences. Since computing in general is my passion, I try to keep up with the latest development in this field. I'm active on irc.freenode.org and try to contribute to the open source community as much as I can.


Jul
30
comment Find newest file. Multiple Filetype restrictions
@user2815780 You can play with -mtime -1 by changing the modification time. For example -mtime -10 wich will search for mp3 or jpg files which are created 10 days from now and ofcourse you can set |head -n4 or whatever you want at the end
Jul
30
answered Find newest file. Multiple Filetype restrictions
Jul
30
comment Find newest file. Multiple Filetype restrictions
Check this: mywiki.wooledge.org/BashFAQ/099?highlight=%28oldest%29
Jul
30
comment ssh public key copying
@user3523605 see my updated answer
Jul
30
revised ssh public key copying
added arguments to be passed
Jul
30
comment Debian file's permissions for secondary's group of user
@Flo-Schield-Bobby So that explains. group needs also rwx on website directory. You can grant access to the ftp user using setfacl -m u:my-ftp-user:rwx /var/www/website No need for other changes
Jul
30
comment Debian file's permissions for secondary's group of user
What is the group that owns /var/www/website ?
Jul
30
comment ssh public key copying
You can use password as an argument and pass it to the filename
Jul
29
revised ssh public key copying
added 292 characters in body
Jul
29
answered ssh public key copying
Jul
29
comment Move every file that is not a directory
@Scott I had no idea about the -t flag. I also explained in the answer that the + is faster but not all find versions support it. So the above code is pretty much compatible with any find or shell that is used.
Jul
29
comment Move every file that is not a directory
@Questionmark I've updated the answer and did add some explanation. Also, it's worth visiting mywiki.wooledge.org/UsingFind
Jul
29
revised Move every file that is not a directory
added 239 characters in body
Jul
29
answered Move every file that is not a directory
Jul
26
answered Count files in a directory by extension
Jul
25
revised Printing selective fields following 1st column instructions
some braces removed and 'else' is not needed
Jul
25
suggested suggested edit on Printing selective fields following 1st column instructions
Jul
24
comment Shell scripts for the database logs
First of all, find filename | .. is wrong! Secondly, you can use grep -iE '(pid=25997|ERROR|FATAL)' filename to group everything in one command. So can you explain why you are using find in this case?
Jul
24
answered Move iptables rule (w/o removing and adding)
Jul
24
revised Find the exact string with grep
added 177 characters in body