1
vote
1answer
79 views

Copy a file from ubuntu server to a nas drive

I would like to use a script to copy a sql file to a nas drive location. for example it would copy backup.sql to //10.1.1.124/backup/Backups.
2
votes
2answers
229 views

How to be warned if RAID 1 fails on Ubuntu 10.04

Good day, I have set up an ubuntu 10.04 LTS server with RAID 1. How can I can ensure that I am warned when the raid array fails. Is there a script to run that can check this and generate an email if ...
3
votes
3answers
254 views

After double-clicking a script on the desktop, show output in a terminal

I am trying to make a demo Virtual Machine. On the desktop, I have a script foo.sh and it outputs stdout to foo.log (e.g. with some command > foo.log) When I double click on the script, it ...
2
votes
1answer
141 views

Help convert console command to right-click command

I use this console command to automatically send all files in some directory to the JAR file, catch the output of that JAR file and finally create new files from the output. Here is the command for i ...
14
votes
5answers
18k views

Upstart script doesn't start

Ubuntu 10.04 I have created this upstart script (/etc/init/pure-ftpd.conf): # pure-ftpd - FTP server description "Pure-FTPd server" start on filesystem stop on runlevel S respawn respawn limit ...
7
votes
3answers
5k views

Call script after connecting to a wireless network

Is there a way for me to call a shell script once I connect to a specific wireless network? Reason I want to do this is I have to login to the network before I can start using it and I would like to ...
2
votes
1answer
223 views

How do I run a script automatically when I start an app?

I want to run a script automatically when an application start. How would I do this without making the script run at start-up? My current approach is writing a script with an infinite loop and made ...
6
votes
2answers
4k views

What is the default character encoding?

I don't myself know how deep this question actually goes (for example, for all I know there could be several, depending on my task). Particularly, I am interested in what kinds of strings are used to ...
1
vote
2answers
423 views

Nautilus doesn't show my desktop until I kill it

Something's wrong with nautilus. When I boot my computer and it logs in, Gnome shows, things are running, I can run programs and everything, but my desktop has no icons. I have to open a terminal and ...