answersLogoWhite

0

You would use a pipe.

For example.

ls | grep cool

The output of ls(the list of files in your current directory) is given to grep. Grep then finds and prints file names that include the word cool in them.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How do you use less command in Linux?

Viewing a file:"less [filename]"viewing the standard output of a command:"[command] | less"


What is the output of mkdir DesktopCS604 in Linux?

There is no text output. That command would create a directory / folder called "DesktopCS604".


What is the output of the man command in Linux?

man has no output of its own. You must specify the name of the manual page you wish to view. For instance, to view the manual for bash, you would use the command man bash.


What does the k command do in Linux?

k is not a standard command in Linux.


What is the command to turn on Linux?

There is no such command. Obviously, in order to enter a command into the prompt, Linux must already be on.


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


What is helo for Linux?

Nothing. Helo is not a recognized command in linux.


What is the maximum number of characters Linux allows in a keyboard command?

Linux does not have a limit as to the number of characters you can enter in a command.


What happens when you enter a Linux command in capital letters?

You get a command not found. Linux is case sensitive. So, for example: The command "systemctl" will not be the same as "SystemCTL" to a shell in Linux. One will work, the other will return an error saying there's no such command.


What command line to heart beat stop and start in Linux system?

To stop heartbeat in Linux the command line will be service Heartbeat stop To start heartbeat in Linux the command line will be service Heartbeat start


Which Linux command displays your login name?

The whoami command.