LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 02:51 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
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, 02:56 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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-05-2016, 11:59 PM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
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, 02:51 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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, 05:14 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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


Reply



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 08:48 AM
LXer: Breaking: Unknown and Stealth Turla Malware Infects Unknown Number of Linux Systems LXer Syndicated Linux News 0 12-09-2014 05:51 AM
unknown partition recovery command in linux ubuntu by using usb harshil12345 Linux - Newbie 5 03-24-2013 10:54 PM
dhcpclient >unknown command mkjunior Linux - Newbie 4 10-27-2006 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration