I copied your code from the original post and made the files with the same filenames then ran "chmod +x *.txt" to make them both executable and changed the PATHTEST to "$PATHTEST" then ran it, and it...
Type: Posts; User: Kissell; Keyword(s):
I copied your code from the original post and made the files with the same filenames then ran "chmod +x *.txt" to make them both executable and changed the PATHTEST to "$PATHTEST" then ran it, and it...
Also, environment variables can have a scope of the user that set them.
When you're using "export" it's running as your user, but when you run "sudo chmod" it's running as the root user.
...
Habitual's right, you should always quote your variables, it's good practice, solves lots of potential problems... but also your PATHTEST in the Reset_Permissions.txt needs a dollar sign in front of...
You know what... I think -maxdepth will work nicely for this... that will stop it from traversing the whole tree, yet still grab a good sample of data to verify there were some new files in the...
I've got a cron job scheduling the movement of files for a disk backup.
I want a monitoring server to alert me if there aren't any recent files in that path, so I'll get an e-mail that the...
hmm... it was a script issue... I just took out the unnecessary explicit declaration of the whois server and everything works fine now.
Thanks, but that's a web interface.
I need to be able to query the whois information from a bash script.
I need to do a whois lookup of a .co domain from the command line.
I installed "whois" and can do lookups on .com domains and others, but I need to get it working with .co
Anyone know a server...
None of that worked for me... but it did clue me into this file: /etc/ati/amdpcsdb
I replaced all 38 instances of "DalForceUnderscanAdjustment=V1" with "DalForceUnderscanAdjustment=V0" and next...
BTW: I found lots of posts about running this command, but it doesn't work for me: "sudo amdconfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0"
I have found a more indepth post that has more...
I have Ubuntu 12.04.02 LTS Desktop with an AMD Radeon card.
I installed the AMD Catalyst Proprietary Drivers from the manufacturer website.
I use a 47" HDTV at 1920x1080 resolution as my...
Thanks, I don't see how to mark threads as solved with this new interface....
actually though it wasn't solved after my last comment...
however, it sorta is now.... I did a "btrfs filesystem...
Huh... they files were there after the reboot... I did nothing... after checking back a few minutes later they're all gone again!!!
Yet "df -h" still shows the volume is using the space for the...
I rebooted and the files are back! woohoo!
The good old reboot fixes everything!
I installed apt-btrfs-snapshot
Then everytime I added or removed something with aptitude it created a new snapshot... so I had hundreds of snapshots.
I wrote deleted all the snapshots, cause...
But thread tools no longer has the options to "mark this thread as solved" ?
Wow... figured it out myself... it was NAGIOS!
The nag service was running, which uses an nconf mysql database.
I killed nagios "service nagios3 stop" and then mysql-server installed just...
I cloned a system hard disk, and for some reason mysql wouldn't start when I put the drive in the other system.
It wouldn't uninstall either, not with apt-get.
I was able to use aptitude to...
Didn't work for me.
I upgraded Ubuntu 12.04.02 LTS kernel from 3.2 to 3.9 and when I rebooted I got this error... my root partition is encrypted.
I tried these steps, looked promising the...
mdadm is a tool for combining multiple disks into a redundant array, so that if a disk fails you can still access all your data.
If you only had one disk in your NAS then it wouldn't have been...
If you had a NAS that had a RAID array configured... why did you remove the drive from it? If a single disk failed, you should still have been able to access all your files on the NAS. If you...
apt-get -y install libpam-krb5 krb5-user
was installed on a server and /etc/krb5.conf was edited to include LDAP information.
The ! in /etc/shadow for a user was replaced with *K* and that...
When I run /etc/init.d/mysql start
I can see the processes running:
But then a few seconds later they disappear and I don't seee anything in the log about it stopping or any errors.
I want to run two versions of mysql on the same Ubuntu machine.
I've never tried this before.
I was trying to follow a tutorial, and it didn't work for me.
First, I edited apparmor to allow...
I got it working by following this guide:
http://randomizedsort.blogspot.com/2012/06/poor-mans-static-ip-for-ec2-aka-elastic.html