Skip to content

Commit acd69a2

Browse files
author
adrianbartyczak
committed
Capitalize and add period to all alias descriptions
1 parent c062584 commit acd69a2

File tree

21 files changed

+32
-32
lines changed

21 files changed

+32
-32
lines changed

aliases/file_management-output_only/directory_information/directory-context-information-retrieval.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Directory context information retrieval aliases
77
#
88

9-
alias numfiles='echo "$(ls -1 | wc -l)"' # numfiles: print the number of non-hidden files and directories in the current directory
9+
alias numfiles='echo "$(ls -1 | wc -l)"' # numfiles: Print the number of non-hidden files and directories in the current directory.
1010

aliases/file_management-output_only/file_finding/first-match-file-finding.aliases

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# First match file finding aliases
77
#
88

9-
fff() { find . -type f -name "*${1}*" -print -quit; } # fff: recursively find the first file matching a name; $1: file name
10-
fdf() { find . -type d -name "*${1}*" -print -quit; } # fdf: recursively find the first directory matching a name; $1: directory name
11-
fffa() { find "$PWD" -type f -name "*${1}*" -print -quit; } # fffa: recursively find the first file matching a name and return its absolute path; $1: file name
12-
fdfa() { find "$PWD" -type d -name "*${1}*" -print -quit; } # fdfa: recursively find the first directory matching a name and return its absolute path; $1: directory name
9+
fff() { find . -type f -name "*${1}*" -print -quit; } # fff: Recursively find the first file matching a name; $1: file name.
10+
fdf() { find . -type d -name "*${1}*" -print -quit; } # fdf: Recursively find the first directory matching a name; $1: directory name.
11+
fffa() { find "$PWD" -type f -name "*${1}*" -print -quit; } # fffa: Recursively find the first file matching a name and return its absolute path; $1: file name.
12+
fdfa() { find "$PWD" -type d -name "*${1}*" -print -quit; } # fdfa: Recursively find the first directory matching a name and return its absolute path; $1: directory name.
1313

1414
ffd() { echo "$(find . -type f -name "*${1}*" -exec sh -c 'echo "${1%/*}"; \
15-
kill "$PPID"' sh {} \;)" ;} # ffd: recursively find the first file matching a name and return its parent directory; $1: file name
15+
kill "$PPID"' sh {} \;)" ;} # ffd: Recursively find the first file matching a name and return its parent directory; $1: file name.
1616

aliases/file_management-output_only/file_finding/single-step-file-finding.aliases

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
# Single step file finding aliases
77
#
88

9-
ff() { find . -type f -name "*${1}*"; } # ff: recursively find all files matching a name name; $1: file name
10-
fd() { find . -type d -name "*${1}*"; } # fd: recursively find all directories matching a name name; $1: directory name
9+
ff() { find . -type f -name "*${1}*"; } # ff: Recursively find all files matching a name name; $1: file name.
10+
fd() { find . -type d -name "*${1}*"; } # fd: Recursively find all directories matching a name name; $1: directory name.
1111

aliases/file_management-output_only/file_finding/text-based-file-finding.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Text based file finding aliases
77
#
88

9-
ffgr() { /usr/bin/grep -l -R "${1}" .; } # ffgr: recursively find all files containing a given text; $1: text to search
9+
ffgr() { /usr/bin/grep -l -R "${1}" .; } # ffgr: Recursively find all files containing a given text; $1: text to search.
1010

aliases/file_management-output_only/file_permission_information/recursive-file-permission-information-retrieval.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Recursive file permission information retrieval aliases
77
#
88

9-
alias ll='command ls -FGlAhp' # ll: list the permissions and owner of each file in the current directory
9+
alias ll='command ls -FGlAhp' # ll: List the permissions and owner of each file in the current directory.
1010

aliases/file_management/file_permissions/multiple-permission-change.aliases

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
# Multiple permission change aliases
77
#
88

9-
alias permusergroupreadwrite='chmod ug+rw' # permusergroupreadwrite: give the user and group read and write permissions to a file.
10-
alias permusergroupreadwritexec='chmod ug+rwx' # permusergroupreadwriteexec: give the user and group read, write and execute permissions to a file.
9+
alias permusergroupreadwrite='chmod ug+rw' # permusergroupreadwrite: Give the user and group read and write permissions to a file.
10+
alias permusergroupreadwritexec='chmod ug+rwx' # permusergroupreadwriteexec: Give the user and group read, write and execute permissions to a file.
1111

aliases/file_management/file_permissions/single-permission-change.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Single permission change aliases
77
#
88

9-
alias permreadonly='chmod a-w' # permreadonly: change the permisson status of a file to read-only
9+
alias permreadonly='chmod a-w' # permreadonly: Change the permisson status of a file to read-only.
1010

aliases/hardware_management-output_only/power_supply/power-supply-status-information-retrieval.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Power supply status information retrieval aliases
77
#
88

9-
alias batthrs='upower -i /org/freedesktop/UPower/devices/DisplayDevice | sed -n 12,12p | awk "{print $4}"' # batthrs: get the number of remaining hours for the battery power
9+
alias batthrs='upower -i /org/freedesktop/UPower/devices/DisplayDevice | sed -n 12,12p | awk "{print $4}"' # batthrs: Get the number of remaining hours for the battery power.
1010

aliases/hardware_management/monitor/monitor-power-management.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Monitor power management aliases
77
#
88

9-
alias suspendmonitor='sleep .7; xset dpms force off' # suspendmonitor: suspend the monitor
9+
alias suspendmonitor='sleep .7; xset dpms force off' # suspendmonitor: Suspend the monitor.
1010

aliases/mobile_device_management-android/network_management/internet-network-management.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
# Android internet network management aliases
77
#
88

9-
alias androidcellip="adb shell ip -f inet addr show rmnet0|sed -n '2{p;q}'|tr -s ' '|awk -F'[/ ]' '{print \$3}'" # androidcellip: get the cell network IP address of an Android device
9+
alias androidcellip="adb shell ip -f inet addr show rmnet0|sed -n '2{p;q}'|tr -s ' '|awk -F'[/ ]' '{print \$3}'" # androidcellip: Get the cell network IP address of an Android device.
1010

0 commit comments

Comments
 (0)