General :: Shell - On (CentOS 5), Remembering When We've Followed A Symlink And Being About To 'cd?

Dec 10, 2010

I'm trying to figure out how to tell the shell (tcsh) to remember when I've gone into a symlinked folder, and allow 'cd' to navigate back out of the symlink rather than just navigate to the parent directory of the linked-to folder...

For example:

$ ls -al /jobs
tech -> /mnt/projects1/tech
temp -> /mnt/projects2/temp
$ cd /jobs/tech
$ cd ../temp
../temp: No such file or directory.
$ pwd
/mnt/projects1/tech

View 2 Replies


ADVERTISEMENT

CentOS 5 :: KDesktop Tool Doesn't Recognize Symlink?

Sep 23, 2009

The default kde location for wallpapers is as follows:/root/.kde/share/wallpapers (permissions drwxr-xr-x)

View 6 Replies View Related

General :: Why Is Vim Not Remembering Position In File Between Runs?

Dec 3, 2010

I'm using vim 7.2.330 on 64 bit ubuntu 10.04, sometime in the last week every time I reopen a file it places the cursor at the top of the file. I can see in ~/.viminfo where it's saving the last position used, but it doesn't seem to be honoring it.

View 1 Replies View Related

General :: Symlink And Sudo Executable?

Jun 14, 2010

If I have the below sudoers entryusera ALL=(userb) NOPASSWD: /home/userc/bin/executable-fileusera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-fileWhen I log-on as usera and try running the below commands, it workssudo -u userb /home/userc/bin/executable-filebut NOT the one below.sudo -u userb /home/userc/bin/link-to-another-executable-fileSorry, user usera is not allowed to execute '/home/userc/bin/link-to-another-executable-file' as userb on hostname.

View 1 Replies View Related

General :: Why Can't Make Symlink Except As Root

Mar 13, 2010

In my MIDI music collection, I have a "best" folder with duplicate copies of only my favorite files. Recently I thought, why waste memory with duplicates--can't I just put symlinks in the "best" folder? So I tried to, in Konqueror. It would only let me make the symlinks from the Konqueror superuser account.

View 4 Replies View Related

General :: Do Symlink Or Hardlink At Start Up?

Jun 7, 2011

2.6.38-8-generic
Mint 11 64 bit

I'm trying to move a file from a directory to another one and create a symlink but seem to be doing something wrong. Have done "man ln" and looked up info in coreutils but I don't seem to be able to get it right. There are two files in ./home/jim/.config/banshee-1/ that I want to move to ./home/jim/Dropbox/banshee. I have created backups of both and created the new folder in Dropbox. see attached screen shots. I then run

Code: jim@saturn ~ $ sudo ln - ./home/jim/Dropbox/banshee/banshee.db ./home/jim/.config/banshee-1/banshee.db
ln: creating symbolic link `./home/jim/.config/banshee-1/banshee.db': No such file or directory and get the above error message. Now I know symlinks do not need to be complete at the time of creation, but I'm not sure if I have done this right or not and if I try and read and write banshee.db at the original location if it will do it properly and efficiently. Is this a case where I should do a hardlink instead and have both files. If I want to do this every time at start up, how do I automate the commands once I have them right?

View 5 Replies View Related

General :: Create Symlink For Every File Want To Include?

Jul 4, 2010

I have a CMS I have developed, which will run on several sites all hosted in sub directories on my dedicated server. I want to create symlinks for the main files of the CMS, including all config files, functions and admin sections. Then there will be a few files specific to each site.I read some tutorials on creating symlinks, although most are not very good in my opinion.

Do you have to create a symlink for every file I want to include? Or can I just create a symlink to a directory? For example:CMS is located at /www/cms/.Can I make www/domain1/ point to that directory, and if so, will all files include themselves correctly. I think I am a bit confused on how this works.

View 1 Replies View Related

General :: Symlink All Files But Copy Certain Extensions?

Jul 27, 2011

I'm wondering how I'd be able to symlink all the files in a dir structure and then also copy files of a certain extension in that dir. I'm basically symlinking all files within /foo/a,b,c to /bar/a,b,c and then copying over certain files with a certain extensions.

View 1 Replies View Related

General :: Rdiff-backup Keeps Backing Up A Symlink, Ignoring Files Under It

Dec 6, 2010

I've got a backup.list file that looks like this:

+ /ext/installs
+ /ext/media
- /ext
- /backup
- /dev
- /mnt
- /proc

/ext is a symlink to /mnt/vg1/vol1, under which are installs and media directories.

I'm running:

rdiff-backup --backup-mode --include-globbing-filelist backup.list / /backup

rdiff-backup keeps recreating a symlink: /backup/ext -> /mnt/vg1/vol1, which is kind of missing the point, because then it doesn't actually back up the files in /mnt/vg1/vol1/installs, etc.

View 1 Replies View Related

General :: Use Symlink To Provide Access To A Specific File Under A Restricted Directory

Jan 24, 2011

My home directory's permissions allow only myself access to it. Is it possible to put a file inside my home directory with.. say.. full permissions, and create a symlink to it so other users can access that file alone inside my home folder? System is Ubuntu Karmic.

View 2 Replies View Related

General :: Make A Symlink That Redirects To The Directory Rather Than Acting As An Alternate Path?

Sep 30, 2010

is there a way to make a symlink that redirects to the directory rather than acting as an alternate path? In other word, what I have now is:

[Code]....

I want my pwd to be the hardlink pwd rather than the symlink pwd after changing my directory.

View 2 Replies View Related

Ubuntu :: Firefox Not Remembering Passwords

Jun 27, 2010

Just did a clean, fully updated install of Lucid. Unlike the development version I was running, Firefox now will not remember usernames or passwords for sites. I have "Remember passwords for sites" under Preferences checked.

View 2 Replies View Related

Ubuntu :: Unity Is Not Remembering Icon Changes

Aug 9, 2011

I recently tried gnome 3 on my netbook to see if it would work (via PPA) on ubuntu 11.04, it didn't.URL...I rolled backed to gnome 2 (by removing the PPA - comment 7 in the above link), however, now when I use unity as my desktop any changes I make to the docked icons are not saved when I logout. This seems to happen on a couple of different users, so it doesn't seem to be a user setting problem (i.e. a weird file version problem).As a work around I have unity 2D installed on my netbook (an eee 1000H) and this works fine.

View 2 Replies View Related

Fedora :: Gnome Is Stuck Remembering Applications

Aug 4, 2009

I recently was playing with some gnome settings and I went to System > Preferences > Startup applications then I hit the Options tab and checked "Automatically remember applications when logging out" was testing to see if it actually worked... and it did.. so I unchecked it and restarted again and... it's the SAME 3 applications I was running.. and its stuck..tried checking it again and then closing everything but now it's still doing it with the same 3 apps I had running (Totem, Firefox, Pidgin).Anybody know how to wipe where it's remembering the applications I'm running? so this can stop when I log in.

somehow checking it again and closing everything worked this time, but does anybody know where I can find the find the remaining information for this function? so i can wipe it clean, whatever may be left.

View 2 Replies View Related

Fedora :: Remembering Authorization For Mounting Partition?

Nov 20, 2009

Every time I reboot PC I have to enter the admin password to mount ntfs partition. Is there any way to avoid this. In Fedora 10 there was remember authorization option, is there any option like this in F12?

View 4 Replies View Related

Fedora :: Tvtime: Remembering Volume Across Restarts?

Jul 17, 2010

I'm on Fedora 13 (64 bit) and using tvtime (latest version 1.0.2-13.fc13 installed via yum) which I've managed to get to work with my old WinTV card (bt878 chipset I think) by having it start with its mixer-device set to "hw:0/Line" (the WinTV card outputs the sound via a cable to the Line In socket of the soundcard).

This all works (I can control the volume in tvtime using the left and right keys) except that the volume resets to zero every time I restart. tvtime remembers all my other settings (and the previous volume is even saved in its config file) so I think the issue is related to ALSA/PulseAudio resetting the appropriate mixer (Line In on the internal sound card).

However, I can't find which mixer tvtime is accessing. In 'Sound Preferences', changing the Master Volume affects the sound from tvtime, but none of the other mixers seem to be related to it (and tvtime doesn't appear on the 'Applications' list). I've also tried finding it in alsamixer, which gives me a choice of 'default' (PulseAudio), 'HDA Intel' (the internal sound card) and 'Brooktree Bt878' (the TV capture card) and again the 'Master' and 'Front' mixers do affect the sound, but are not the mixer that tvtime is accessing.

I know this is a very specific and minor thing, but it's a bit annoying seeing as I've got everything else set up near-perfectly.

Or alternately, as a workaround, is there an easy way of creating a script to lanuch tvtime and send some volume up commands (right arrow key) the first time it is run after a restart (but not the times after that)?

View 14 Replies View Related

Fedora :: Turn Off Remembering Startup Programs

Aug 19, 2010

I used to have it set up where fedora remembered startup programs, I turned the feature off, and it continues to remember everything?

View 4 Replies View Related

Ubuntu :: Firefox Remembering Tabs Despite Settings?

Aug 18, 2010

I have Ubuntu 10.04 x86 on my laptop. I think I had this problem with older versions, but I can't remember. Needless to say it's been going on for a while. Firefox is set explicitly to go to my home page [URL] when opening, but it frequently (50% or better) instead opens my tabs from my last session.

How can I fix this?

View 7 Replies View Related

Software :: Firefox To STOP Remembering Passwords?

Jan 8, 2011

I clicked "remember" on a page, and now I have to depend on my USER login to provide me security. I am SCARED of this thing.

View 4 Replies View Related

Debian :: Remembering Window Placement On Dual Monitor Setup

Mar 22, 2016

I am wondering if it is possible to have programs remember which monitor they were last placed on when re-opening them?

View 1 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

General :: Symlink Each Of The Files In One Directory To Another Directory?

Feb 11, 2011

If I have a directory /foo with a few files in it, how do I symlink each entry in /foo into /bar/? For instance, if /foo has the files a, b and c, I want to create three symlinks:

/bar/a -> /foo/a
/bar/b -> /foo/b
/bar/c -> /foo/c

View 3 Replies View Related

CentOS 5 :: Ftp - Chroot In The Shell?

Jul 30, 2009

ive created user in my server for vsftp and they are chroot when they use the ftp but not when they use the shell. How to chroot them into the shell?

View 3 Replies View Related

CentOS 5 :: Getting A Shell Script To Run?

Nov 24, 2009

I cannot get the following shell script to run. It is required for an installation of an Intel compiler (i.e. I did not write the script). I have had no trouble running other scripts but I cannot see what I am doing wrong with this one:

#! /bin/sh
export MKLROOT="/opt/intel/Compiler/11.1/059/mkl"
if [ -z "${INCLUDE}" ]
then

[Code]....

In a terminal I cd to the folder where the above script (mklvarsem64t.sh) resides and type that script name. Nothing happens and when I echo one of the environment variables (e.g. echo $LD_LIBRARY_PATH) I do not get what it is supposed to be (it remains as it was before running the script).

View 1 Replies View Related

CentOS 5 :: No Shell In VNC Session?

Jan 5, 2011

not have shell in VNC session ,

on a clean install of centos put these command

yum update -y
yum groupinstall -y "Japanese Support"
yum install -y rtorrent lftp mc firefox
yum -y groupinstall xfce

[Code]....

View 4 Replies View Related

Ubuntu :: How Can Be Changed Symlink From / Etc / Rc2.d Directory

Feb 27, 2010

How can be changed a symlink from the /etc/rc2.d directory.I want tho change the time of start from S20 to S60.

View 1 Replies View Related

Ubuntu :: Samba Symlink Change With 10.10?

Oct 10, 2010

I have a server with my music on it. There is a network share where all my machines can access that music. In the past I have created a link inside the Music folder of each user/machine which links to the Samba share. I have been doing this by linking to /home/[username]/.gvfs/share on server.

In 8.10 I am able to drag and drop to create the necessary link from Music to share on server. With maybe 9.10 I lost the ability to drag and drop the link and had to resort to the command line ( ln -s "/home/[username]/.gvfs/share on server" /home/[username]/Music ). With 10.10 I don't seem to be able to create this link using any method. (Any link which is created is linked to / .) (After 8.10 admin rights are required to create the link from ~/.gvfs/whatever.) This method is very handy as all of the machines and users point to the exact same location for their music (~/Music/share) and if I can't create that link this system of organization fails.

View 1 Replies View Related

Ubuntu :: How To Undo Changing Symlink

Feb 4, 2011

how to undo this?

"Simply change the symlink so that it points to /bin/bash. To do this, open a terminal, and type the following:

sudo rm -f /bin/sh
sudo ln -s /bin/bash /bin/sh

From now on your scripts should work as their authors expected."

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved