See, I am not asking for others to help me with self control actively. i only ask in extreme cases. and yes, terdon is right - if customer wants it, give it to them. Worst case is that they won't come back. I,however, will. And i don't hold grudges
@Serg Actually, if we're being serious, I wouldn't suspend someone if they only wanted to get suspended to stop spending too much time here. I'd just tell them to grow up.
I don't want to have to go through the various clicks needed to suspend someone just because they can't manage to turn off their computer.
If you don't want to come here, stop coming here. I admit that I would prefer you kept coming here so we can enjoy your great contributions, but if you don't have the time, stop doing it.
file="~/testfile
if test "$((86400+$(date -r="$file"+%s)))" -lt "$(date +%s)" ; then
rm -- "$file"
fi
You can also say if [ ... ] ; then or if [[ ... ]] ; then instead of if test ... ; then, but I personally prefer the version with as few brackets as possible. Not sure if there is any notable difference.
And hasn't find a very special definition of when something is older than a day and when not? I believe to have read something strange in the manual there...
-atime n
File was last accessed n*24 hours ago. When find figures out
how many 24-hour periods ago the file was last accessed, any
fractional part is ignored, so to match -atime +1, a file has to
have been accessed at least two days ago.
@terdon It's a project I was tasked with, the server we have files on, need to be monitored. Meaning the deleting 24 hours and older files need to be removed.
@terdon yeah, but the files are not on CentOS, but on an external server, which is only allowed to use some basic tools like ls, which is why I can get the dates for those files.
``` ➜ dart man dart No manual entry for dart See 'man 7 undocumented' for help when manual pages are not available. ➜ dart man 7 undocumented No manual entry for undocumented in section 7 ```
I try to run cocurrent curl but it can easily report "Could not resolve host". To run curl parallel, I use "parallel".
parallel :::: ./a.sh ./a.sh
from api server
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Tota...
I have windows 7 OS installed in my laptop.
In Windows I installed VmWare Workstation 10.0.1 , in which i nstalled Ubuntu OS 14.04 .
I want to create a common shared folder between Windows OS and Ubuntu, how can i do that?
In setting for ubuntu OS in VMWare Workstation i have updaed the path fo...
@NathanOsman My erm "mean" Dad decided to put a schedule time on my internet, and recently completely disabled it, he went to China for 7 days today, so I routed my PC to be the master owner of the router lmao
@NathanOsman Got any recommendations for Desktop Interfaces? ubuntu is nice but the icons are kinda messy
I've recently come to find all my desktop programs and icons thrown askew about the place, and while rearranging, I noticed that the grid system Ubuntu uses by default is (in my eyes) miserable.
On Windows for example there is a large grid, and icons are far enough from each other to read, but ...
I am a freshman computer science major, and I am trying to figure out how to build a minimal install of Ubuntu Server 14.04 using Oracle VM VirtualBox and command line only, on MAC OS X. The command line only part is very important. I have downloaded VirtualBox, but I don't know where to go from ...
I have installed Ubuntu 15.04 on my new Intel NUC
However the wifi does not work.
It complains (in dmesg) that the iwlwifi module was unable to load the firmware code because iwlwifi-3165-10.ucode could not be found.
I've tried installing newer versions of iwlwifi (from backports), but that s...
david@david-desktop:~$ ip link set dev eth0 up RTNETLINK answers: Operation not permitted david@david-desktop:~$ sudo ip link set dev eth0 up [sudo] password for david: david@david-desktop:~$
@DavidCole-GrammarPolice ARP routing will update the MAC periodically. You could add a static ARP route, but I don't know if you can move your box to a different nework.
@JamesTobin Sure.
2: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no
also, off topic because ChaletOS is not ubuntu. :P
I think I may have found the cause of my problems with connecting to wifi in Ubuntu 11.10.
I type this in Terminal:
peter@peter-AO531h:~$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no
pe...
it's not the right term, but it's still technically software.
user136984
I still don't like how they put it, most people are going to think that it's just some odd software to be installed on Windows or Mac (as some people I have found here worryingly think).