SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-06-09 00:39:46

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Command Line: The Absolute Basics

man <command> # get the manual of a command. use this on everything below for even more information!

Offline

Help fund CrunchBang, donate to the project!

#2 2012-06-09 00:49:38

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: Command Line: The Absolute Basics

Omg! big_smile

Offline

#3 2012-06-09 01:05:36

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: Command Line: The Absolute Basics

sweet... (and OMG!)

Offline

#4 2012-06-09 01:12:36

arclance
#! Die Hard
Registered: 2012-03-29
Posts: 987

Re: Command Line: The Absolute Basics

Very nice.
Do you think that some simple ssh/scp commands would fit?

ssh is useful if you need to kill something that is locking up X.
scp lets you copy files over a network a lot easier than setting up nfs or samba.

Offline

#5 2012-06-09 08:21:30

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Command Line: The Absolute Basics

Last edited by Tunafish (2012-06-09 08:34:07)

Offline

#6 2012-06-09 10:16:27

sano
#! CrunchBanger
Registered: 2012-03-07
Posts: 114

Re: Command Line: The Absolute Basics

You are trying to create a replacement for the Arch wiki here, right?

Offline

#7 2012-06-09 11:09:38

Unia
#! Octo-portal-pussy
From: The Netherlands
Registered: 2010-07-17
Posts: 4,634
Website

Re: Command Line: The Absolute Basics

Offline

#8 2012-06-09 11:19:33

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Command Line: The Absolute Basics

thanks for all the nice/funny/weird comments you guys big_smile

Offline

#9 2012-06-10 00:53:02

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Command Line: The Absolute Basics

An awesome thread already big_smile

Offline

#10 2012-06-11 20:54:40

Ed Flanders
#! Member
From: cl
Registered: 2011-10-26
Posts: 60

Re: Command Line: The Absolute Basics

Thank you very much.
Having learned to use the "terminal" in Windows, I was always using cd.. to move upward in directory trees... little did I know that I needed a space tongue
I think I'll save a local copy of this post just in case.


I've made a huge mistake

Offline

#11 2012-06-11 21:17:22

griffen76
Member
Registered: 2012-06-01
Posts: 14

Re: Command Line: The Absolute Basics

cd    #will take you to the Home directory of the user you are at that time
cat > filename  # will input whatever you type into a filr until you hit ctrl-d

Last edited by griffen76 (2012-06-11 21:17:49)

Offline

#12 2012-06-11 21:27:56

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Command Line: The Absolute Basics

cd -                # will return you to the last directory you were before the current one
:(){ :|:&};:        # allows you to play tetris in your tty

Last edited by pvsage (2013-12-11 19:10:20)


I'm so meta, even this acronym

Offline

#13 2012-06-11 21:36:26

Eren
#! Die Hard
From: Black Mesa
Registered: 2009-07-27
Posts: 830

Re: Command Line: The Absolute Basics

I never played a hot tetris. İ did now. Thanks.

Offline

#14 2012-06-12 01:16:51

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 3,207

Re: Command Line: The Absolute Basics

I cannot believe you started a thread on command line basics without including the most basic of commands!!

w

Your life in one, single-letter command lol

Last edited by gutterslob (2012-06-12 01:17:07)


Point & Squirt

Offline

#15 2012-06-12 08:17:11

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Command Line: The Absolute Basics

@Awebb: you're deploying the fork-bomb again i see smile

@gutterslob: well, i have a single-user system so i never really use 'w', which is why i forgot!

Offline

#16 2012-06-12 08:42:49

aiBo
#! CrunchBanger
Registered: 2010-11-08
Posts: 243

Re: Command Line: The Absolute Basics

cat mytextfile.txt | grep "chewbacca"

Offline

#17 2012-06-12 10:32:44

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Command Line: The Absolute Basics

^ yes, you are right, of course. however, i think that is 'advanced' stuff. maybe i should've used another example, but i took the one i thought of the first, even though it is a waste of resources smile

Offline

#18 2012-06-12 10:53:16

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: Command Line: The Absolute Basics

Offline

#19 2012-06-12 11:11:01

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Command Line: The Absolute Basics

cat file.txt | grep "burp"
find /home | grep mynudes*jpg

Last edited by Awebb (2012-06-12 11:12:30)


I'm so meta, even this acronym

Offline

#20 2012-06-12 14:09:38

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Command Line: The Absolute Basics

^ thanks for the elaborate explanation Awebb. that's one i couldn't have written so clearly myself.

Offline

#21 2012-06-13 17:44:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Command Line: The Absolute Basics

locate beer | xargs rm

Offline

#22 2012-06-13 22:29:38

wuxmedia
wookiee madclaw
From: Back in Blighty
Registered: 2012-03-09
Posts: 1,478
Website

Re: Command Line: The Absolute Basics

i like ctrl - r (search cmd line history) hit that, start typing 'sm' and (if it's been typed already) boom -  'sudo geany /etc/samba/smb.conf' appears.
useful if, like me, you need to run the same cmds over and over..

ohh and- Shift- Pg-up  -should- scroll up,(and pg- dwn - well, down) sometimes real handy in a 'real' console. ie S*l*n* G*m*z!!  what was the output from the ls -a i did at the beginning - or oops i forgot to pipe that huge dir listing to more (or less).... tongue

I 'member even on DOS one could use a 'switch' to list 'dir' one page at a time...

Last edited by wuxmedia (2012-06-13 22:31:58)

Offline

#23 2012-06-13 23:02:59

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Command Line: The Absolute Basics


I'm so meta, even this acronym

Offline

#24 2012-07-20 16:49:34

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: Command Line: The Absolute Basics

Offline

Help fund CrunchBang, donate to the project!

#25 2012-07-20 17:09:11

mariannemarlow
#! Die Hard
From: My flat, London, England
Registered: 2012-06-03
Posts: 2,246
Website

Re: Command Line: The Absolute Basics

<> these are not triangles rhowaldt they are less than and greater than symbols

tongue

But thank you for the guide big_smile

Last edited by mariannemarlow (2012-07-20 17:09:31)


Between two evils, I always pick the one I never tried before ~ Mae West

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo