Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Learn Tiny Core. View Tiny Core
Screen Shots and Videos
.
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Talk
»
What does "pidof jwm >/dev/null" in "pidof jwm >/dev/null && jwm -restart" do?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: What does "pidof jwm >/dev/null" in "pidof jwm >/dev/null && jwm -restart" do? (Read 3001 times)
bigpcman
Hero Member
Posts: 719
What does "pidof jwm >/dev/null" in "pidof jwm >/dev/null && jwm -restart" do?
«
on:
June 03, 2009, 04:33:27 PM »
TC2.0rc4 - In jwm_restart, what does "pidof jwm >/dev/null" in "pidof jwm >/dev/null" && jwm -restart" do?
Logged
big pc man
curaga
Administrator
Hero Member
Posts: 11044
Re: What does "pidof jwm >/dev/null" in "pidof jwm >/dev/null && jwm -restart" do?
«
Reply #1 on:
June 03, 2009, 04:41:27 PM »
It checks if a process named jwm exists
Logged
The only barriers that can stop you are the ones you create yourself.
bigpcman
Hero Member
Posts: 719
Re: What does "pidof jwm >/dev/null" in "pidof jwm >/dev/null && jwm -restart" do?
«
Reply #2 on:
June 03, 2009, 05:09:06 PM »
Quote from: curaga on June 03, 2009, 04:41:27 PM
It checks if a process named jwm exists
I had forgotten the obvious - && will execute the second command if the first one succeeds.
Logged
big pc man
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Talk
»
What does "pidof jwm >/dev/null" in "pidof jwm >/dev/null && jwm -restart" do?