10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need help with one of my shell script. The script is working fine but i need to add two condition -
i need to get rid of all the below ftp messages and need to have only ftp completed or failed message.
example when i run the script i get below lines -
Connected to xxxx
220 (vsFTPd... (1 Reply)
Discussion started by: chandraprakash
1 Replies
2. Shell Programming and Scripting
Hi everyone,
I have been using a shell script for the last 6 months to copy a database from a POS system, then analyse the database and print the current sales total. This has worked flawlessly, the only issue was that I had hard coded the IP address of the POS and occasionally I would need to... (23 Replies)
Discussion started by: gjws
23 Replies
3. Programming
If I am posting this to the wrong section please move it somewhere it fits. I apologize if this is not the correct section.
I have a site where I want to have form that in a "Visitor name" section to be able to add fieldets as needed. I think I have that worked out.
So the below code is the... (4 Replies)
Discussion started by: GroveTuckey
4 Replies
4. UNIX and Linux Applications
HJKL1Name00014300010800000418828124201
L201207022012070228XAM 00000000031795404 001372339540000000000000000000000 COOLTV KEYA
Zx00 xI-50352202553 00000000
00000000 G000000000000 00000000 ... (10 Replies)
Discussion started by: mirwasim
10 Replies
5. UNIX for Dummies Questions & Answers
I have the contents of file1
1 2 3
4 5 6
7 8 9
i'm trying to figure out how to add chars to them
so it would display as this, if it's possible
1 . 2 . 3 \
4 . 5 . 6 \
7 . 8 . 9 \
thanks! (1 Reply)
Discussion started by: austing5
1 Replies
6. UNIX for Dummies Questions & Answers
Hi
I have written an email script in python which sends email to the given id.
I have customized the script for generating space alert inside a shell script as shown below
df -h /microfocus > /tmp/spacereport
## Filter the %usage to variable per
per=$(awk '{if (NR==3){print $4}}'... (0 Replies)
Discussion started by: rakeshkumar
0 Replies
7. Shell Programming and Scripting
Number of files will get created in a folder automatically daily.. so i hav to delete the older files other than the recently added 5 files..
Could u help me through this..?? (5 Replies)
Discussion started by: shaal89
5 Replies
8. UNIX for Dummies Questions & Answers
Hello gurus,
I have a file in a tab delimited format and a header row. I need a code to delete the header in the file, and convert the file to a fixed width format, with all the columns aligned. Below is a sample of the file:... (4 Replies)
Discussion started by: chumsky
4 Replies
9. Shell Programming and Scripting
hi my friends
im asking for the possibility to creat a script in ubuntu for added date to list users for doing this :
- search in debug connected user of all connected users
- if a new user is connect for the first time to my server
the script record the date of the connection and added it... (1 Reply)
Discussion started by: amzioujda
1 Replies
10. Shell Programming and Scripting
I want to kill a process of xterm that is run by hacker with my login name.
So, I write a shell script to do my goal.
I run 2 xterm and then I run my script on a first xterm. it should kill the process of a second xterm but it doesn't.Why?
Here is my code :
#!/bin/ksh
myps=$(ps -f|grep... (7 Replies)
Discussion started by: thsecmaniac
7 Replies