LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2016, 03:51 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 436

Rep: Reputation: 33
Smile Unknown Linux Command


Greetings,

I copied the following command from the Server World website and tried to execute it bit it is invalid.

Can someone try to tell me what is trying to be done here and what real command was trying to be executed. The 'd' seems to be invalid.

# create new

d /var/run/clamd.amavisd 0755 amavis amavis -

Thanks
 
Old 09-05-2016, 03:56 PM   #2
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,214

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
It is not a command.

https://www.server-world.info/en/not..._21&p=mail&f=6

It is a line to be entered into /etc/tmpfiles.d/clamd.amavisd.conf
 
Old 09-06-2016, 12:59 AM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 436

Original Poster
Rep: Reputation: 33
Thank you. Could you please explain then, what is the purpose of this line within the indicated file? What will happen regarding the 'd' ?

[root@mail ~]# vi /etc/tmpfiles.d/clamd.amavisd.conf
# create new

d /var/run/clamd.amavisd 0755 amavis amavis -


Thanks
 
Old 09-06-2016, 03:51 AM   #4
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,214

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
It appears, according to https://www.howtoforge.com/perfect-s...ispconfig-3-p5 to create the directory at startup (that reference uses capital d's so I assume the "commands" in the config file are case-insensitive).

I have to admit that I'd never heard of any of this until you posed your question, I just thought that I should help you out by looking at the source and then using my GoogleFu. So, I would highly recommend that you read the documentation for the programs that you're trying to use and also do some good internet searching in order to succeed in this project.
 
Old 09-06-2016, 06:14 AM   #5
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,190
Blog Entries: 10

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
https://help.ubuntu.com/community/PostfixAmavisNew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unknown command in Makefile Mario Blunk Programming 8 10-19-2015 09:48 AM
LXer: Breaking: Unknown and Stealth Turla Malware Infects Unknown Number of Linux Systems LXer Syndicated Linux News 0 12-09-2014 06:51 AM
unknown partition recovery command in linux ubuntu by using usb harshil12345 Linux - Newbie 5 03-24-2013 11:54 PM
dhcpclient >unknown command mkjunior Linux - Newbie 4 10-27-2006 10:24 AM


All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration