Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
Home
Linux
Write a command that will look for files with an extension "c", and has the occurrence of the...
+1
vote
asked
May 11, 2021
in
Linux
by
rajeshsharma
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
#linux
command
extention
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 11, 2021
by
rajeshsharma
Find ./ -name "*.c" | xargs grep –i "apple"
Related questions
+1
vote
Q: How do you execute more than one command or program from a single command line entry?
asked
May 11, 2021
in
Linux
by
rajeshsharma
#linux
command
single-line-entry
+1
vote
Q: Explain how you can find a file using Terminal?
asked
May 11, 2021
in
Linux
by
rajeshsharma
#linux
command
terminal
0
votes
Q: Write a command to find all of the files which have been accessed within the last 30 days.
asked
Aug 29, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
0
votes
Q: How we will check free space on drive /dev/sda with parted command?
asked
Aug 29, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
0
votes
Q: What command should you use to check the number of files and disk space used and each user's defined quotas?
asked
Aug 29, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
+1
vote
Q: What could be the problem when a command that was issued gave a different result from the last time it was used?
asked
May 10, 2021
in
Linux
by
rajeshsharma
#linux
problem
0
votes
Q: Choose all correct statements. S1: Swift was developed by Apple Inc S2: Swift has file name extension as .swift S3: Swift is an alternative to the Objective-C language
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
0
votes
Q: If a file associated with test1.01.i386.rpm deleted, than How we will recover that file?
asked
Aug 31, 2019
in
Linux
by
Robin
#linux
#linux-log
#linux-dedicated-web-hosting
#load-balancing-software-linux
#linux-http-file-server
#linux-vps-hosting-comparison
#linux-ip-pbx
#linux-iscsi-server
#linux-backup-appliance
#linux-monitoring-web
#sql-server-in-linux
#network-testing-tools-linux
#what-is-audit-log-in-linux
#vmware-view-linux-client
#linux-backup-and-restore-commands
#linux-file-permissions
#hyper-v-manager-for-linux
#linux-certification
#linux-training
#linux-tutorial
+1
vote
Q: What is command grouping and how does it work?
asked
May 10, 2021
in
Linux
by
rajeshsharma
#linux
grouping-command
linux-commands
0
votes
Q: What grep command do?
asked
Nov 30, 2023
in
Linux
by
sharadyadav1986
grep
command
...