I'm new to this forum, but i'm getting to work on some unix and i like it a lot. I'm trying to figure out a way i can create a shortcut command for a long pathname for example, if i needed to access a file in a particular directory i would type "cd /sampledata/IFS/IFS_DEV/HDC/files/glitter". but instead i just want to type "glitter" at the command line and be able to access the glitter directory. Can someone give me a sample script that would help me accomplish this.
yes, but i think that just gives it an assigns it a name. It does not actually execute the command from one directory and take me to that location as specified by the actual path name
1) find in your root directory the following file
.cshrc or .cshrc.user(hidden files)
2) in this file add the following line.
alias glitter 'cd /sampledata/IFS/IFS_DEV/HDC/files/glitter')
if you're modifying '.profile':
alias definitions for different shells are different - you had syntax for csh-types shells and you're runnig bash-like shell.
and don't forget to 'source' your '.profile' file after modifying it:
Hi,
I am creating a debian package (*.deb) for my application using the command I am using debian pre/post installer scripts to do certain tasks before/after installation/uninstallation. One such task is to create a shortcut on the user's desktop to launch my application. I am trying to do this... (0 Replies)
Hi board!
Can anybody tell me how to configure the Keyboard shortcuts of Firefox?
I know that there is an extension called keyconfig and I used it with Firefox 1.0 but I it wasn't updated since 2005 or something. I also had a closer look at about:config but didn't find anything. My Google... (7 Replies)
Hello,
Can anyone tell me how I can make a file link or shortcut in UNIX 4.0, several
file links where damaged during an outage examples below.
Examples: file -> file
libX11.so -> /usr/shlib/libX11.so.pre.O3D
All of the file links that were damaged were in /shlib and point to... (3 Replies)