Skip to content

Tag: output

using nohup -> output to file and console

iam using nohup in my project. Is there a possibility get the Output of the program to the console and to the file at the same time while using nohup? With “tee”i had no sucess: thanks for help Answer Try this to run and log the output in file. If you want to run it in background:

delay output in c++ on linux

I want some random characters to be printed to console and then deleted by “b”. After this I want to put my own variable so it will be looking like “randomizing”. The problem is that it is happening too fast. I wanted to delay the output by using usleep or sleep function but when I&#82…