1

Currently i have to analize some big files looking for a espefic word in .css located on my /var/www/ located on ubuntu server (ssh). There a way to make something like Ctrl+f in windows programatically in ubuntu to search the words ?

Or just i have to use some ftp tool to download my file in windows and looking for there ?

1 Answers1

2

When you are connected via ssh there are many commands you can use.

You could use grep searchString /var/www/file.css/ to display all occurrences of searchString.

Or you could display the file with less /var/www/file.css then press / and type the word you are searching for. Press enter to jump to the first occurrence of the word and n to cycle through the other ones step by step.

Pabi
  • 7,429