2021/11/23
locate searches all filenames for a keyword using a database which you can update updatedb.
whereis searches for binaries using the same mechanism.
https://www.madebygps.com/an-intro-to-finding-things-in-linux/
locate searches all filenames for a keyword using a database which you can update updatedb.
whereis searches for binaries using the same mechanism.
https://www.madebygps.com/an-intro-to-finding-things-in-linux/
that sudo can be configured with the visudo command and that sudo can produce audit logs.
See https://www.sudo.ws/posts/2022/05/sudo-for-blue-teams-how-to-control-and-log-better/
that there’s an Element.closest(selector) method, which means you can run this function to set the url to the closest link to an element:
((el) => {
let id = el.closest("[id]")?.id;
if (!id) return;
else location.hash = id;
})($0);
that you can use
SELECT /*...*/
FROM one_table
JOIN other_table
USING (common_column)
as shorthand for one_table.common_column = other_table.common_column.
See https://www.postgresql.org/docs/current/sql-select.html#SQL-FROM
that gzip(1), by default, includes file mtimes. The flag to prevent gzip from zipping non-deterministically is gzip --no-name or gzip -n.