Solved

Combine commands

Posted on 2007-04-03
2
244 Views
Last Modified: 2013-12-27
hi.
Having trouble figuring out how to combine commands in Solaris.
ex: I normally use pwd to check where I am.  There are quite a fiew long paths on my system, so I'd like to something as:
find pwd -name test
instead of
find /path/to/the/polder/i'm/allready/in -name test

But I'cant figure out how to combine stuff like find and pwd. I know it's possible, but not how.
Any one?
0
Comment
Question by:kristian_gr
2 Comments
 
LVL 7

Accepted Solution

by:
nixfreak earned 500 total points
ID: 18843157
find `pwd` -name test
0
 
LVL 48

Expert Comment

by:Tintin
ID: 18847306
The normal/usual way of doing it is

find . -name test
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now