I'm trying to mount a Windows ntfs partition on openSuse 11.4. When I mount it using the root account (either directly or via sudo) it mounts without problems. But when I try mounting it without any root privileges, it gives me the following error:
Error opening '/dev/sda2': Permission denied
Fa...
@terdon systemctl restart nginx vs /etc/init.d/nginx restart, I don't really care which I have to type but I would prefer to have to not remember which I need to use based on which machine I'm using
@Wally Yes, as I said, it will show if you start it with the file name as an argument. What if you start it from the GUI? Or with nor argument and just open something from the vlc GUI? Or what if you launch it with a directory? How can you know which file is being played?
I am assuming that the current file will always be the last one listed. I may be wrong, but if I'm not, the above gives you the path of the file currently played.
I want to get the title of the media playing in VLC using the Command Line. The closest thing I currently have is this command.
ps aux | grep vlc
The output is
pc 27636 2.1 2.3 1261964 90028 ? Sl 21:46 0:23 /usr/bin/vlc --started-from-file /media/pc/Everything/TV shows/Disco...
Sure. Just trying to figure out what the lsof output codes I'm using are. I made that up as I went along and would rather know what it is for an answer.
Wait a while before accepting though, I;m sure there's a more elegant way of doing this.
Grrrr... My machine at work has been unstable since a kernel upgrade. Left it on a text console hoping to catch the panic message. Came in this morning, found it had died. Scrollback still worked, but it turns out systemd had eaten the entire scrollback desperately trying to restart journald. UGH. BAD SYSTEMD, BAD.
And it seems the option is only "log to journald, or kmesg if not available" ... no "or /dev/null if not available" :-(
upgraded to 4.3, machine now hangs sometimes. Well, sort of hangs, seems disk I/O is dead, but everything else fine. So I'm hoping a netconsole will catch the panic.