LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Shell with many functions

Posted 04-14-2010 at 02:35 PM by path_finder

Write a shell script named daily-backup.sh that does the following:
- Discovers all users defined on the system excluding system and services users.
- For each of these users, locates the home directory and create an compressed archive for this directory (.tar.gz).
- Creates a global archive that contains all archived users home directories and save it in /var/backup.
- The script should be daily run at 1AM and for each execution, the global archive name should reflect...
LQ Newbie
Posted in Uncategorized
Views 3340 Comments 0 path_finder is offline
Old

Shell Script writing (URGENT)

Posted 04-14-2010 at 02:04 PM by path_finder

Write a shell script that swaps the contents of two files. The shell script should be called swap.sh.
The swap.sh script should take two arguments as input. They indicate the two files to be swapped. You should check that the proper number of arguments have been passed and that the filenames passed on the command line have the proper permissions set. You should also check that any temporary files used during the execution of the script do not exist. If any of these checks fail, then print...
LQ Newbie
Posted in Uncategorized
Views 1577 Comments 0 path_finder is offline
Old

LinuxExchange.org: new site from jeremy@LQ

Posted 04-13-2010 at 08:42 PM by Web31337 (In The Middle Of Nowhere [edK's blog])

http://www.linuxquestions.org/questi...ge-org-801793/
Visit http://linuxexchange.org/ and participate! It's gonna be fun!
Member
Posted in Uncategorized
Views 631 Comments 0 Web31337 is offline
Old

back from vacation

Posted 04-13-2010 at 10:31 AM by Web31337 (In The Middle Of Nowhere [edK's blog])
Updated 04-13-2010 at 10:32 AM by Web31337

I've been on a vacation in Miass city. Well, not exactly in city, I lived outside it, near Turgoyak lake. If you're interested what's the nature out there, you may wish to see images I've picked up for you:
http://www.turgoyak.com/foto/--1/
http://www.redtape.ru/forum/showthread.php?t=9770
http://upload.wikimedia.org/wikipedi...6/Turgoyak.JPG
Unfortunately, I haven't yet fixed my old cam, so I can't share my own photos :( And anyway I have not too many photos,...
Member
Posted in etc
Views 937 Comments 4 Web31337 is offline
Old

Things not to do in Linux Part 2

Posted 04-12-2010 at 11:19 AM by spampig

Well, it cost me a nights sleep but thankfully being Linux and having taken a backup it was going to be a breeze to sort it out.......

Imagine my tears when I found that my backup was only partial and was weeks out of date. I could kick my own backside!!!

Fortunately I had kept my home on a separate disc, so I was not at the worst place I could be. It seemed like the perfect time to 'upgrade' to 9.10 (or, I don't have any other disc lying around). Apart from a few moments...
Member
Posted in Uncategorized
Views 702 Comments 1 spampig is offline

  



All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration