NixyRef

June 03, 2005
disk space
df

-k By default, all sizes are reported in 512-byte block counts. The
-k option causes the numbers to be reported in kilobyte counts.

jobs
http://www.unix.org.il/tcsh/Jobs.html

If you are running a job and wish to do something else you may hit the suspend key (usually `^Z’), which sends a STOP signal to the current job. The shell will then normally indicate that the job has been `Suspended’ and print another prompt.

You can put it in the ``background’’ with the bg command or run some other commands and eventually bring the job back into the ``foreground’’ with fg.

If you wish to refer to job number 1, you can name it as `%1’. Just naming a job brings it to the foreground; thus `%1’ is a synonym for `fg %1’, bringing job 1 back into the foreground. Similarly, saying `%1 &’ resumes job 1 in the background, just like `bg %1’.

The shell maintains a notion of the current and previous jobs. In output pertaining to jobs, the current job is marked with a `+’ and the previous job with a `-’.


mutt
to search
/

to limit
l

special pattern in search and limit

Search for xyz in To
~t xyz

Search for xyz in From
~f xyz

Search for size
~z [MIN]-[MAX]
~z [MIN]-
e.g.
~z 100k-200k
~z 100k-

Full search patterns
http://www.mutt.org/doc/manual/manual-4.html#patterns

to delete
D

mark thread read
^R

move to next msg

Mutt manual
http://www.mutt.org/doc/manual/manual.html

screen
if jobs ain't doin’ it. Type screen - gives a new ‘session’ -- start whatever you want in here. Then simply close the ssh session. Restart another ssh session and then do a ps. You'll see p0 with the current stuff, plus p1 with the screen session. To bring the other screen session to the front, use

screen -D -R

To stop that screen session, simply type exit. Sorta like su.

screen -- start a NEW screen session
screen -r -d -- pick up a preexisting screen session
screen -ls -- list screen sessions without doing anything
screen -r -d [number] -- pick up screen session [number]

tags: ComputersAndTechnology