- Remove everything ctrl+u
- Cut left word ctrl+w
- Reverse history search ctrl+r(> for edit, return to run)
- Check which Linux flavor (distribution + version)
cat /etc/os-release
- Most recently sort files and folder
ls -lt
- Least recently sort files and folder
ls -ltr
- Listing lnclude hidden files
ls -alt
- Filter filenames and runs them as arguments to ls -lt
grep -ril "user" . | xargs ls -lt
- Find filename(.,~)
find . -name '*create*.sh'
- Find location of file name If file is in your $PATH
which ./create-aws-user.sh
- Use quotes for copy(source or destination full path)
cp "/Users/neetupal/Downloads/project 2/secrets-setup.sh" .
- This prints the absolute (full) path
readlink -f DevSetup.ps1
-
Notifications
You must be signed in to change notification settings - Fork 0
NeetuPal/linux-commands
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published