Skip to content

yen5004/1-liner-ls--la-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

1-liner-ls--la-

1-liner script series

from ChatGPT:

You can use the following one-liner command in the Linux CLI to monitor the /etc/passwd file every 5 seconds using ls -la:

watch -n 5 'ls -la /etc/passwd'

Here's a brief explanation:

  • watch -n 5 runs the specified command every 5 seconds.
  • 'ls -la /etc/passwd' is the command to list the details of the /etc/passwd file in long format, including hidden files.

About

1-liner script series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published