Busy. Please wait.

show password
Forgot Password?

Don't have an account?  Sign up 

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove ads
Don't know
remaining cards
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
restart all cards

Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

find locate commands

Searching for Files

Search through all files by name, file size, time created, time accesses etc find
find Options: Find all plain text files in /user/home directory find /user/home -name ‘.txt’
find Options: files owned by a specified user -user
find Options: find files modified before or after a specified number of days find /user/home –mtime -5
find Options: Specifies whether files or directories [fd] find / -type d ‘*paper*’
find Options: Specifies how many levels down to search find –maxdepth 3 –name ‘*.txt’
find Options: Find specified files, including filenames with spaces -print0
find Options: Specifies the or parameter when searching multiple criteria -o
find Options: Specifies when file was last accessed -atime
Searches an index file for specific parameters (is faster than find) locate
Index file for locate /var/log/locatedb
Command to update the index /var/log/locatedb updatedb
Configuration file for updatadb /etc/updatedb.conf
locate Options: Count number of entries rather than list locate -c
locate Options: List files only after verifying that they exist locate -e
locate Options: Ignore case locate -i
locate Options: Limit the number of files listed locate -l
locate Options: Searches for a string in only file or directory base names locate -b
Display path to a command which
Displays the path to the binary file, the manual pages, and the source code whereis
whereis Options: List path to the binary file (similar to which) whereis -b
whereis Options: Lists path to the man pages whereis -m
whereis Options:List location of source code whereis -s
whereis Options: List entries that do not have source code, binary file, and man page locations -u
whereis no options Shows all available options
find Options: Find files by size - c for bytes – k for kilobytes – M for magabytes find /user/home –size +300K
Created by: johnadream