10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
Discussion started by: SkySmart
2 Replies
2. UNIX for Dummies Questions & Answers
I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore.
Here is what 's happening:
* I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies
3. Red Hat
hi,
I have the following permission problems with cifs.mount : a share on a VNXe (EMC NAS) is accessed by two RHEL 5.9 accounts (authenticated by Active Directory); One account has read+wite permission to the share , the second one has only read permission. Both accounts uses the following... (0 Replies)
Discussion started by: Zarake
0 Replies
4. UNIX Desktop Questions & Answers
I'm hoping someone here can help me. I'm computer literate but by no means an expert! I'm simply trying to recover data from my DLink DNS343 NAS mounted on my X86 iMac using SMB. Somehow, in moving to a new computer, I have lost access to some files on the NAS. Just some files are access denied.
... (0 Replies)
Discussion started by: Quantaa
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to provide more than one character to "> /dev/tty" through terminal/keyboard input, I have this:
ok=false
while
do
echo " Enter r1 to reformat "
> /dev/tty
read choice
case $choice in
)
echo " bla bla bla "
;;
done
However, in this way,... (3 Replies)
Discussion started by: Gery
3 Replies
6. OS X (Apple)
Hi all,
we are just confused about a strange problem on one server in production (XServer, running OSXS 10.5.6). It works normal for month. Since two day everthing seems to be fine also with one exception.
When we connect trough ssh we won't get a tty session. For testing purposes, we enabled... (2 Replies)
Discussion started by: Frank.Knobloch
2 Replies
7. UNIX for Advanced & Expert Users
See below:
root#host:/home>ls -la | grep mirus
drwxr-xr-x 31 mirus staff 2048 Dec 30 11:01 mirus
root#host:/home>su mirus
su: /home/mirus/.bashrc: Permission denied
mirus#host:/usr/home>id
uid=1227(mirus) gid=20(staff) groups=20(staff)
mirus#host:/usr/home>cd ~/
su: cd:... (3 Replies)
Discussion started by: mirusnet
3 Replies
8. Programming
i am executiing some commands using system an popen command in c.
while executing the code .
some data is shown on terimal without using any print statement.
how can i solve this problem
thank u
sree (1 Reply)
Discussion started by: phani_sree
1 Replies
9. UNIX for Dummies Questions & Answers
I have a .rdist & .sh files.
shell script contains code like this
rdist -h -f <rdist file>
when this script executed i am getting the following error.
rdist:<full path of files>: Permission denied.
I verified the folder on the other system by connecting FTP.It doesn't has write... (0 Replies)
Discussion started by: Mar1006
0 Replies
10. UNIX for Dummies Questions & Answers
Dear all,
when I do a remote shell command from a FUJITSU Unix to an HP-UX,
I always get this:
15:36:35 + rsh -l storto obs2 sh /users/obs/storto/MESO-NH/tmp_olive_map_00CC/job_prepex_70JY_C00CC_20041103_19
Not a terminal
stty: : Erreur inconnue
stty: : Erreur inconnue... (0 Replies)
Discussion started by: stortignauz
0 Replies