The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
158 views

Scripting notifications for Outlook appointments on Linux

I've a similar question to the question Linux clients for Exchange calendar. Is there any way to allow Linux workstations to fetch the appointments out of the Exchange calendar? Unfortunately it's ...
1
vote
2answers
85 views

Download with the bash or Python while keeping the directory tree/structure

I have a list of files that I need to download such as www.domain.com/files/archive.zip www.domain.com/img/icon.ico www.domain.com/files/backup/archive.zip www.domain.com/backup/img/icon.ico ...
1
vote
3answers
456 views

append to end of line sed / awk

This is probably easy and something is not clicking for me and my lack of coffee right now. I have a file with multiple lines that begin with a tab then the word GROUP something { Some of these lines ...
0
votes
1answer
661 views

mail to alert when process start or stop

I have a requirement to raise alert when a particular process(suppose abc) start or stop. One of idea is to write a script that monitor process , Can you suggest any better idea. I can't install any ...
1
vote
1answer
83 views

$* vs $@ positional variable in linux

What is difference between $* and $@ positional variable in linux. I read somewhere using $* is is security risk. Is it true.
0
votes
1answer
44 views

best practice for similar linked tasks?

I'm setting up a server for a small office, that is accessable from the internet. Since our ISP has a transparent proxy, most dynamic dns services fail, other than dyndns (who isn't our provider) so ...
1
vote
1answer
315 views

Linux / Sendmail one liner having trouble with large directories

For whatever reason, spammers found a way to relay mail through a side-system. The exploit has already been addressed. The problem is that I had massive amount of emails in my /var/spool/mqueue ...
14
votes
4answers
8k views

Best book for learning linux shell scripting?

I normally works on Windows machines but on some occasions I do switch to development on linux. And my most recent project will be written entirely on a certain linix platforms (not the standard ...
0
votes
2answers
382 views

Safe to run backup script as root? or other way to aproach privileges?

I'm writing a backup script in BASH on a linux machine (gentoo) The script will backup all folders in a certain directory. The folders will have varying privileges and belong to different users and ...
2
votes
8answers
820 views

Alternative Linux Detection Methods To Detect A Compromised Host

This is a rewrite of my previous post as it was not entirely clear what I was trying to achieve. Hopefully this will make more sense :) In a nutshell what I am looking for is alternative methods to ...
3
votes
5answers
3k views

How to 'echo “” > x' on multiple files

What is the best way how to empty a bunch of files in bash? As far I've been doing this echo "" > development.log echo "" > production.log I don't really want to delete those files, so rm is ...