10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I encountered a weird question while using tcsh. I wrote a test script trying to control 'history' behavior as below,
set history=(1000 "%h\t%Y-%W-%D %P %R\n")
set savehist=(1000 merge)
alias precmd 'history -S;history -M'
I was hoping all the user's commands input in multiple terminals... (6 Replies)
Discussion started by: bestard
6 Replies
2. Red Hat
Hi,
I have a problem with a Files system.
# df -h
Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
/dev/cciss/c0d0p3 5,7G 3,7G 1,8G 68% /
/dev/cciss/c0d0p1 97M 9,9M 82M 11% /boot
/dev/cciss/c0d0p7 2,9G 2,0G 802M 71% /cache
tmpfs 506M 0 ... (2 Replies)
Discussion started by: Castelior
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Anyone knows why I can't display the contents of my directory and how to fix this?
http://i50.tinypic.com/4smfth.jpg
Thanks in advance for any advise.
Deanne
Double post. Continued here. (0 Replies)
Discussion started by: Deanne
0 Replies
4. Shell Programming and Scripting
So I have this script titled "testing.sh"
#!/bin/ksh
#PROGRAM INITIALIZATION
HomeDir=/home/sap/gl/ftp
server=testftp01
userid=ftp_uatollmsgbus
password="f&p53715"
MSGLOG=${HomeDir}/msglog.txt
FTPLogTmp=${HomeDir}/testing.tmp
FTPLogFile=${HomeDir}/testing.log... (1 Reply)
Discussion started by: kdyzsa
1 Replies
5. UNIX for Dummies Questions & Answers
$ls -lrt
-rw-r--r-- 1 rathodr users 1757 Jan 6 13:36 cleanup.archive.files.pl
-rwxr-xr-x 1 rathodr users 20503 Jan 6 13:52 alarm.control.pl
-rw-r--r-- 1 rathodr users 20503 Jan 9 04:52q
The last file seems to be a weird file. I am not sure how was it created. Maybe... (5 Replies)
Discussion started by: rahulrathod
5 Replies
6. HP-UX
Hi,
I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can... (10 Replies)
Discussion started by: IngmarMeins
10 Replies
7. UNIX for Dummies Questions & Answers
I recently purchased a book titled Hacking: The Art of Exploitation. When I got it home I read the preface and found out that i shouldnt have bought it. It says the code examples in this book were done on an x86 based computer (I have a mac). Is there anything I can do to make my mac run similar to... (2 Replies)
Discussion started by: Cyberaxe
2 Replies
8. Shell Programming and Scripting
Context: Apache 2.0, Redhat 8.0, Perl 5.80
I am using the follwing line to write a file
open UPLOADFILE, ">$writeto" or errorcantwrite();
which works just fine when the directory permissions are 700
However .... I dont want to have a directory that allows users to both upload and... (1 Reply)
Discussion started by: andyj
1 Replies
9. 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
#!/bin/ksh
VAR='Oranges'
if
then
echo "Found Lemons"
elif
then
echo "Found Oranges"
fi
The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies
10. UNIX for Dummies Questions & Answers
I need a script to do the following and have no idea how to do it...can someone help?
I need to start Sql*Plus, load a query, say "unmatched.sql", run the query, then load unmatched.sc and run it, then print the output file that unmatched.sc created...
any help greatly appreciated.
Duckman (2 Replies)
Discussion started by: Duckman
2 Replies