The Wiki has moved to new hardware, and the old server died.

Welcome to the Slackware Documentation Project


This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:general_admin:cli_constructs_and_useful_info [2012/12/24 12:13 (UTC)]
hazel [Useful commands and info]
howtos:general_admin:cli_constructs_and_useful_info [2013/04/02 15:19 (UTC)] (current)
htexmexh [Constructs]
Line 9: Line 9:
 ls -1 /​var/​log/​packages | rev | cut -d - -f 1-3 --complement | rev ls -1 /​var/​log/​packages | rev | cut -d - -f 1-3 --complement | rev
 </​code>​ </​code>​
-Or if you wanted to get the full patch of a file, minus the suffix.+Or if you wanted to get the full path of a file, minus the suffix.
 <code bash> <code bash>
 echo /​proc/​config.gz | rev | cut -d. -f1 --complement | rev echo /​proc/​config.gz | rev | cut -d. -f1 --complement | rev

In Other Languages
QR Code
QR Code howtos:general_admin:cli_constructs_and_useful_info (generated for current page)