Skip to content

Commit c811126

Browse files
Update Evidence.md
1 parent 04747cc commit c811126

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

DFIR/Digital Forensics/Linux/Evidence.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The `~/.bash_history` file is a hidden file located in the user's home directory
66

77
The Bash history file is managed by the shell itself, which automatically appends new commands to the file as they are entered. By default, the history file retains a certain number of recent commands, as specified by the `HISTSIZE` and `HISTFILESIZE` environment variables.
88

9-
## Files Accessed Using Vim
9+
## Files Accessed Using Vim (~/.viminfo)
1010
The ~/.viminfo file is a hidden file located in the user's home directory (~). It is used by the Vim text editor to store various information about Vim sessions, such as the history of commands, search patterns, marks, and other settings.
1111
Here's an example of what you might find in a ~/.viminfo file:
1212
```bash
@@ -15,3 +15,9 @@ Here's an example of what you might find in a ~/.viminfo file:
1515
> %
1616
/Pattern
1717
```
18+
19+
**In this example:**
20+
21+
- The first line is a comment indicating that this is a Viminfo file.
22+
23+
- The subsequent lines contain information about the Vim session, such as the last cursor position ('1000 1 4), the current file (%), and the last search pattern (/Pattern).

0 commit comments

Comments
 (0)