Solved

Combine commands

Posted on 2007-04-03
2
243 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
Comment Utility
find `pwd` -name test
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
The normal/usual way of doing it is

find . -name test
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

743 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

18 Experts available now in Live!

Get 1:1 Help Now