10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In the attached file if I do a count for "aaaaaaaaaaaa" in either notepad++ or excel I get 118,456.
However, when I do either
grep -o aaaaaaaaaaaa 12A.txt | wc -w or
awk '{
for (i=1;i<=NF;i++)
if ( $i == "aaaaaaaaaaaa")
c++
}
END{
print c}' 12A.txt
I... (3 Replies)
Discussion started by: cmccabe
3 Replies
2. 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
3. UNIX for Dummies Questions & Answers
Hi folks,
I want to know how to run two unix programs on two different cpu cores on a 2-core or 4-core or 8-core CPU machine? Extending this how would i run four and eight unix programs on 4-core and 8-core machine respectively?
If this can be done, how to know which program is assigned to... (1 Reply)
Discussion started by: kaaliakahn
1 Replies
4. Ubuntu
I a writing a program which I would like to distribute commercially to Linux users. This question doesn't apply specifically to Ubuntu, but Ubuntu will be one of the Linux systems involved, and Ubuntu is one of the systems on which I have practiced installing. I have sufficient Linux experience... (5 Replies)
Discussion started by: BrandonShw
5 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. Linux
Hello friends,
I'm working on a Thesis and right now I'm in a phase of comparing a Linux vs Windows performance in similar situations on the same machine.
I'm asking here because I would like help on this, since I've always worked in Linux as an Administrator and a user, never as a... (6 Replies)
Discussion started by: lzcool
6 Replies
7. Programming
Hi i have encountered a problem and i have tried many different things but my brain just has some limitations lol well anyways i was trying to make this program work down below so i can process multiple commands just by separating them with ;. I would apeciate if someone could just make it work kuz... (2 Replies)
Discussion started by: dush_19
2 Replies
8. Linux
I have installed Red Hat Linux 9.0 recently on my computer.
Im wondering if there are any good sites for downloading linux programs besides the site of Red Hat.
Thank you in advance!:D (4 Replies)
Discussion started by: SolidSnake
4 Replies
9. UNIX for Dummies Questions & Answers
I am looking for an alternative. I am not wanting to try and run it using one of those fancy programs that can run windows programs. I am trying to cut the chord from MS so I am looking for good similar programs.
Any thoughts?
If there are none, then I guess I try to run it under Linux. ... (6 Replies)
Discussion started by: wizkid
6 Replies
10. UNIX for Dummies Questions & Answers
I am not sure how to install a program in linux. I have Java 2 on a CD the CD Mounts but then I'm lost. What do I need to do so that the programm will install on my system? Thank you,
Monkette (6 Replies)
Discussion started by: kdelph
6 Replies