LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-26-2008, 04: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, 06:34 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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



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 01:49 PM
New Linux learner, Old Windows Master raphaeld LinuxQuestions.org Member Intro 1 10-16-2007 09:59 AM
Bash scripting problem: Can't get a list of all files, including hidden ones oxi Programming 24 03-12-2007 06:19 AM
LXer: Are you qualified to bash GNU/Linux? LXer Syndicated Linux News 0 08-16-2006 12:03 PM
LXer: Gems aims to make large-scale Gentoo Linux management easier LXer Syndicated Linux News 0 08-03-2006 04:21 PM

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

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