less {filename}
| Navigation | |
|---|---|
SPACE |
forward one window |
b |
backward one window |
d |
forward half window |
You navigate through linux file system using cd command which means "change directory". You can use ls command to print the files and sub-directories of any directory or use ll command to check their permission and modified time as well.
The root directory in the Linux file system is denoted by a single forward slash (/). It is the top-most directory in the hierarchy of the file system and acts as the starting point for all other directories and files. Everything on a Linux system, including all mounted filesystems, starts from the root directory.
| function calculateResourceMetrics() { | |
| let resources = window.performance.getEntriesByType('resource'); | |
| // Iterate through each resource | |
| resources.forEach(function(resource) { | |
| let transferedOverNetworkSize = `${resource.transferSize/1000}kb`; | |
| let dnsLookupTime = `${resource.domainLookupEnd - resource.domainLookupStart}ms`; | |
| let tcpHandshakeTime = `${resource.connectEnd - resource.connectStart}ms`; | |
| let sslHandshakeTime = 0; | |
| if (resource.secureConnectionStart > 0) { | |
| sslHandshakeTime = resource.connectEnd - resource.secureConnectionStart; |