LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2005, 01:08 PM   #1
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Rep: Reputation: 15
Simple Command Help


Alright people (wow that sounded bossy), I would like to know some simple commands I can use in Konsole. I already know how to install something with it, but that's about all. What other commands are there?
 
Old 02-12-2005, 01:13 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
$ <tab><tab>
Display all 1919 possibilities? (y or n)

And I have a light system. You'll have to be more specific - which objectives do you wish to accomplish? 'man -k issue-of-interest' should give you some ideas.
 
Old 02-12-2005, 01:15 PM   #3
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Original Poster
Rep: Reputation: 15
Alright... um... Well can you give me some sort of example? Like can it format Floppies? Or what? I dono....I'm a total Linux noob.

Last edited by mhelliwell; 02-12-2005 at 01:23 PM.
 
Old 02-12-2005, 01:33 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Code:
$ man -k format | grep flop 
fdformat             (8)  - Low-level formats a floppy disk
mformat              (1)  - add an MSDOS filesystem to a low-level formatted floppy disk
superformat          (1)  - format floppies
Sure. (grep's another good command. ) Not to mention all the mk*fs commands.

Basically, the core commands are your shell and the stuff found, logically enough, in a package called 'coreutils' along with a few other independent tools. You 'ls' to get directory listings, 'cd' to change those directories, 'mv' to move or rename files, 'cp' to copy them, 'rm' to remove them, 'cat' or 'less' or 'tail' or 'head' to view them in various ways, 'sed' and 'grep' and 'cut' and 'sort' and 'uniq' to process them or alter them, and on and on.

I've got an alias called 'topcom' which processes my ~/.bash_history file to show the most used commands.
Code:
alias topcom='sort ~/.bash_history | cut -d\  -f1 | uniq -ci | sort -r | less'
So there's 'alias', 'sort', 'cut', 'uniq', and 'less'.

Currently it shows the top 10 (which I could get with 'head' rather than 'less') to be ls, man, grep, sed, less, cd, find, cdp (an alias to cd to /var/log/packages), su, and mplayer, though these have mostly been incidental because I've been chrooted a lot lately - which is yet another command - if you want an environment that doesn't directly affect the rest of your system, 'chroot' is the ticket.

Like I say, there's thousands on the one hand, and a few dozen core ones.
 
Old 02-12-2005, 01:34 PM   #5
beaucoup
Member
 
Registered: Jun 2003
Location: Florence, SC
Distribution: Gentoo i386
Posts: 180

Rep: Reputation: 30
http://www.tldp.org/LDP/intro-linux/html/index.html

is a pretty good guide, or, more specifically, the commandline quickstart section:

http://www.tldp.org/LDP/intro-linux/...ect_02_02.html

I also found that the O'Reilly pocket guide is a good (and inexpensive!) reference, with a lot of everyday stuff broken down by section.

http://www.oreilly.com/catalog/linuxpg/

The shell can be intimidating at first, but once you get the hang of it, you'll wonder how you ever got some things done without it
 
Old 02-13-2005, 03:36 AM   #6
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
there is also

http://linuxcommand.org/index.php

when u learn the commands , you could then start experimenting with bash scripts as it will make your life a whole lot easier
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with programming a simple ls command in C babyboss Programming 4 10-19-2005 06:01 PM
Probably simple.. but... what's the command for... NOTORIOUS VR AIX 10 08-29-2005 12:02 PM
simple cp command question basher400 Linux - Newbie 7 06-08-2005 09:26 AM
Simple Linux command Problem GUIPenguin Linux - Newbie 2 09-23-2004 05:47 PM
need a simple php4 command phek Programming 2 09-25-2001 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration