10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Experts,
I am new to this forum. Thank you for moderator to allow me to join.
I have a question about automatic compression using sh and crontab
on an application which runs on the Suse Linux Server 11 SP4.
My question is how to compress every file in a directory into its own tar... (5 Replies)
Discussion started by: Steven_2975
5 Replies
2. Shell Programming and Scripting
Are the above commands does the same job ?
same functionaliy ?
If so, why do we have three utilities for the same functinality. (1 Reply)
Discussion started by: frintocf
1 Replies
3. Shell Programming and Scripting
Hello,
I know how to get a solution of a filtering problem with AWK, but i need change default field separator by a regular expression. awk -F "xxx"
What i want to do is take a stranza as a field, so the field separator must be a EMPTY line. Does anybody how to do that??
a example:
... (1 Reply)
Discussion started by: antuan
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies
5. Shell Programming and Scripting
I want to take the even-numbered lines from a file and put them in a separate file and the same thing with the odd-numbered lines.
#!/bin/bash
file=$1
awk
'
{
if ( NR % 2 == 0)
{ (( getline < "$file" ) > "even.txt" )}
else
{ (( getline < "$file" ) > "odd.txt" )}
}
' $file (4 Replies)
Discussion started by: cristi2008
4 Replies
6. Shell Programming and Scripting
Hi,
I am looking for the unix script which can takes the 2 month old data from a TXT file (there is one txt file in whiche messages are appended on daily basis) and compress them into new file.Please halp me out. (2 Replies)
Discussion started by: vpandey
2 Replies
7. UNIX for Advanced & Expert Users
hi,
I need to compress a couple files in a directory.i tried using
tar cvf filename1 filename2
but i am not able to open tar file.
please suggest how to compress more than one file in to same file
thanks in advance (2 Replies)
Discussion started by: prasee
2 Replies
8. Shell Programming and Scripting
Hi,
I have a script that ftp's to over 100 deifferent servers in turn, gets a specific file, renames it and drops it onto a local backup server. The files vary in size from 4mb to 150mb. I am within a secure intranet to security with ftp is not an issue. I want to auto compress the file... (1 Reply)
Discussion started by: MrMac
1 Replies
9. UNIX for Dummies Questions & Answers
Anybody know what happened here?
162 lab2-36:~/try_direct/another> compress url.txt
url.txt: -- file unchanged (8 Replies)
Discussion started by: endeavour1985
8 Replies
10. Solaris
It's possible to connect whit Telnet (or rlogin) whithout password???
I must write a script (this script run on a windows machine), then after the connection on Unix machine, run a perl script and exit.
I can know if an host can be consedered "Trusted" like SSH protocol?
Thanks! (2 Replies)
Discussion started by: raffyTxT
2 Replies