10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello i am having an issue with bash script and this is the code
now=$(cat hosts1.txt | awk '{print $2;}')
while read n ;do
ssh root@$now 'useradd test1; echo -e "test1\ntest1" | passwd test1 && echo "test1 ALL=(ALL:ALL) ALL" >> /etc/sudoers'
When i execute only part with cat, it... (8 Replies)
Discussion started by: tomislav91
8 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Discussion started by: sarbjit
3 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
I have installed redhat santiago on my system but keys ar not working
properly after installation , like for | (pipeline) it types "~" and for other
special keys also.
also man command doesnt work
pls help (0 Replies)
Discussion started by: Jcpratap
0 Replies
4. UNIX for Advanced & Expert Users
I'm using RedHat Linux 6.1 and wanted to create an user account with only access to single directory. Have followed all the steps from below link and still user is not able to login:
How to Setup Chroot SFTP in Linux (Allow Only SFTP, not SSH) (link removed)
While the other users, which... (10 Replies)
Discussion started by: asyed
10 Replies
5. Red Hat
Hi all
i am adding one more scsi hdd in my vmware testing environment with Redhat 9 .
But the following commands are not working i found that these commands working on rhel 6.
ls /sys/class/scsi_host
echo "- - -" > /sys/class/scsi_host/host0/scan
please let me know the commands for rehat... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
6. Emergency UNIX and Linux Support
Hi,
I have a dell T3500 running redhat 4 U8 with a X-Fi Titanium sound card. However alsaconf cant seem to see it. It shows up in lspci:
uname -a
Linux swlin114 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 23:27:13 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
01:00.0 Audio device: Creative Labs... (2 Replies)
Discussion started by: chris.lewis28
2 Replies
7. Shell Programming and Scripting
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies
8. UNIX for Advanced & Expert Users
Hi ! All
I'm big fan of Unix/Linux . I want understand the basics of linux/unix version and How they are related to Vendor ... releases.
uname -a will give the OS details. But can somebody provide me a pointer , to understand the very BASICS of these terminology like
Million Thanks.!!! (2 Replies)
Discussion started by: dashok.83
2 Replies
9. Red Hat
I had two high speed 1gb mem installed on my primary mem slots. When i tried to add two PNY adp648tm-50 mem, 1gb each on the two empty mem slots, it didn't work.
However both the old and the pny mem by themselves work and the system boot up, but fails if I put all the memories in there.
Any... (0 Replies)
Discussion started by: return_user
0 Replies
10. UNIX for Advanced & Expert Users
We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave.
We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation.
However, no matter what i do, the SUSE machines will not talk to the NIS Servers.
If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies