Questions Tagged With clihttp://linuxexchange.org/tags/cli/?type=rssquestions tagged <span class="tag">cli</span>enThu, 17 Nov 2011 19:32:24 -0500How do I hide this stuff in ps?http://linuxexchange.org/questions/2744/how-do-i-hide-this-stuff-in-ps<pre><code>joehillen@production:~$ ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 Sep02 ? 00:01:34 init [2] root 2 0 0 Sep02 ? 00:00:00 [kthreadd] root 3 2 0 Sep02 ? 00:00:01 [ksoftirqd/0] root 4 2 0 Sep02 ? 00:00:00 [migration/0] root 5 2 0 Sep02 ? 00:00:00 [migration/1] root 6 2 0 Sep02 ? 00:00:00 [ksoftirqd/1] root 7 2 0 Sep02 ? 00:00:01 [migration/2] root 8 2 0 Sep02 ? 00:00:02 [ksoftirqd/2] root 9 2 0 Sep02 ? 00:00:01 [migration/3] root 10 2 0 Sep02 ? 00:00:00 [ksoftirqd/3] root 11 2 0 Sep02 ? 00:03:55 [events/0] root 12 2 0 Sep02 ? 00:03:16 [events/1] root 13 2 0 Sep02 ? 00:02:51 [events/2] root 14 2 0 Sep02 ? 00:06:00 [events/3] root 15 2 0 Sep02 ? 00:00:00 [cpuset] root 16 2 0 Sep02 ? 00:00:00 [khelper] root 19 2 0 Sep02 ? 00:00:00 [netns] root 20 2 0 Sep02 ? 00:00:00 [async/mgr] root 23 2 0 Sep02 ? 00:00:00 [xenwatch] root 24 2 0 Sep02 ? 00:00:00 [xenbus] root 56 2 0 Sep02 ? 00:00:24 [sync_supers] root 58 2 0 Sep02 ? 00:00:26 [bdi-default] root 60 2 0 Sep02 ? 00:00:00 [kblockd/0] root 61 2 0 Sep02 ? 00:00:01 [kblockd/1] root 62 2 0 Sep02 ? 00:00:00 [kblockd/2] root 63 2 0 Sep02 ? 00:00:00 [kblockd/3] root 68 2 0 Sep02 ? 00:00:00 [kseriod] root 117 2 0 Sep02 ? 00:00:11 [kswapd0] root 118 2 0 Sep02 ? 00:00:00 [aio/0] root 119 2 0 Sep02 ? 00:00:00 [aio/1] root 120 2 0 Sep02 ? 00:00:00 [aio/2] root 121 2 0 Sep02 ? 00:00:00 [aio/3] root 122 2 0 Sep02 ? 00:00:00 [crypto/0] root 123 2 0 Sep02 ? 00:00:00 [crypto/1] root 124 2 0 Sep02 ? 00:00:00 [crypto/2] root 125 2 0 Sep02 ? 00:00:00 [crypto/3] root 136 2 0 Sep02 ? 00:00:00 [khvcd] root 290 2 0 Sep02 ? 00:00:00 [kstriped] root 294 2 0 Sep02 ? 00:00:00 [ksnapd] </code></pre> <p>I'm guessing these are kernel modules. They are never really relevant to my interests.</p>JoehillenThu, 17 Nov 2011 19:32:24 -0500http://linuxexchange.org/questions/2744/how-do-i-hide-this-stuff-in-psprocesscliJobs Control: bg keeps it going?http://linuxexchange.org/questions/1155/jobs-control-bg-keeps-it-going<p>If I send a task to the background with <code>ctrl+z</code>, is it stopped?</p> <p>If I type <code>bg 1</code>, will it keep going?</p> <p>I'm just a little confused as to how background processes work. <code>jobs</code> and <code>bg</code> and <code>fg</code> don't have man pages.</p> <p>If I have a <code>jobs</code> output that looks like this:</p> <pre><code>kevin@orangebox:~$ jobs [1]- Stopped htop [2]+ Stopped top </code></pre> <p>What do the pluses and minuses mean?</p>Klink-a-dink-dinkTue, 27 Jul 2010 23:51:43 -0400http://linuxexchange.org/questions/1155/jobs-control-bg-keeps-it-goingcliconsoleterminalI made a google cli function for .bashrc - is there a better way to do this?http://linuxexchange.org/questions/439/i-made-a-google-cli-function-for-bashrc-is-there-a-better-way-to-do-this<ol> <li>install elinks</li> <li>put the following in your .bashrc</li> </ol> <p>function google { /usr/bin/links g:"$1 $2 $3 $4 $5 $6 $7 $8"; }</p> <ol> <li>use/examples:</li> </ol> <p>$ google 2*4 $ google 1 dollar in euros $ google translate aller $ google weather </p> <ol> <li>I cannot believe I have created the best way to do this?</li> </ol>joeTue, 11 May 2010 01:43:12 -0400http://linuxexchange.org/questions/439/i-made-a-google-cli-function-for-bashrc-is-there-a-better-way-to-do-thiscligoogleelinksbash