vsftp:
I have enabled the anonymous upload but still got the "permission denied" error. The upload directory is set to 777.
sendmail:
My apache server can send out email but not receiving email. The domain is registered in dyndns.com.
Any hints? Thanks!
Thanks! However, if use split, is it possible to make the output file in the format source01.txt, source02.txt...etc instead of sourceaa.txt, sourceab.txt...?
I tried the csplit but if I run "csplit -f source srouce.txt 300", the first file created source01 only contains 299 lines...
We have a text file source.txt with unknown number of lines. In bourne shell, how to split it into several files with 300 lines each and named the files in the format source##.txt?
Thanks!
Hello!
When we write a 50M text file (bigfile.asc) to our DEC TKZ60 (3480) tape drive, the following error displayed:
dd: unexpected short write, wrote 0 bytes, expected 512
The command we used is:
dd if=bigfile.asc of=/dev/rmt/0cn bs=512
It seems the error is refer to end of tape but the...
Ygor, sorry for misleading. What I mean is, the value in file1 is unknown, or better say it changes everyday. If file1 contains 14, we need to add 5 preceding 0s to 0000014. If file1 contains 8682, we need to add 3 0s to 0008682.
My approach is to add seven 0s to the number in file1 which...
Hello!
I have a file which stores a number between 1~9999999. However, if the number is less than 7 digits, I need to fill it with 0s. e.g. if the number is 14, then I need to make it be 0000014. Any hints?
Thanks!
Thanks Olded and Dickiebird!
However, the +%Y%m%d only shows the date in the format 20030305 instead of 003064(0->century, 03->year, 064->day 64 of year 2003). How can we transform into the day of the year?
Hi!
I have a text file with many lines and each line contains today's date in the format cyyddd (century,year,day of the year) in different position. How to chop all the date using shell script (sh/csh)?
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.