« first day (493 days earlier)      last day (2546 days later) » 

3:29 AM
@Queen k
@Queen deleted
@Queen k
@Kross sorry, no idea. You mean you deleted a directory?
@BenjaminW. it got approved, luckily
 
3:48 AM
@tripleee Yes :) I've moved the help example to the Bash intro topic and then the whole rest of the topic back to the unix tag. I can't help but feeling that Documentation is nowhere close to being useful currently, and it's hard to improve.
 
@BenjaminW. amen brother
there are probably sections which are useful but also some of that is probably plagiarized
but as a whole, if you can't trust it, it's more useless than F1 help in Windows
 
 
2 hours later…
@Queen k
 
 
1 hour later…
@Queen k
 
@Queen k
 
@Queen k
 
@Queen k
 
 
1 hour later…
9:49 AM
@Queen k
 
1pa
10:00 AM
hello
how can i stop a command? ctrl z doesn't work..
 
@1pa generally, if it doesn't respond to keypresses (try ctrl-C and ctrl-D also) you need to open another terminal window and find its PID
if you have only one process running that command you can run pkill command
if there's more than one you need to figure out which one it is that you want to kill
 
1pa
it doesn't respost, i thinks its frozen
think is*
 
observing the start time, which TTY it's running on, exact command-line parameters etc can be helpful but I don't think I want to write a full tutorial
 
1pa
i have this comand on a screen, if i kill the screen i kill the comand?
 
more details about what you already know and what you have already tried would be helpful
@1pa certainly that would appear to be the case (though there can be exceptions)
 
1pa
10:08 AM
i tried ctrl z, ctrl c, ctrl d. And i think the shell is frozen cause enter doesn't work either
i don't know what is the pid ..
 
if you have another terminal on the same box you can explore with pstree, ps aux, etc
 
1pa
i'm starting with bash i don't know those commands
 
ps aux | fgrep command gives you a listing of PIDs which run that command
or otherwise match the search; fgrep command obviously matches itself as well
 
1pa
when i run ps aux| fgrep i get this
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
 
you need to supply the name of the command you want to grep for
ps aux | fgrep screen to search for screen, ps aux | fgrep python to search for python, etc
 
1pa
10:13 AM
m 24764 0.0 0.0 12700 1748 pts/2 S+ 11:13 0:00 grep -F screen
 
that's grep matching itself
 
1pa
i get this after running ps aux | fgrep screen
 
then screen is not running, or ps aux is not the right command on your box
unfortunately, which flags to use for ps depends on the precise OS you are using
Linux?
 
1pa
debian
 
then I think it should work, though try fgrep -i screen
you can't stop screen with ctrl-Z or ctrl-C though; it has its own keystrokes
try ctrl-A d
 
1pa
10:17 AM
ctrl a d is for deatched
fgrep -i screen still running is normal?
 
that's not useful by its own, ctrl-D will stop it
I mean ps aux | fgrep -i screen
@1pa yes, that should detach you if you are running screen; does it work for you?
 
1pa
m 1257 0.0 0.0 25816 2720 ? Ss Apr26 0:00 SCREEN -S schembl_load_and_uniques
this is the process i want to stop running
(i get this from the output of yout command ps aux | fgrep -i screen)
 
without the headers I'm not completely sure, but I guess 25816 is the PID
does ps 25816 list pretty much the same thing?
 
1pa
$ps 25816
PID TTY STAT TIME COMMAND
 
that's it?
 
1pa
10:21 AM
thats the output when i run psq 25816
ps aux | fgrep -i screen doe n't give me headers
 
okay, how about ps aux | sed -n -e 1p -e /SCREEN/p
 
1pa
yay! the pid is 1257
how can i stop the command ?
 
kill 1257 sends the SIGINT signal which usually will kill it
if that doesn't work, try kill -2 1257 after waiting for a second or two
and in the case of complete desperation kill -9 1257
 
1pa
it disappears!
thank you!!!!!! @tripleee
 
that's what you wanted, right?
 
1pa
10:26 AM
yap!
 
sure
 
@Queen k
 
 
2 hours later…
1:22 PM
@tripleee yes exactly i drop the folder where the replica used to be , but now if i try to run unison in diferent folder it gives me that there is no change to dowload , so im looking for how can i restart unison from scratch again
 
1:44 PM
@Kross not at all familiar with Unison; not a Bash topic anyway ... Try posting on U&L maybe?
 
 
1 hour later…
 
3 hours later…

« first day (493 days earlier)      last day (2546 days later) »