How do you scroll up/down on the console of a Linux VM [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions about general computing hardware and software on Stack Overflow. You can edit the question so it’s on-topic for Stack Overflow. Closed last year. Improve this question I recognize that Up/Down will give you the command history. … Read more

How to redirect output of systemd service to a file

I am trying to redirect output of a systemd service to a file but it doesn’t seem to work: [Unit] Description=customprocess After=network.target [Service] Type=forking ExecStart=/usr/local/bin/binary1 agent -config-dir /etc/sample.d/server StandardOutput=/var/log1.log StandardError=/var/log2.log Restart=always [Install] WantedBy=multi-user.target Please correct my approach. 8 Answers 8