Skip to main content

All Questions

Tagged with
0 votes
2 answers
1k views

Can't I define aliases (using `export`) that are in my current directory? Doing so gives a `not found` message

TLDR: have to define an alias/variable using the export command, I can't use the full path and using a relative path (i.e. defining the alias while in the directory directly above what I want to ...
James Ronald's user avatar
0 votes
1 answer
312 views

Always exclude path in find command

I have a directory whose contents should never be found by find, so I aliased find like this: alias find='find -not -path "*.sync*"' the issue is that find now complains that operators are not ...
xeruf's user avatar
  • 571
0 votes
2 answers
73 views

Entering the last modified directory

Which command can I use to: Enter the last modified directory in the current directory. If no directory exists or is possible to enter, do nothing. I'm looking for an alias named ca that will work ...
Alexander's user avatar
  • 9,930
8 votes
4 answers
9k views

How to create a short path?

We have so many useful folders, which are in different path, for our working in Linux. For example : $ cd ~/Documents/Courses/EDX/physics2013/ $ cd ~/Documents/Company/OpenGL/Proj/... $ cd ~/...
Gapry's user avatar
  • 245
3 votes
1 answer
8k views

creating abbreviations for commonly used paths

I was wondering whether it is possible to create abbreviations that can be used in terminal. I know about alias command, but am not sure whether that can be used for what I am looking for. Example: ...
Curious2learn's user avatar