Compare commits
No commits in common. "63d96ece9292aea0f17d8686dbd26946fcf60a56" and "e065f9648156df7e00f09f97948e8b83710620f8" have entirely different histories.
63d96ece92
...
e065f96481
@ -1,5 +0,0 @@
|
||||
# Update and Upgrade the system
|
||||
alias aptup='sudo apt update && sudo apt upgrade'
|
||||
|
||||
# Show Packages to update
|
||||
alias aptavail='sudo apt update && sudo apt list --upgradable'
|
||||
@ -1,26 +0,0 @@
|
||||
# Go up directories
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../../../'
|
||||
alias ....='cd ../../../../'
|
||||
alias .....='cd ../../../../'
|
||||
up () {
|
||||
local d=""
|
||||
local limit="$1"
|
||||
|
||||
# Default to limit of 1
|
||||
if [ -z "$limit" ] || [ "$limit" -le 0 ]; then
|
||||
limit=1
|
||||
fi
|
||||
|
||||
for ((i=1;i<=limit;i++)); do
|
||||
d="../$d"
|
||||
done
|
||||
|
||||
# perform cd. Show error if cd fails
|
||||
if ! cd "$d"; then
|
||||
echo "Couldn't go up $limit dirs.";
|
||||
fi
|
||||
}
|
||||
|
||||
# Go to User Home Directory
|
||||
alias home='cd ~'
|
||||
Loading…
Reference in New Issue
Block a user