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
ADVERTISEMENT
Jan 13, 2010
Is there a way to undelete a just-deleted file in JFS? I can't seem to find any information on it. I'd have sworn I did this before but didn't save the steps.
View 1 Replies
View Related
Sep 13, 2010
How Do I Undo the Maverick Meerkat (Beta) Upgrade? Is that possible?
View 9 Replies
View Related
Jan 23, 2011
I was trying to reset my personal account's password in Ubuntu (via the root prompt in recovery mode),How do I undo the password set for root? From what I understand, it doesn't need a password, and I'm afraid I may have just ruined some built-in security feature that keeps root protected if you don't set a password.
View 2 Replies
View Related
Mar 1, 2011
please provide solution to [URL]I have updated ubuntu 10.4 to 10.10 and VLC get crashed. Now I am not able to do uninstall/ install VLC or any other software/updatehere are things I have tried but no use.
Code:
sudo apt-get clean
sudo apt-get autoclean
[code]....
View 3 Replies
View Related
Feb 10, 2010
I recently did a clean install of Ubuntu 9.10 and when I did I chose to have /home on it's own partition and have it encrypted. The more I think about it the more I regret this decision. What if I want to switch distros down the road? What if I have to boot from a live cd to back up files? Is there a way to "undo" the encrypted home folder permanently? I don't mind having it on it's own partition, it's just the encryption that makes me worry.
View 1 Replies
View Related
Apr 30, 2010
I was in Startup Application Preferences and I was managing the list of startup programs when I accidentally clicked Remove. Now it's gone and I don't know what it was. The very top one, above Certificate and Key Storage.
View 7 Replies
View Related
Jun 19, 2011
If one accepts an update of a specific package via apt and decides the update isn't desired, what does one do? In other words, what is the most sensible and relatively easy way to rol-back to the previous version of that specific package without affecting anything else (dependencies aside of course).
I want to do this with a recent adobe plug in.
View 5 Replies
View Related
Jul 10, 2011
While trying to make a Winmodem work, I've installed drivers, done magic incantations in Terminal, etc., without keeping complete records of what I did. Is there a "clean" routine or something that will remove unused drivers, or do a system rollback, or some other way to clean up the mess?
View 2 Replies
View Related
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
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
Aug 22, 2011
So, I made a bash script that I need to be executed on booting, I created it in /etc/sbin/mount_folder.sh
Code:
sudo chmod +x mount_folder.sh
sudo ln -s mount_folder.sh /etc/init.d/mount_folder.sh
Then I try to:
[Code].....
Also, if I create the symbolic link in the same folder I can execute it normally
View 5 Replies
View Related
Aug 26, 2010
I suppose I have a very common problem. While working on my project, I accidentaly hit 'rm file.tex' instead of 'rm file.aux' in the terminal of my Debian and now all of my work is gone. Could you please tell me if it is possible to undo this command? If soI should add that I am just a beginner in using the Linux system and though I have found some advice on my problem on websites, I am unable to follow it on my own. In other words I desperately need somebody to guide my through that process.
View 4 Replies
View Related
Jan 4, 2010
In the "software sources" windows under the "Updates" tab I have checked "Pre-released updates" and installed all the updates. I no longer want to track the proposed updates and have unchecked that item. Now am back to just security and recommended checked. How do i get it to downgrade the packages that it has modified when I had "Pre-released" checked? I want to get back on the stable "Recommended Updates". It seems to have changed what it looks at for updates but did not downgrade the packages.
View 1 Replies
View Related
Jan 31, 2010
I'm running OS X 10.5.8 and Ubuntu 9.04 on a Macbook 4,1, and I want to remove the Ubuntu partition so I can free up hard drive space. However, the linux swap partition is located in between the OS X and Ubuntu partitions, and GParted won't let me remove it when I boot from an Ubuntu Live disk, and OS X Disk Utility can't affect it either. I followed the dual booting instructions here, and I pretty much just want to undo all of it and get back to an OS X only machine.
View 4 Replies
View Related
Apr 15, 2010
I've tried to update Audacious 2.1 to a version, 2.3, that isn't yet on Karmic or Hardy repositories, by adding a PPA to my software sources through this line:
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update && sudo apt-get install audacious
[code]....
View 2 Replies
View Related
Sep 7, 2010
I made a custom command to run when a cd gets mounted but now I need to change it.....how do I do that? I tried going to file management but the option wasn't there. I'm using 10.10..
View 9 Replies
View Related
Jul 26, 2010
I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?
View 1 Replies
View Related
Aug 7, 2010
I'm running a clean install of Lucid on a new HD. I've moved over all my old data and files from the previous Karmic system, and am having trouble with a directory full of symlinks. This is a collection of links into my photographs, which I use for wallpaper with Desktop Drapes, and the directory has 1300 symlinks which now point to the wrong place.
I only need to change the first part of the link target:
/oldplace/somedir/subdir/photo.jpg
into:
/newplace/somedir/sudir/photo.jpg
I believe this needs the application of _ ln _ in a terminal to re-write the symlink, and the use of a bash line including _ if . . fi _ or possibly _ IFS _ ? I might also need to use _ sed, - but I'm not sure of the syntax for this.
View 3 Replies
View Related
Jul 4, 2010
I have a docs partition with my music on it. I replaced the Music folder in the system's home folder with a symlink pointing to the music folder on the docs partition, but the special music icon has now disappeared (it just looks like a regular folder).
View 3 Replies
View Related
Aug 14, 2010
I have been using pidgin on windows XP with .purple on another networked computer [also win XP]. in windows you can set the environmental variable to change the location of purplehome to the //windows_share/.purple and it 'just works' I am now trying to replicate this using ubuntu 10.04 LTS I need some answers: should a symlink be used? should it be added to fstab? should properties, command be changed in pidgin? I have tried all of these but I must not be doing it right cos it is not working! Trust you can help me out on this. I am a relative newbie but have been using ubuntu for a year or so, just never sorted this one out.
View 1 Replies
View Related
Mar 28, 2009
setting a resolution that my monitor can't handle, and now I can't figure out how to get back to a setting that my monitor can handle. When I first made the bad setting, the screen went black except for an "Out of Range" message in the middle, and wouldn't let me see anything to put it back. I ended up going to a text screen with a <Ctrl-Alt-F1>, logging in as root, and rebooting. Now, I can use all of my other user IDs (root, KDE test, "email only," etc.) just fine, but if I log in to the one with the bad res. setting, it just blacks the screen and I have to reboot again. The xorg.conf file doesn't even have any options for setting resolutions any more, so there's no way to explicitly disallow the one I set, and "deleting" (renaming) xorg.conf didn't help.
View 8 Replies
View Related
Jan 14, 2010
I just started a new SysAdmin job on Monday Jan 11, 2010. My predecessor left before I joined the company with NO documentation. All of the system mail (alerts, error messages, informative messages, etc.) that's going to root is being redirected to my boss. I checked .mailrc and /etc/aliases for an alias that would equate root with my boss, but couldn't find anything. My boss doesn't want to be receiving these emails. Where else can the previous SA could have done this operation. How can I sub my email address for that of my boss' to be receiving these alert messages.
View 6 Replies
View Related
Jul 4, 2010
I downloaded all the nvidia modules from yum repos. Now fedora will not boot. Seems to fail as xwindows starts. How I can undo those modules from the live disk? I've tried removing blacklists from etc/modprobe.d. and the .ko files from /lib/kernel/drivers//. My next alternative is to do what the windows lot do. Backup and re-install.
View 3 Replies
View Related
Sep 23, 2010
Two weeks ago I consumed all available FC13 updates. It was a terrible mistake. After that my my PC does not function properly and I have no clue how to fix it. I would like to get my PC in the previous (healthy) state. Is there an easy way to undo the updates? More than 60 packages were updated, but I do not remember which ones.
View 11 Replies
View Related
Dec 26, 2010
I'm brand new to ubuntu and very green when it comes to Linux in general.I have recently installed Ubuntu Desktop version 10.10 for my media pc (a friend of mine showed me xbmc, awesome!). I modified my install so that I don't have to enter a password when turning it on.The problem seems to be that when I did the install I chose to encrypt my home directory. Now, since I don't enter a password, the machine spews a few errors and does nothing. I finally got it to boot to a console window however I don't know how to undo what I did from the gui.I'm basically trying to get to System > Admin > Login Window > Security without the gui and "check the box" to require a password on login.Any clue as to which config file this setting is stored in?
View 5 Replies
View Related
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
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
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
Jun 16, 2010
if it is possible to copy and paste as a symlink.
It seems to me that the only way to create a shortcut or symlink is through the command line. I use KDE.
This was one of the most basic things Windows could do since Windows 95, and is one of the simplest shortcuts I dearly miss since leaving Windows.
View 5 Replies
View Related