I am quite new to Linux and started using KDE Linux as my main os. I was wondering why does my Linux system start up with running programs and processes from the last session when I start it up again? I like to use the terminal a lot and I just like to use the poweroff command in the terminal. My friend told me to use the shutdown 0 command but it didn't help. Is there a better way to shutdown my system so it would start up with any programs or processes running from the recent session?
Shutting down a linux system
linux;shutdown