Hi,
I am so tired to every day at 8:00 am open Skype program to my job. I need a little script to set the hour to open and the hour to close. Sorry for my worst english.
Thanks
I have a task that needs to be performed on my project schedule (3 weeks).
I'm able to set up cron to do this every week, or (for example) on the 3rd week of every month - but can't find a way to do this every three weeks.
I could hack the script to create temporary files (or similar) so it could work out it was the third time it has been run - but this solution smells.
Can it be done in a clean way?
HTTP/1.1 200 OK Date: Fri, 06 Nov 2009 00:35:42 GMT Server: Apache Content-Length: 0 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/plain
What does that mean, and why does that text appear on bottom of ALL html, php, css and js files?
I am running a nph-proxy.cgi script.
I am working on my MacBook Pro. In the office I have 1 27" Monitor attached to it, at home I tend to work without an second monitor. For that setup I want to change the wallpaper if no 2nd monitor is attached.
Is there a app that helps me do that? Can I do this with applescript without manual activating that script?
I want to write a perl script which logs into cisco switches via telnet and parses the output of show mac-address-table. The problem is that different switches show me a different field layout.
The WS-C3548-XL shows the fields in the order
Destination Address Address Type VLAN Destination Port
while the C2960 shows it like
Vlan Mac Address Type Ports
is there a way to tell show to print the fields in a predefined order?
I want to know when I login to a computer or domain. I want a pop up show me who has been logged on before me and what time he was logged on and date. By using Group Policy Script.
I think I have a shell script (launched by root's crontab) that's stuck in a loop. How do I list running scripts and how can I kill them?
I'm running Ubuntu 9.04, but I imagine it's similar for all *nix systems...
Apparently the .NET framework has a bug that prevents working set values above 2GB from accurately being determined. Between 2 and 4GB one can apply some xor-ing calculation to obtain the value, but there's no means of obtaining working set values greater than 4GB (using .Net or WMI)
What method can be used - preferably from a PowerShell script - to obtain an accurate measurement of a process' working set when the working set is greater than 4GB?
(some side details can be found in this StackOverflow question)
I have an SDK that must install 32-bit and 64-bit files in the correct places under /usr/lib
for a variety of Linux distributions.
For example, it appears that for Fedora, /usr/lib64 is the 64bit lib, but for Debian based systems, /usr/lib is the 64bit directory.
I want to find out if there is a reliable way to determine the correct locations.
More specifically, is there a way an install script can determine programmatically which are the correct equivalents for /usr/lib for 32- and 64-bit libraries on a given distribution?
Recently an employee deleted their entire mailbox before leaving the company and there was no litigation hold in place.
Is there any way to recover all of the deleted items, preferably via a PowerShell script? We'd need to recover all of the folders, subfolders, and online archives.
I realize we can recover emails one by one up to a point but this will take far too long to be feasible.
Thanks in advance!
Pretty much all the text that I have read on enabling Hindi (Complex Text Rendering) involve enabling it via Regional Settings Languages Install files for complex script support and left to right languages (including Thai).
However, I am able to read Wikipedia without having this feature enabled. Is this normal or is this an anomaly with my Win XP SP1 CD?
I have been searching for a way, script, rain dance, to automate the restore of several BESR 8.5 created images (v2i file extension). Does anyone have any experience on how to pull this off?
I have tried Ghost Solution Suite 2.5, but it doesn't seem to work with images that are password protected.
Any help, tool, 3rd party program, etc, would be greatly appreciated.
Thanks
I am trying to write a bash script that will rsync only a specific subset of folders. I am trying to figure out a more slick so that I can just add a variables such as FOLDER1='name of folder in home directory' and then
rsync -arvz --delete /home/emka/$FOLDER1/ /home/emka/Desktop/Mount/$FOLDER1
Currently I have FOLDER1 through FOLDER13, but I do not want to have the above line thirteen times.
Could someone give me a push on how to do this?
Hi, I'm running ubuntu on my notebook and I need a way to check (from the command line) if the power cable is connected. Is there any system file that keeps log of this? or is there a bash command that will help me?
I need this for a script that will behave differently depending on whether the power cord is plugged in or not.
I'm on a Mac (10.6.5). Here's an example of what's going wrong:
[m@m ~ (master)]$ cd ~/Documents
[m@m ~/Documents (master)]$ cd ~/Applications
[m@m ~/Applications (master)]$ cd ~/Library
[m@m ~/Library (master)]$ cd ~/Sites/somesite
[m@m ~/Sites/somerepo (FEATURE_SOMEFEATURE)]$
Here's the relevant contents of my .bash_profile:
source ~/.git-completion.bash
PS1='[\u@\h \w$(__git_ps1 " (%s)")]\$ '
I'm using the standard git-completion script - I just copied it to my home directory.
If I can't ssh as root to each of my servers how can I make modifications in an efficient way?
I am not allowed to setup ssh keys or open the sudoers file with NOPASSWD. I can't install puppet or spacewalk.
Sometimes when I try to include a sudo command in a script I get the error "no tty present." Has anyone worked in an environment like this?
I need to receive SMTP mail and pipe it to a program. Can the IIS SMTP server deliver mail to a script or program?
I've looked on 2008 R2, but don't see an option for this.
How to delete duplicate restored user files with "(2)" added (Win7)
I restored my user files on windows 7 system from the Win 7 backup. I selected the wrong restore option and all files were restored. Existing unchanged files were restored with the text string " (2)".
Is there a way to write a batchfile or script to do this operation?
Example file name:
"01 lesson 1"
"01 lesson 1 (2)"
I want to delete all files which had " (2)" appended on restore.
I set the global settings of the machine to use an autoproxy configuration script. e.g. http://autoproxy.mycompanydomain.exe:8080, but still there are some network apps that require an explicit proxy setting. I assume that this is because those apps don't know how to access the global proxy settings. How can i see the global proxy settings that were configured automatically so i can copy them to the settings of these troublesome apps?
This would be in OS X 10.6...
I know I can connect a server share as a volume and do so via a script so every time I boot up it gets mapped.
How can I make sure that same share is mapped after my computer comes out of sleep mode? It seems like the connection gets dropped. Can the same process map the drive for me when I boot up?
I am writing a RHEL kickstart script, and in my %post, I need to install a JRE.
Basically, the current setup involves me needing to manually go in after first boot and set the newly installed JRE as the default using the alternatives --config command. Is there a way for me to pass arguments to alternatives so I don't have to manually pick the correct JRE?
i following the tutorial of the
http://www.howtoforge.com/mirror-your-web-site-with-rsync-on-fedora-10
i have completely step by step following the instructions and setup the key, script
my problem is when i use server1 to type the command , it still prompt me for password.
then i look the /var/log/secure, i 've found the message
Authentication tried for root with correct key but not from a permitted host (host=123132132312.static.ctinets.com, ip=20x.80.236.xxx).
can anyone help?
I'm running a certain script that is using a non-root user to do the following...
mkdir: cannot create directory `/srv/www/example.com/releases'
*** [err :: 12.23.45.789] : Permission denied
How would I allow user xyz to have permanent permissions to do so and still keep this web server secure? Also is it possible to make it recursive for all subfolders?
I know its probably chmod something but I'm not that linux savy, thanks.
This question is an exact duplicate of:
Find all duplicate files by md5 hash
1 answer
I have a folder with osme images. Each of them has a different name but some of them are duplicate.
What is the best way to delete the duplicates? I have to do it sistematically so I need some shell command/script to invoke.
No limitation of used software, just no strange software..
I'd like to do it both in a Mac and in a Ubuntu systems