10 More Discussions You Might Find Interesting
1. Red Hat
hello every one.. i'm new here... so this is my problem.. have vsftpd server.. and can't log in.. my config:
# Example config file /etc/vsftpd/vsftpd.conf
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.... (4 Replies)
Discussion started by: pilate
2. UNIX for Dummies Questions & Answers
I have this code:
NR == 2
repl = "PHI"
$4 = repl
print $0 'dryloop.txt
and this code:
sed -e '1s/\|$/\|COMID\|/g' -e 's/^087.*$/&PHI\|g' hl.dsldryloop > textdry.txt
My code won't work. I want to change the COMID of lines starting with 087 .
this is my... (15 Replies)
Discussion started by: arkhei
3. Shell Programming and Scripting
I have problem in the following shell script (problem in 2and3 line i guess)
set value1 = 90;
set value2 = 70;
if ; then
echo "$value1 is normal"
echo "$value2 is abnormal"
$ value_test.sh (Enter)
Neither it's printing... (13 Replies)
Discussion started by: user__user3110
4. Shell Programming and Scripting
When i run this command, everything is ok. The file can be email and attached but soon after i download the file, the file cant be read. It's seem corrupted. Totally cant be read although i'm using context or wordfile. Original file generated at ek_bkup/alert/tbspace_datafile.log is OK.....
... (7 Replies)
Discussion started by: adzuanamir
5. Shell Programming and Scripting
I have included my script below, pls read thro this req. I want my script to run for every hour , the problem is I CANNOT USE CRONTAB which is prohibited inside the company. My script does what it is supposed to do (to determine the memory and then send a email if it crosses a certain... (2 Replies)
Discussion started by: vivsiv
6. UNIX for Dummies Questions & Answers
I have this situation in my script (simplified):
I need to get number 10 using just A variable.
I tried with :
echo $`echo $A` - but i get $C string (i need number)
Thanks very much for any help! (1 Reply)
Discussion started by: xfouxs
7. Shell Programming and Scripting
I need your help guys. I have two data files, namely 101.amberized.pdb & 101.pdb .
Now I want to replace the whole 3rd column of 101.amberized.pdb with the 3rd column of 101.pdb file. How do I do it in shell?
Thanks in advance
Parimal (11 Replies)
Discussion started by: chuchu
8. Shell Programming and Scripting
eg: If I execute an example tail statement to put rows from one file to another, it truncates some of the data.
/carrier>wc -l IntIndA.txt
/carrier>tail -1918 IntIndA.txt > test
/carrier>wc -l test
The tail command should copy 1918 rows to test file instead of... (4 Replies)
Discussion started by: subbukns
9. UNIX for Dummies Questions & Answers
Hi, I'm a newbie.
I need help on my first assignment in UNIX.
1. How do I determine the number of non-empty directories?
I was told to create a variable ARCHIVE, which points to the directory that contains the archive of the messages. But I'm so dumb and I don't even know how to do this.
2. In... (1 Reply)
Discussion started by: hygsg
10. UNIX for Advanced & Expert Users
During Sun Solaris 8 installation, I did allocate 1 G for the swap partition. By doing a "df -k" shows the swap space usage is only 1% even during the application server is heavily processing.
However, when I do a "vmstat", it shows that the swap memory free space is only 8816 out of 1419100.
... (1 Reply)
Discussion started by: champion