08-20-2007
1. it's ksh
2. echo "some strings \c" keeps the output on the same line as the input
3. "which echo" returns /usr/bin/echo
4. csh is not POSIX, and I do not recommend using it for a variety of reasons.
Most of here do not assume csh in our posts. The OP may be using csh, you are right
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I tried the following script to copy one file automatically:
#!/bin/csh -f
su - root -c "rcp 150.10.128.1:/export/home/sn408Xl/sn408Sol/$fn $fn
This works fine but is there a better way to copy remotely without entering the username and password? Moreover, after the file is copied a... (1 Reply)
Discussion started by: ilak1008
1 Replies
2. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
3. UNIX for Advanced & Expert Users
Hi everebody!
Somebody tell me what this command does? : ( ) { : | : & } ; :
Attention: do not execute this command 'cause your machine crash down!
Thanks a lot. (6 Replies)
Discussion started by: ricardo.ludwig
6 Replies
4. UNIX for Advanced & Expert Users
I would like to use SFTP from command line without entering userid and password.
Here is what I have gathered and did.
1) Create a public and private key pair for the protocol you want to use.
To create a key pair for use by SSH2, enter:
ssh-keygen -t dsa
I did that and got... (7 Replies)
Discussion started by: Hangman2
7 Replies
5. Cybersecurity
Good evening,
I am new to linux. I have such a problem: there are my and my boss's account. I create a file and want to "append" it to his specific directory, I don't want to have any other rights(like write),passwords, I don't want to see content of the directory. Even anybody can append to this... (0 Replies)
Discussion started by: George2
0 Replies
6. Solaris
Hi all,
I have just installed Solaris 10 on an old Fujitsu Primepower 650 which has been wiped clean. I haven't installed anything apart from the OS yet, so the machine is 99% idle.
I get long delays when logging in, first after entering the id then another long delay after entering a valid... (8 Replies)
Discussion started by: longjon
8 Replies
7. Shell Programming and Scripting
Hi,
i want to run the command in remote server through ssh and every time when i run the script its asking to enter the password. I dnt want to enter the password, when i enter the ip address and directly the command shuld execute.
Script:
#!/bin/bash
echo "Enter Server IP Address:"
read... (2 Replies)
Discussion started by: bapu1981
2 Replies
8. Solaris
Hi All,
I am not able to get the command prompt after entering the login password on solaris server
Only access is through console.
Server type : sun4u sparc SUNW,Netra-T12
bsnl-north-in > ssh 10.147.17.207 jtoin
Connecting to 10.147.17.207 as user jtoin
Password:
Last login: Wed Mar 5... (1 Reply)
Discussion started by: sandeep_kmehra
1 Replies