10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a simple awk script:
to which I provide the following input
22.2 27 (4 Replies)
Discussion started by: jamie_123
2. UNIX for Dummies Questions & Answers
I have a weird issue going on with the join command...
I have two files I am trying to join...here is a line from each file with the important parts marked in red:
file2:... (3 Replies)
Discussion started by: dbiggied
3. Shell Programming and Scripting
Here is my script and it's an imaginary script to recast a string randomly.
# scriptname: recast_string
# purpose: recast a string randomly like this "abc123" --> "21a3cb" or "a31b2c"
local... (4 Replies)
Discussion started by: franksunnn
Sorry for the title because I didn't find a proper name for it. My question is about POSIX functions, such as timer_create(), mq_open() and pthread_create().
struct mq_attr attr;
attr.mq_maxmsg = 10;
attr.mq_msgsize = 64;
mq_unlink("/my_test_queue");... (6 Replies)
Discussion started by: bus147
5. Infrastructure Monitoring
I want to install net-snmp-devel package but i have following dependecy problem.
It's very odd, i don't get it. One of packages is depended on the other one, the other one is depended on the previous one as well. :S :S
Could you help me please?
Here are the steps:
# ls -l
total... (4 Replies)
Discussion started by: oduth
6. UNIX for Advanced & Expert Users
I've Ubuntu 8.04, and it has some files that I just cannot delete. I've tried everything, inode, fsck etc.
Here is what the ls -li outputs
root@ubuntu:/home/luser/.local/share/Trash/files/junk# ls -l
ls: cannot access TRUNK_: No such file or directory
ls: cannot access 2006_output.mv:... (11 Replies)
Discussion started by: nitin
7. Shell Programming and Scripting
I have a script which is:
for file in `grep qtc $PIC_SHS/xback00.ksh |cut -d"=" -f2`
cp $file ./
output of grep is
$ grep qtc $PIC_SHS/xback00.ksh |cut -d"=" -f2
$PIC_BIN/XPBACKSS0.qtc... (2 Replies)
Discussion started by: vamsi.coe
8. Shell Programming and Scripting
I am trying to find the difference in days between 2 dates.
I have to extract the 1st date from a filename, which i did using the awk command.
I have to compare this date to today's date and if the difference is greater than 30 days, do something, else do something else.
This is what i wrote... (22 Replies)
Discussion started by: meeraKh
Greetings To All!
I am running Solaris 10 in a sparc environment.
Here is the deal:
In /var/spool/cron/crontabs, there is a cron user named "sys". If I do a
crontab -l sys, it returns:
# 0 * * * 0-6 /usr/lib/sa/sa1
# 20,40 8-17 * * 1-5 /usr/lib/sa/sa1
# 5 18 * * 1-5 /usr/lib/sa/sa2... (8 Replies)
Discussion started by: RobSand
10. UNIX for Dummies Questions & Answers
I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler
echo "Found Lemons"
echo "Found Oranges"
The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99