-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added "cd -" #56
base: master
Are you sure you want to change the base?
added "cd -" #56
Conversation
Signed-off-by: deinonychus <deinonychus@users.noreply.github.com>
Signed-off-by: deinonychus <deinonychus@users.noreply.github.com>
@@ -1034,6 +1034,16 @@ find . -type f -empty -delete | |||
find . -type f | wc -l | |||
``` | |||
|
|||
##### List all files with name [FILE] under / |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
searching through on entire system can be very resource-intensive and time-consuming, and should be done with caution. I tend not include this example here, as previous examples show how to search file with name.
@@ -3180,6 +3190,15 @@ cd $(mktemp -d) | |||
# for example, this will create a temporary directory "/tmp/tmp.TivmPLUXFT" | |||
``` | |||
|
|||
##### Quickly return to last working directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use
Return to the previous directory
cd -
i suggest removing the comments below as they are hard to understand:
# example that will get you back to home directory:
# cd ~
# cd /tmp/tmp.TivmPLUXFT
# cd -
as most oneliners are quick
No description provided.