LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2005, 10:24 AM   #31
piratePenguin
Member
 
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42

Rep: Reputation: 15

Quote:
Originally Posted by trickykid
A simple cd .. also takes you back to the previous directory..
'cd ..' takes you to the parent directory.
Code:
piratepenguin@pcdeclan:~$ cd stuff
piratepenguin@pcdeclan:~/stuff$ cd crap/
piratepenguin@pcdeclan:~/stuff/crap$ cd ..
piratepenguin@pcdeclan:~/stuff$ cd -
/home/piratepenguin/stuff/crap
piratepenguin@pcdeclan:~/stuff/crap$
Code:
piratepenguin@pcdeclan:~$ cd stuff
piratepenguin@pcdeclan:~/stuff$ cd crap/
piratepenguin@pcdeclan:~/stuff/crap$ cd ..
piratepenguin@pcdeclan:~/stuff$ cd ..
piratepenguin@pcdeclan:~$
There's the difference.
EDIT: I posted that before I read phil.d.g's reply, which says basically the same thing.

'man', 'info' (for reading GNU manuals. Try 'info info'), and 'grep', are my favourite commands.

Last edited by piratePenguin; 12-09-2005 at 10:28 AM.
 
Old 01-01-2006, 08:56 PM   #32
eviltama
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian and Damn Small Linux
Posts: 21

Rep: Reputation: 15
My favs:
df -h
shows you your hdd volumes in a language humans can understand!

ls -alc
lists everything, sym links, hidden files etc

sudo nano <filename>
to edit files that root owns

and the coolest commands EVER... how to untar an entire directory full of files...

.tar: for i in `ls *.tar`; do tar xvf $i; done

.tar.gz: for i in `ls *.tar.gz`; do tar xvfz $i; done

.tar.bz2: for i in `ls *.tar.bz2`; do tar xvfj $i; done
 
Old 01-02-2006, 01:20 AM   #33
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
startx

Well to be fair, its not an actual nix command, its a script. But it still gets the job done.
 
Old 01-02-2006, 07:22 PM   #34
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
undo
as in
$ rm -r wifes_xmas_album
$ undo
Doesn't exist afaik but it would be nice
 
Old 01-03-2006, 01:12 AM   #35
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
I found pipes and xargs very usefull.

i.e

pidof irssi | xargs kill -9
 
Old 01-03-2006, 10:00 AM   #36
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 33
Most used command: sudo su
Other useful commands: df and du -s <directory>
Favorite command: apt-get install <package> ...it's what makes Debian #1. Yast, Yum, Rpm, Rpmdrake & all the others aren't even close.
 
Old 01-03-2006, 11:17 AM   #37
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
How can I answer that?

They are all great, at their own particular tasks. My favourite command for filtering streams is "grep." My favourite command for editing streams is "sed." My favourite command for finding files is "find." You get the picture.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
POST your FAVOURITE software! yekrahs Linux - Software 18 10-03-2005 08:33 AM
Startup and Running Commands Post Boot nmitchell Debian 5 08-17-2005 05:37 PM
hehe, Let' post yr favourite web site.... vanhelsing General 15 06-03-2004 01:50 PM
Can someone please post some Aterm commands for the rest of us ? Rampage2884 Linux - Newbie 19 04-25-2003 05:05 AM
Question about one of my favourite commands ... Bert Programming 0 04-04-2002 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:29 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