answersLogoWhite

0


Best Answer

alias mycd="cd /usr/local/bin"

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create an alias my CD to CD usr local bin command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What command could you use to create an alias called c that runs the clear command in your current shell?

ln -s /usr/bin/clear /usr/bin/c


Are commands other than shell built-in executed in kernel?

No. All commands are executed in userspace. If the command is not built-in to the shell, it will look in a binary directory (/sbin, /bin, /usr/bin, or /usr/local/bin) for a program matching that name.


Is ls is external or internal command?

The 'ls' command is an external command (found in /bin)


How do you change path variable in unix?

The PATH variable is a list of directories separated by colon (:). The shell searches through these directories whenever it needs to find a command.You can you printenv command to display the PATHvariable$ printenv PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesTo add a new path into the PATH variable$ PATH=$PATH:Example$ PATH=$PATH:/test/programs$ printenv PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/test/programs


Did Bin Laden create the Afghanistan war?

No; he did not "create" a war.


Where is the command shell on Ubuntu?

bash is located in /bin/bash.


Ajit wants to create a soft link on etcjava to point to usrbinjava. how would you help him setup the link.?

The command is ln -s /usr/bin/java /etc/java.


How do you create a wedding ceremony on bin weevils?

you can't create one.


How do you get the big antenna on bin weevils?

you can get a big antenna on bin weevils when you create your weevil.


What does the Type command do?

It is one of builtin Bash commands. It is used to describe the command and how it would be interpreted if used.Examples:Shell: type -p rubyReturn: /usr/bin/rubyShell: type -a rubyReturn: ruby is /usr/bin/rubyShell: type -t rubyReturn: fileShell: type -a echoReturn:echo is a shell builtinecho is /bin/echo


How do you open applications in Linux?

From the command shell, programs can be launched just by typing their name, as long as they are in your "path", or one of the directories you are allowed to launh applications from, such as /usr/bin or /usr/local/bin. Desktop environments have their own ways of launching applications, usuall from an application menu.


What are all of the Ubuntu 10.10 terminal commands?

There are literally hundreds of them. Far too many to even summarize them in this forum. List the/bin/usr/bindirectories for terminal commands. Frequently customized 'commands' or other software will be found in /usr/local/bin (for global execs, user specific binaries will most often be in the user's 'bin' directory... eg /home/user_account_name/bin).If you see a 'command' that you are unfamiliar with, you can check it's manual page, usually referred to as 'man page' by invoking the command 'man program_name' or the command 'info program_name'. Or, of course, you can Google them as well.Buena suerte!