command search

Q. I had written lots of code in C for my school work and saved it as source code under /home/user/c/*.c and *.h. How do I find files by content such as string or words (function name such as main() under UNIX shell prompt?

{ 23 comments }

Q. I’d like to find out if xyz package is available or not using apt-get command. How do I look up package names and contents via shell command? A. You need to use apt-cache command to performs a variety of operations on APT’s package cache. apt-cache does not manipulate the state of the system but […]

{ 0 comments }

grep in Bash

by on February 15, 2007 · 0 comments

How do I use grep command in Bash?

{ 0 comments }

Search For Files In Bash

by on February 15, 2007 · 2 comments

How do I search for file in Bash?

{ 2 comments }

How do I list or find all the files owned by a particular system user or group under Linux or UNIX like operating systems using command line options?

{ 7 comments }