9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
2. Shell Programming and Scripting
Hi all,
I got a new mac and can't get grep, awk etc to work.
I tried the following command:
grep DICER test.txt
output:
AGOER
text.txt looks like this:
DICER
DICER
AGOWhat is wrong?
Please use code tags (23 Replies)
Discussion started by: Palgrave
23 Replies
3. Shell Programming and Scripting
Hi,
Recently I got a .txt file from Mac user. when I try to open it in my Ubuntu machine using cat command it is not displaying any content of file however I can see the content using vi.
Anyone know How to see its content using cat as I have to process it in my shell script.
Thanks in... (4 Replies)
Discussion started by: diehard
4 Replies
4. UNIX and Linux Applications
I have a mailserver with postfix
i want to alias all mail for administrator@domain.fqdn
to root@domain.fqdn
I have the aliases configured,and i did newliases
but doesn't work.
How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
5. Shell Programming and Scripting
Hi.
I'm pretty new to shell scripting. All I want to do is have a simple shell script that opens a python script from the GUI i.e. when I double click the shell script it will launch the python file. However when I try to do this it looks for the python file in my home directory, I have tried... (1 Reply)
Discussion started by: whatg
1 Replies
6. IP Networking
Hi everybody,
I am working on mail server(postfix+dovecot+amavisd-new) working with ldap directory. I have an error while attempting to send a mail on my own mail address in the domain:
Jul 28 12:04:14 HA1UB postfix/smtpd: warning: dict_ldap_lookup: /etc/postfix/ldap-aliases.cf: Search base... (0 Replies)
Discussion started by: beloge2002
0 Replies
7. UNIX for Dummies Questions & Answers
My roommate forgot his admin password on his MacBook air..
He doesn't have the external SuperDrive, so we have no way of using the simple method of using the install disks and resetting the password..
The worst part is, he did this same thing about a year ago lol
At the time, we booted... (0 Replies)
Discussion started by: PhiGam
0 Replies
8. UNIX for Dummies Questions & Answers
Hi guys
One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered.
What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
9. IP Networking
hi all.
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
emailaddress1 HOLD
emailaddress2 HOLD
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies