Solved

Combine commands

Posted on 2007-04-03
2
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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.

756 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