Skip to content

Tag: linux

Apache & SFTP permissions on AWS EC2 Linux hosting

Using SSH I’ve granted access to my SFTP clients user “ec2-user” with the following command: sudo chown -R ec2-user /var/www/html However I also need to grant access to Apache which I can do with the following command: sudo chown -R apache:apache /var/www/html I assumed this would grant acce…

device in lspci can’t find in dmidecode

lspci 02:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) the pci bus is 02 the deivce id is 00 and why can’t find this info in dmidecode thisi is dmidecode dmidecode 2.12-dmifs SMBIOS 2.7 present. 104 structures occupying 5095 bytes. Table at 0x000EB110. Answer The SMB…

How does Anacron works in linux?

How does the Anacron runs even after the system shutdowns in linux? How does it look for the commands to run after the system shutdown? Answer If you have a backup script scheduled everyday at 11 PM as a regular cron job, and if your laptop is not up at 11 PM, your backup job will not be executed. However,

Incorrect format of sending mail from Linux shell

My file format is as below: But if I mail it to my mailbox, the format will be as below: How can I keep my original format when I send file content to my mailbox!? Answer The SMTP specification says that end-of-line in SMTP messages is where in Unix/Linux the end of line is Run the text though a tr