10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to clear ACL's completely from all files and folders in a directory. I can get the directories as cleared as:
# owner: root
# group: root
What ever I do I can't remove the... (4 Replies)
Discussion started by: hburnswell
2. UNIX for Dummies Questions & Answers
Is wc -c and wc -m same ?
Shellscript::cat file1 | wc -c
Shellscript::cat file1 | wc -m
file1: ASCII text
Linux was85host 188.8.131.52-0.1-vmi #1 SMP 2010-02-22 16:49:47 +0100 i686 i686 i386 GNU/LinuxAtleast... (5 Replies)
Discussion started by: shellscripting
3. UNIX for Dummies Questions & Answers
Can anyone guide me whats happening in this program given below. I got the Output 7 7 12 49... i was expecting 5 16 9 25.
First is simple (3+1)*(3+1)
Second is again 3*3; i =4 now
Third i =5 then 5*5;
i don't know where i am going wrong!
#define PRODUCT(x) (x*x)
int... (5 Replies)
Discussion started by: Abhishek_kumar
4. Shell Programming and Scripting
If a declare a direct hash , then the hash element works fine.
my %test = ("test",1);
Here in the above, the name of the hash is predeclared...
Suppose now I need to create the hash elements dynamically in the for loop.
my... (1 Reply)
Discussion started by: scriptscript
5. Shell Programming and Scripting
I have a problem in counting number of process getting run with my current script name..
Here it is
ps -ef | grep $0 | grep -v grep
This display just one line with the PID, PPID and other details when i print it in the script.
But when I want to count the numbers in my... (11 Replies)
Discussion started by: sathyaonnuix
This is a small program built on the concept of shared memory. The producer is a separate program and process, and the consumer is a seperate program and process. Both are executed under the same user account. The producer takes some string from the user and adds that string to the... (1 Reply)
Discussion started by: gabam
20GB space (1GB Swap),and installed Centos 5.7-x86 arch. I want to use this VPS to host 2-4 domains, all of WordPress. What I want to ask is:
1. Do I need a VPS management software before installing Webuzo (from Softaculous)? If yes, what was his name?
2. Do I need to install the software... (0 Replies)
Discussion started by: Byeron
8. UNIX for Dummies Questions & Answers
I come across an entry in cron which is in such:
0 * * * *
What is the first 0 indicating? 0 minute? meaning a script cron as such will run every minute? :confused: (2 Replies)
Discussion started by: user50210
9. UNIX for Dummies Questions & Answers
Good day, everyone!
Could anybody explain me the following situation.
If I'm running similar script:
echo $Var | tr -t "$Var" "$Var2"
Why the output is :
instead of Anna Kurnikova?
Thank you in advance for any... (2 Replies)
Discussion started by: Nafanja
10. UNIX for Dummies Questions & Answers
I'm an intern at a company that recently bought out another business. In doing so, they inherited a unix system that contains files which they need to retrieve. No one in the company, including myself, really understands or knows unix so please respond with the true assumption that I'm a unix... (1 Reply)
Discussion started by: intern