Merge pull request #138 from terminalforlife/master
Improve `lenchk` and Fix Some Line Lengthspull/140/head
commit
c4ca01581d
@ -1,13 +1,17 @@
|
||||
# dpkg-deb
|
||||
# Debian package archive (.deb) manipulation tool
|
||||
|
||||
# Build a DEB package using the provided directory.
|
||||
dpkg-deb -b /path/to/directory
|
||||
|
||||
# List out the contents of an existing DEB package.
|
||||
dpkg-deb -c /path/to/package.deb
|
||||
|
||||
# Extract the contents of an existing DEB package. If no destination is provided
|
||||
# for the extracted files, then they will be extracted to the CWD. Will also create
|
||||
# the specified directory if it's not found, but it won't create its parents.
|
||||
# Extract the contents of an existing DEB package. If no destination is
|
||||
# provided for the extracted files, then they will be extracted to the CWD.
|
||||
# Will also create the specified directory if it's not found, but it won't
|
||||
# create its parents.
|
||||
dpkg-deb -x /path/to/package.deb /path/to/destination/
|
||||
|
||||
# Output a (unique) list of available sections under which to create a DEB package.
|
||||
# Output (unique) list of available sections under which to create DEB package.
|
||||
awk '!A[$1]++{print($1)}' <<< "$(dpkg-query --show -f='${Section}\n')"
|
||||
|
@ -1,11 +1,12 @@
|
||||
# system_profiler
|
||||
# Report system hardware and software configuration (Mac OS X)
|
||||
|
||||
# Display a full system profiler report which can be opened by System Profiler.app:
|
||||
# Display a full system profiler report which can be opened by
|
||||
# 'System Profiler.app'.
|
||||
system_profiler -xml > MyReport.spx
|
||||
|
||||
# Display a hardware overview (Model, CPU, Memory, Serial, etc):
|
||||
# Display an overview of system hardware (Model, CPU, Memory, Serial, etc).
|
||||
system_profiler SPHardwareDataType
|
||||
|
||||
# Print the system serial number:
|
||||
# Print the system's serial number.
|
||||
system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'
|
||||
|
Loading…
Reference in New Issue