User avatar
grumpyoldgit
Posts: 1454
Joined: Thu Jan 05, 2012 12:20 pm

Re: Linux Commands Cheat Sheet

Sat Jun 02, 2012 10:00 am

Not only looks really great but there are plenty of other free downloads on that site that are worth looking into. I've bookmarked the site for further research and printed off the sheet to go on the wall.

User avatar
Robert_M
Posts: 211
Joined: Fri Nov 25, 2011 12:50 am

Re: Linux Commands Cheat Sheet

Sat Jun 02, 2012 10:37 am

Thanks for the link!

One command left off that list, which I (luckily) just found - familiar to Windows users: CTRL + ALT + DEL

I got stuck in something & couldn't remember how to get out, so gave that a go. Yay! Restart!

(p.s. maybe I should say this was in Debian. Not sure if it'll fly in the other flavors.)
I sometimes ride my Pi to the Forum.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Linux Commands Cheat Sheet

Sun Jun 03, 2012 2:38 pm

Robert_M wrote:I got stuck in something & couldn't remember how to get out
Ctrl + C is usually a good bet ;)
(p.s. maybe I should say this was in Debian. Not sure if it'll fly in the other flavors.)
This is determined by the 'ctrlaltdel' line in /etc/inittab

User avatar
Robert_M
Posts: 211
Joined: Fri Nov 25, 2011 12:50 am

Re: Linux Commands Cheat Sheet

Mon Jun 04, 2012 12:33 am

I think I tried Ctrl + C in all the mad keybashing (which probably just confused the poor thing...) but the only thing that ultimately popped me out was Ctrl + Alt + Del. I imagine if I had tried Ctrl + C from the start, it would've gone much better. :-)
I sometimes ride my Pi to the Forum.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Linux Commands Cheat Sheet

Mon Jun 04, 2012 12:41 am

LOL, "Force remove fire" ;)

User avatar
cheery
Posts: 219
Joined: Wed Jan 25, 2012 9:39 pm

Re: Linux Commands Cheat Sheet

Mon Jun 04, 2012 6:44 am

Should I assume these are the most commonly used commands then?

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Linux Commands Cheat Sheet

Mon Jun 04, 2012 9:50 am

cheery wrote:Should I assume these are the most commonly used commands then?
Well, that's what "cheat sheets" are normally for ;)

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4205
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Linux Commands Cheat Sheet

Mon Jun 04, 2012 11:19 am

AndrewS wrote:
Robert_M wrote:I got stuck in something & couldn't remember how to get out
Ctrl + C is usually a good bet ;)
If Ctrl+C does not work, try Ctrl+\, it kills the current process harder. In Linux-speak it sends it a SIGQUIT signal, which it is less likely to ignore, instead of a SIGINT signal.

sharpapotheosis
Posts: 58
Joined: Thu May 24, 2012 6:47 pm

Re: Linux Commands Cheat Sheet

Thu Jun 07, 2012 4:55 pm

CTRL + z often works also, though I believe (correct me if I'm wrong) that it kills the process without killing any processes started by the original process. Should be OK if you're using command line, but don't try it with GUI applications.

User avatar
jojopi
Posts: 2993
Joined: Tue Oct 11, 2011 8:38 pm

Re: Linux Commands Cheat Sheet

Thu Jun 07, 2012 5:17 pm

sharpapotheosis wrote:CTRL + z often works also, though I believe (correct me if I'm wrong) that it kills the process without killing any processes started by the original process.
No, Ctrl+Z (SIGTSTP) stops/suspends the foreground process group without killing it. This allows you to type other commands and then continue the stopped job with "fg". Or, if it does not need to read input from the terminal then you can continue it in the background with "bg".

Suspending processes with Ctrl+Z without realising is a common mistake, which causes confusion and gradually wastes memory and other resources. Some programs intended for newcomers disable it to avoid this. For instance, in nano you have to press Alt+Z first to enable Ctrl+Z.

User avatar
Robert_M
Posts: 211
Joined: Fri Nov 25, 2011 12:50 am

Re: Linux Commands Cheat Sheet

Thu Jun 07, 2012 6:45 pm

On the subject of stopping, I've also run across "halt" that seems to shut everything down. It has me wondering if this is a good final step before unplugging the Pi. Does it matter to the machine? Or is the practice of just pulling the plug a non-destructive way of turning it off?
I sometimes ride my Pi to the Forum.

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4205
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Linux Commands Cheat Sheet

Thu Jun 07, 2012 6:55 pm

You should use halt before turning the Pi off. Otherwise you run the risk of corrupting the SD.

Another thing that should have been made clear in the documentation.

carfin33
Posts: 21
Joined: Thu May 31, 2012 4:52 pm

Re: Linux Commands Cheat Sheet

Fri Jun 08, 2012 3:22 pm

do you have an ipod if you do get linux command reference light clean and so interesting i wish windows could the emacs games command!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D :) :D :) :D :) :D
><
Is this thing on?

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 42 guests