9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to run a local shell script on a remote machine. I am able to achieve that by executing the command
> ssh -qtt user@host < test.sh
However, when I try to pass arguments to test.sh it fails.
Any pointers would be appreciated. (7 Replies)
Discussion started by: Sree10
7 Replies
2. UNIX for Dummies Questions & Answers
i vi .profile Set DATE `date +%m%d%Y%H%M`, but after logout/login, echo $DATE, it shows: Fri Mar 23 15:01:53 EDT 2012, i want to show: 032320121501
please ignore.
vi /etc/profile, and export DATE=`date +%m%d%Y%H%M`, worked fine now. (0 Replies)
Discussion started by: lawsongeek
0 Replies
3. Solaris
Hi
Can i ask?
I had multiple solaris workstation running and some local users using it. Is it possible to bind to the local user terminal or console he's using as if like the user well type and I can see it and what my typing in the local user see it also.
Is it possible..
Thanks. (3 Replies)
Discussion started by: jao_madn
3 Replies
4. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
5. Solaris
Is there a way to disable a certain local user from remote login, and only allow su to that user. :confused:
i know i can stop remote login for root user, i need it for other users.
Appreciate your help (4 Replies)
Discussion started by: mduweik
4 Replies
6. UNIX for Dummies Questions & Answers
Hey everyone,
I'am a little new here and experincing Unix for the first time. I was wondering if somone could help me with this question i'am a bit stuck on
Looking at the content of .profile login script
The .profile file is in your login directory. It is a startup script file... (1 Reply)
Discussion started by: worldsoutro
1 Replies
7. Shell Programming and Scripting
Hi..
i was just looking to know the diffrence between this three terms
1) .cshrc 2) .login 3) .profle but iam failed to findout the exact diffrent
Please can any one share the diffrence between this
regards
Syed (1 Reply)
Discussion started by: smuqtaderali
1 Replies
8. UNIX and Linux Applications
Dear experts ...
Please any one can describe the diffrence between this three
1) . cshrc
2) .profile
3) .login
cheers
syed (1 Reply)
Discussion started by: smuqtaderali
1 Replies
9. UNIX for Dummies Questions & Answers
All,
I had a request to delete filed under a directory that was 35 days old . And they asked me to scedule it in CRON . I have done that .
I have use find and delete with mtime to perfrom this task .
But my script is not deleting this .cshrc,.exrc,.login,.profile,.sh_history file... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies