Three Quick Questions

Scott Rossillo scott at rossillo.net
Tue Jun 3 08:25:19 PDT 2003


~ Scott

> At 15:51 2003-06-02 -0600, Troy wrote:
>>Hello,
>>Three quick questions here.
>>#1
>>When installing ports how do I pass switches?
>>ex. make --args install  (is this how?)
>
> Yes, generally, this is how you do it.
>
>>#2
>>If  I  am connected via ssh and get disconnected how do I login and kill
>>the old
>>session?
>
> You shouldnt need to. If you mean that you want to kill some application
> that you started
> in your old session, then try the kill (man kill) command.
>

The old session will eventually die off, but if you really want to kill
it, type:

w
-- Note the TTY of your old connection
ps -ax | grep ssh
-- Find the PID (1st column) of the sshd that matches username at ttypX,
where X is the TTY from w's output.
kill -9 PID
-- FIll in the correct PID for the old shh session from above.
Typing "w" again should show that the connection is now dead.

>>#3
>>When  upgrading  via  cvsup how do I tell what has changed to see if it
>> is
>>worth
>>upgrading after running the cvsup session?
>
> Save the output from cvsup. If you're using the GUI, just click the save
> button, and it will save in the "./cvsup.log" (or something like that). If
> you're using the command line cvsup, I cant recall any flag for output
> saves, but you can always use the script (man script) command, like so...
>
> # script /home/youruser/yourlog.file
> ...some info...
> # cvsup yourcvsupfile
> ...updating updating updating...
> # <ctrl-d>
> ...done...
>
> Now, check the /home/youruser/yourlog.file for changes and updates.
>
>>Thanks for any help.
>>
>>--Troy
>>
>
> HTH
> /Jalle
>
>>_______________________________________________
>>freebsd-newbies at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
>>To unsubscribe, send any mail to
>> "freebsd-newbies-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-newbies at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"
>



More information about the freebsd-newbies mailing list