10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hey all,
I'm running apache (cswapache2) on a Solaris 11.3 server.
Recently, if I create a new vhost, the service fails to restart, and enters in maintenance mode.
If I comment lines with log files, the service starts again.
I guess I've reached the limit.
I checked the current values... (8 Replies)
Discussion started by: omegared77
8 Replies
2. Shell Programming and Scripting
Actually I have many pictures with diferent name and size around 2000, I need generate a copy of them from one list of alias. The structure of the list is something like this:
alias_list.txt
<01>randomname.png<02>
Randomname.png
RandoMname.png
RandOmname.png
RandomnamE.png... (6 Replies)
Discussion started by: Tapiocapioca
6 Replies
3. Shell Programming and Scripting
Hi ,
Using bash shell (mintty) in cygwin/windows env. for some time and having issues with most basic commands.
Will be quite easy to get er done once I know how , just like magic tricks. I need either alias OR shell script to change windows to posix path AND put that line back -input OR .cd to... (2 Replies)
Discussion started by: sircuts
2 Replies
4. Shell Programming and Scripting
Hi
#Testing for file existence
if ; then
echo 'SCHOOL data is available for processing'
else
echo 'SCHOOL DATA IS NOT AVAILABLE FOR PROCESSING'
:
i wrote a script, where it begins by checking if file exists or not.
If it exists, it truncates the database... (2 Replies)
Discussion started by: rxg
2 Replies
5. UNIX for Dummies Questions & Answers
If one:
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies
6. UNIX for Advanced & Expert Users
Hello, How do i check number of files currently opening in the linux server? Your help is highly appreciated. Thank you
---------- Post updated at 02:43 PM ---------- Previous update was at 02:19 PM ----------
never mind!! I got it.
---------- Post updated at 02:44 PM ---------- Previous... (3 Replies)
Discussion started by: govindts
3 Replies
7. Shell Programming and Scripting
Im working on a shell script that uses three parameters, a string to replace, the string replacing, and a file name.
In this script it makes a back up file before the replacement occurs. However I want to be able to either search the file to see if it has the string and if it doesnt dont create... (5 Replies)
Discussion started by: gordonheimer
5 Replies
8. Shell Programming and Scripting
Hi,
I wrote a simple script to backup of index.php and index.html in my box. So, I wrote a script which take a copy of the index page as 1Mar09: but it does not comes up..
#! /bin/bash
find . -name index.* > domains.txt
for i in `cat domains.txt` ; do cp index* index*.1Mar09 $i; done
But... (6 Replies)
Discussion started by: gsiva
6 Replies
9. Shell Programming and Scripting
Hi ,
i' d like to use an awk script to automate the ripping of cds : here's how it works :
- i first create a file named songs.txt containing the name of the songs
- the scripts extracts the tracks of a cd with cdparanoia
- the scripts saves the contents of the dir with ls (ls > list.txt)
-... (0 Replies)
Discussion started by: krhamidou
0 Replies
10. HP-UX
Hi, i'd like to get the files which are opened by a process during his execution using the c language.
Thanks for helping me. (2 Replies)
Discussion started by: benoit.gaillard
2 Replies