Solved

Linux command proper syntax

Posted on 2008-06-25
3
204 Views
Last Modified: 2013-12-16
What command should I issue at the command line to find the location/instances of a file called shell.txt in the /var/www folder and subfolders?
0
Comment
Question by:pda4me
3 Comments
 
LVL 5

Expert Comment

by:jenkinsme
ID: 21865394
0
 
LVL 12

Accepted Solution

by:
ibu1 earned 500 total points
ID: 21865474
find /var/www -name shell.txt
0
 
LVL 6

Expert Comment

by:Iced-evil
ID: 21865523
you could also use locate if it is installed
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

815 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

8 Experts available now in Live!

Get 1:1 Help Now