9 More Discussions You Might Find Interesting
1. IP Networking
I have vmware on my windows PC ( hostname : acer ).
vmware has RHEL 7 ( hostname : rhel7 ) installed recently.
RHEL IP configuration
IP : 192.168.5.128
Netmask : 255.255.255.0
ssh to rhel7 works from acer using putty
resolve.conf
cat /etc/resolv.conf
nameserver 192.168.5.1
host... (12 Replies)
Discussion started by: hiten.r.chauhan
12 Replies
2. Shell Programming and Scripting
Hi ! :)
I made this :
#!/bin/bash
rsa_dir="/etc/openvpn/easy-rsa/"
rsa_key_dir="/etc/openvpn/easy-rsa/keys/"
ccd_dir="/etc/openvpn/ccd/"
regex_special_char=''
cd $rsa_dir
while
read -p "Please can you enter the vpn's username : " username
] || ] || ] || ]
do
echo "Your entry... (10 Replies)
Discussion started by: Arnaudh78
10 Replies
3. Shell Programming and Scripting
Good afternoon,
I am tearing hair out over this. It should be so simple. I have an if statement to evaluate whether or not replication is working. I am testing variables from mysql to see if they are both "Yes". I have put some echo statements in to see how far the code proceeds. It always... (6 Replies)
Discussion started by: jimm
6 Replies
4. Shell Programming and Scripting
Hi.
Here is beginning of my script
#!/usr/local/bin/expect --
set timeout 15
spawn /usr/local/account.sh -n modify
expect "Password:" {send "mypassword\r"}
But due to some terminal control sequences (or something else, dunno exactly) my password prompt is looking like this:
and expect... (3 Replies)
Discussion started by: urello
3 Replies
5. Programming
Hey,
I'm currently getting into some kernel module progamming. As a little exercise I want to read the headers out of an ELF file. My code is very simple, here is the important part:
struct file *fp;
/* ... */
fp = filp_open("some/file/on/my/pc", O_RDONLY, 0);
if(fp == NULL) {
... (15 Replies)
Discussion started by: disaster
15 Replies
6. Shell Programming and Scripting
korn shell
If
then
update_smartcare_user_password "$u_id"
else
echo "Not a database user"
fi
i get this error
Syntax error at line *** : `then' is not expected.
what should i do.
I want to check whether $a is null or not. (2 Replies)
Discussion started by: sachin.gangadha
2 Replies
7. HP-UX
hi folks,
i've got a blank hp visualize C3000 workstation and installed HP-UX 11.11. When I want to start X, I get the following error message:
# X
Fatal server error:
Couldn't open X pointer device! Is one attached?
I've connected an mouse and a keyboard with an usb/ps2 connector.... (5 Replies)
Discussion started by: grisu
5 Replies
8. Shell Programming and Scripting
hi forum
i beginning with script and i want test un null variable in a schell
i just don t know the syntax here is a litle example
y=test
echo $y
unset y
echo $y (so here Y = Null)
if Y=Null
then
echo "y is null"
exit
fi (1 Reply)
Discussion started by: kykyboss
1 Replies
9. Shell Programming and Scripting
I'm nearly finished my program i've got everything in place and than when i run it it comes back with the reply mv: command not found. This is the code that seems to be causing the problem.
elif
then
echo "There are more than one '$1' files in the system."
echo "Please... (2 Replies)
Discussion started by: zoolz
2 Replies