LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-26-2008, 05:00 PM   #1
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
Hidden Linux/GNU/Bash gems for the self learner?


Everyone(TM) knows that there are incredibly useful commands/details in Linux that are not widely known to 'insert demographics here'. What are some of your favorite?

Two i like are:

Code:
history | grep something
!nth
will execute the nth command in your history. I think this is bash specific.

and

Code:
cd -
will change directory to your last directory (OLDPWD in your env)
 
Old 06-26-2008, 07:34 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,679
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
One thread you could read is the LQ Tricks and hints thread: http://www.linuxquestions.org/questi...?postid=900179 of course there's still much that isn't covered there but it could be a start.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install Ruby gems with setup.rb - how to make it run Bartee Linux - Newbie 2 12-24-2007 02:49 PM
New Linux learner, Old Windows Master raphaeld LinuxQuestions.org Member Intro 1 10-16-2007 10:59 AM
Bash scripting problem: Can't get a list of all files, including hidden ones oxi Programming 24 03-12-2007 07:19 AM
LXer: Are you qualified to bash GNU/Linux? LXer Syndicated Linux News 0 08-16-2006 01:03 PM
LXer: Gems aims to make large-scale Gentoo Linux management easier LXer Syndicated Linux News 0 08-03-2006 05:21 PM


All times are GMT -5. The time now is 09:23 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration