10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
2. Programming
hi,
i have to do a program with following condition. please help me to write the program.
conditions-i have to create a thread with handle called first and it should call the member function(may do anything lik print anything) of a class called thread1 and for example let take that this first... (5 Replies)
Discussion started by: senthil.march
5 Replies
3. Shell Programming and Scripting
If the element found in array2 doesn't exist in array1 i want i to be deleted. This code doesn't work correctly. What's wrong? Is there a simpler solution?
for (( i=0; i<=${#array2}; i++ ))
do
for (( v=0; v<=${#array1}; v++ ))
do
if }" = "{$array1}" ]
then
count=1
break... (3 Replies)
Discussion started by: iums1
3 Replies
4. UNIX for Dummies Questions & Answers
I have open suse kernel kernel 3.1.0-1.2-desktop on which I used kernel source 3.1.10-1.2 downloaded from kernel.org.
The module gets built.
While loading a kernel module I am getting Invalid module format error with description "first_driver: no symbol version for module_layout"
The... (5 Replies)
Discussion started by: rupeshkp728
5 Replies
5. Ubuntu
I have built kernel 2.6.35 on my Ubuntu system with some specific requirement. I also built some app defined module with the same kernel. I booted up the built version and I find it did not work properly as there is some gui and other modules missing problem. But the system booted up and I did... (0 Replies)
Discussion started by: sunilsukumar4u
0 Replies
6. Shell Programming and Scripting
hello,
i need to modified my synch/back scripts....
i want that this script only syncro folders in destinationfolder.
f.e. when in destination are two folders
1) admin
2) users
but in SOURCE are three:
1) admin
2) users
3) antivirus
the script should only increnmential sync the... (0 Replies)
Discussion started by: onkeldave
0 Replies
7. UNIX for Dummies Questions & Answers
i want to do file synchronisation...its a client-server model..have to do system call 'ls -l' in both client and server ..the server has to keeep track of client files and have to keep a back up of client files..and tracking must be done based on time stamp..
suppose if client contains a file... (2 Replies)
Discussion started by: shilpam,edappal
2 Replies
8. UNIX for Advanced & Expert Users
Hello, hope my english will be sufficient to be clear enough...
I'm in progress on some script that should copy one big source file (200GB average) on one sata drive, to multiple (30+) sata drives.
Hardware is not the problem but copy performance is... If i launch all copy process at the same... (4 Replies)
Discussion started by: Gnaag
4 Replies
9. UNIX for Dummies Questions & Answers
Hi Everyone,
I am relatively new to Linux. After about three months of trying to compile a driver for a ESDCAN card, I finally found a version and kernel that worked. I am running Slackware V12.0 with kernel version 2.6.24.5-smp. When I use insmod to insert the driver file (esdcan-pci331.ko),... (1 Reply)
Discussion started by: Brian-UOIT
1 Replies
10. UNIX for Advanced & Expert Users
hello everybody
i want to do synchronisation to access a shared memory bu i don't know too much how
well i know that i should use semaphore
have you any example of synchronisation of a shared memory by use of semaphore because i haven't find any
thanks (0 Replies)
Discussion started by: student00
0 Replies