Working with text files in Unix/Linux (part 3/3)
(ServerLinux) Another complex combination. To list line numbers on a file the cat command has an option, but the 'nl' command has multiple formating options, something that the 'cat' command doesnt.The -n specifies a format and 'rz' right justifies with not
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 14157 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 14157]
updated 14157 (Linux Server Security Secrets), inserted 2, updated 0, at 2012-06-01 21:51:42
Articles from: Linux Server Security Secrets (ServerLinux)