Search notes:

Shell command: cut

-f extracts the specified columns from tab separated columns file:
cut -f 1,3 testfiles/tab-separated_3-fields
Github repository shell-commands, path: /cut/f1,3
-d specifies the delimiter (in the following command: a space):
cut -d" "  -f1,3 testfiles/space-separated_3-fields
Github repository shell-commands, path: /cut/d__f1,3

See also

column to create tabular data from an input stream.
awk
Shell commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/sh...', 1758194893, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/shell/commands/cut(49): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78