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
How would you search for a specific Employee ID in a file using the vim editor?
Home
Linux
How would you search for a specific Employee ID in a file using the vim editor?
0
votes
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
How would you search for a specific Employee ID in a file using the vim editor?
#linux-vim-editor
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2020
by
rahuljain1
How would you search for a specific Employee ID in a file using the vim editor?
$ vim +/<employee id to be searched> <filename>
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: How would you open a file in read-only mode using the vim editor?
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
#linux-vim-editor
0
votes
Q: How to jump to a particular line in a file using vim editor?
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
#linux-vim-editor
+1
vote
Q: What are the different modes when using vi editor?
asked
May 10, 2021
in
Linux
by
rajeshsharma
#vi-editor
linux
0
votes
Q: How can you utilize the Zsh line editor (ZLE) to enhance your command line interaction?
asked
Nov 30, 2023
in
Linux
by
JackTerrance
zsh-interview-questions
0
votes
Q: How do you search and replace a string in Vim
asked
Feb 9
in
VIM
by
rajeshsharma
vim-search
0
votes
Q: How would you create a text file without opening it?
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
#linux-text-file
+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: Which are the different modes of vi editor?
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
#linux-vi-editor
0
votes
Q: How would you use ‘find’ command in a Bash script to look for specific files or directories?
asked
Feb 8
in
JavaScript
by
Robindeniel
bash-script
+1
vote
Q: Explain how you can view the text file using Terminal?
asked
May 11, 2021
in
Linux
by
rajeshsharma
#linux
text-file
...