10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all, I was just wondering if there are any consequences, or if its a problem to have a multiple scripts parsing (reading) the same file simultaneously.
For example, I have file.txt with lots of information.
cat script1.sh
grep "awesome" file1.txt > awesome.txt
cat script2.sh
grep -v... (4 Replies)
Discussion started by: torchij
4 Replies
3. Programming
I have several programs in several directories and want to use make to build the executables. What I have done is to put the main programs in their own directory together with a makefile to build the program. Then I am thinking of having another makefile residing in the directory above so I can run... (1 Reply)
Discussion started by: kristinu
1 Replies
4. Shell Programming and Scripting
Hi all,
Before I start writing my own file maintenance script, maybe one such program/scripts already exist somewhere :-)
Am looking for a file maintenance script/application that is configurable that I can use to process files under certain criteria, for example, removing files that are... (4 Replies)
Discussion started by: newbie_01
4 Replies
5. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
6. UNIX for Dummies Questions & Answers
Hi. I have a problem in running a program in linux system. This program (damaver.l86) is in the path /home/shenk/damaver/, and it needs to call another program (supcomb.l86) in another path /home/shenk/supcomb/. I tried to modified the .bash_profile, but it didn't work. The error message is always... (1 Reply)
Discussion started by: shenk
1 Replies
7. UNIX for Dummies Questions & Answers
I was curious how to tell which programs are accessing a file (libobjc.A.dylib) in /usr/lib
This file seems to be the culprit in a bunch of Safari crashes, and I just wanted to know if and what other programs use it.
Also, I was curious what a good way to find out what files are being written... (4 Replies)
Discussion started by: glev2005
4 Replies
8. Shell Programming and Scripting
I wanted to know the format everyone uses for cfg files that are called by shell programs. I do mostly sh and ksh scripts and many times I'm modifying an existing script to do another task.
Recently I have been making my scripts more generic and using configuration files to hold uniq details.... (3 Replies)
Discussion started by: tomas
3 Replies
9. Shell Programming and Scripting
how to write pipe for finding out the login names and login time of the users whose login name begins with p. (1 Reply)
Discussion started by: rameshparsa
1 Replies
10. UNIX for Dummies Questions & Answers
I notice that (Mandrake) Linux and Windows do not seem to operate alike in terms of installing third party software.
Windows, on one hand, creates icons and adds items to the Start Menu, with the help of the InstallShield--or equivalent, of course, but Linux, on the other hand, seems to care... (3 Replies)
Discussion started by: helvetica
3 Replies