General :: Deleted .bashrc File Accidently

Apr 11, 2010

I accidently deleted my .bashrc file. I am a Debian user.Wat should i do??

View 7 Replies


ADVERTISEMENT

Ubuntu :: Accidently Deleted / Usr / Bin / Ld File

Apr 12, 2010

lol title says it all, im pretty new with using ubuntu and was messing around, I honestly dont reember what i was trying to do, but anyway, it ended up with me deleting the /usr/bin/ld file, it didnt really change anything and everything performed as normal untill i tried to compile some c++ code a few days later. now its giving me the error, collect2: cannot find 'ld', ive been searching all over looking for how I can get it back or reinstall it, seems no one else was dumb enough to do what i did lol forgot to mention, its not in the recycling bin because I override the file, then deleted it..

View 3 Replies View Related

Debian :: Accidently Deleted System File

May 27, 2010

In the Folder /bin I was following along with a tutorial on Linux.org where it was showing me how to edit a file (.bashrc) nad supposedly would not Delte a File without a Warning.The file I would like to put back in the /bin Directory is znew , I am not sure what it does yet but I would like to put it back anyway. Can someone tell me how to redownload that Single File from a Linux Mirror possibly?

View 8 Replies View Related

Fedora :: Accidently Deleted F12

Jan 22, 2010

So I installed F12 x86_64 version the other day. Everything was going okay. So today I signed on to my windows 7 instead. While I was on it. I was looking at the extra space I had allocated for F12. Well I thought I was going to delete that but I actually deleted the F12 partition. This means that I don't have a MBR anymore. Is there anyway I can get my original MBR back onto my windows 7? I'm going to buy a separate hard drive to install windows 7 later. I just would like to know if I really screwed up by deleting F12. If this helps, it did switch my bootloader from the main MBR in 7, to grub. I tried EasyBCD to reinstall it but it keeps say it failed.

View 1 Replies View Related

Ubuntu :: Accidently Deleted Top Panel In 10.04?

Sep 7, 2010

For whatever reason, I somehow deleted my top panel and couldn't shut down. I built a new one and have put some apps on it but still could use 'Places' any idea how to recreate that? Can my original panel be restored? I am still very new to this.

View 5 Replies View Related

Ubuntu :: Accidently Deleted ENTIRE Mp3 Collection?

Feb 6, 2010

where I can find a tool / utility that recover my precious mp3 files?I deleted and cleared my trash.

View 9 Replies View Related

CentOS 5 :: Accidently Deleted /proc Files?

Sep 21, 2010

While experimenting with rsync, I accidently deleted a bunch of files in the /proc directory. I think it was the directories: 1, 2, 3 ... 10.This happened a few days ago and after rebooting a number of times, I do not notice any problems.

View 3 Replies View Related

Ubuntu :: Accidently Deleted Sound Speaker Thing And Intenet On Task Bar

Jun 20, 2010

I was trying to move a Alsamixer shortcut icon I made to the task bar and I accidentally deleted the speaker volume icon and internet icon.how do I get them back?

View 2 Replies View Related

General :: Use Environment Variables In The .bashrc File?

Apr 16, 2011

I am trying to include my directory /usr/sbin in it's serch path for executable files using an environment variable. Would the input be: PATH="/usr/sbin"? And also upon start up, my shell should create the PRINTER environment variable which should resolve to the word sales...would that input be: PRINTER="sales"? If someone could help me with these two questions,

View 3 Replies View Related

General :: Get Path Of Sourced Bashrc File?

Feb 11, 2011

I want to assign the path of a sourced sub.bashrc file to an environment variable. E.g. if I type (or execute) from a known relative location

$ source ../../someDir/sub.bashrc

the sub.bashrc should set a variable like

export MyOwnLocation=/home/user1/unknownlocation/someDir

The problem is I can't use $0 as reference because the script is only sourced not executed. I also don't want to hardcode the path because the location might change and there will be more copies. Is there an easy way to create this information from within the the sourced bashrc file? I use Gnu bash 2.05b on Suse Linux 9.

View 6 Replies View Related

General :: Joining Two Commands In The .bashrc File?

Apr 15, 2011

attending class in the Redhat Academy Website. I was wondering how can you join the two commands of cd/usr & ls successfully in the .bashrc file?

View 10 Replies View Related

General :: Script After Putting The File In Bashrc?

Oct 23, 2010

I have a problem with my script. The problem is the system keeps rebooting after I put the directory file in .bashrc. The intentional for putting the file in .bashrc is to run the script automatically after login as root, I don know why is this happen. It was working fine for the first time without putting the file in bashrc. I could break the loop after hitting the "ESC" key. would it be the script problems?

Here is my script
count=20
while [ $count -gt 0 ];do
sleep 1
echo Press ESC to break the operation
((count=count-1))

[Code]...

View 11 Replies View Related

General :: Set Path For Different Software In The Bashrc File?

Aug 24, 2010

I have installed a software and set the variables in the .bashrc file to avoid setting them everytime I would like to run te software. Now I have installed a new software and would like to do the same thing in the .bashrc file.How can I add the path to the new software directory without affecting the first software path.

View 2 Replies View Related

General :: Can't Change Permission For Bash.bashrc File?

May 28, 2010

I tried following the example from here (http:url]......)Open up publicity.html for reading and writing by anyone.

Before: -rw-r--r-- publicity.html
Command: chmod og=rw publicity.html
After: -rw-rw-rw- publicity.html

Here's my terminal session:

username@ubuntu:/etc$ -rw-r--r-- bash.bashrc
-rw-r--r--: command not found
username@ubuntu:/etc$ chmod og=rw bash.bashrc[code]....

View 2 Replies View Related

Ubuntu :: .Bashrc File - General Guide To Customizing It?

Mar 3, 2011

I want to play around my .bashrc file, but I can't seem to find a general guide to customizing it. I just want a guide that will show me examples and explain them in-depth.

Does anyone where to find one?

View 2 Replies View Related

General :: Modify .bashrc File To Change The HISTSIZE?

Apr 27, 2011

If I want to modify my .bashrc file to change the HISTSIZE would the following command be for example; HISTSIZE=200? And if I want to change the DEBUG_LEVEL to 8 would the following command be; DEBUG_LEVEL=8?

View 3 Replies View Related

General :: .bashrc File Adds A Couple Of Tens Of Spaces To The Prompt?

Sep 3, 2010

I got myself a .bashrc file off the net. I checked it beforehand, didn't detect anything bad about it. One thing that's odd about it, is that several spaces are added to the terminal command line.Screenshot:Those spaces are not put there by me. The file can be found here: [URL]..

View 3 Replies View Related

General :: Recover A Deleted File Using The Ext3 File System?

Jan 10, 2011

I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.

I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.

View 6 Replies View Related

Ubuntu :: Accidently Modified My File System Of Some Partition In My Hard Disk From Ntfs To Fat

Apr 16, 2011

i accidently modified my file system of some partition in my hard disk from ntfs to fat...i havnt formatted the drive...but now i cannot mount this partition...

View 1 Replies View Related

Ubuntu Installation :: Where Is .bashrc File On 9.10

Feb 17, 2010

I am using Ubuntu 9.10. I was installing network simulator 2. After installation I get the following message.

Please put /home/administrator/Downloads/ns-allinone-2.34/bin:/home/administrator/Downloads/ns-allinone-2.34/tcl8.4.18/unix:/home/administrator/Downloads/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

[Code].....

My friend suggested that it is something to do with .bashrc file. I fund files like .bash.bashrc.

View 4 Replies View Related

General :: Recovering A File Deleted With Rm?

Dec 22, 2010

The man page for rm says Quote:Note that if you use rm to remove a file, it is usually possible to recover the contents of that file. Do you know of a way to recover a file deleted with rm?

View 2 Replies View Related

Fedora :: Add Path In .bashrc By Commenting Out Old Path And Adding New One - Command Source ~/bashrc

Jun 14, 2011

When I add some path in .bashrc by commenting out old path and adding new one like this:

#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY

After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.

View 10 Replies View Related

General :: How To Retrieve File Deleted Using RM Command

Dec 2, 2009

How can I retrieve the file in LINUX which I have deleted using 'rm' command .???

View 1 Replies View Related

General :: Recover Open But Deleted File Using Ln Instead Of Cp

Feb 16, 2011

Say I have a file that's downloading (from a source that's hard to re-download from), but accidentally deleted from the filesystem namespace (/tmp/blah), and I'd like to recover this file. Normally I could just cp /proc/$PID/fd/$FD /tmp/blah, but in this case that would only get me a partial snapshot, since the file is still downloading. Furthermore, once the download completes, the downloading process (e.g. Chrome) will close the FD. Any way to recover by inode/create a hard link? Any other solutions? If it makes any difference, I'm mainly concerned with ext4.

View 3 Replies View Related

General :: Deleted File By Accident In Fedora?

Mar 26, 2010

i was working on a file and accidentally deleted it on , is it possible to recover it?

View 6 Replies View Related

General :: Deleted File / Folder Recovery

Feb 19, 2011

I have just accidentally deleted some files and a folder.Is there anyway I can recover them.

View 1 Replies View Related

Red Hat / Fedora :: Edit In Bashrc File Now Cant Execute Commands?

May 30, 2011

recently I did some changes to my bashrc file the changes are as follows
export JAVA_HOME=/usr/java/jre<version>/bin/
export PATH=$PATH:/usr/java/jre<version>/bin

now I'm unable even login to the OS.

View 9 Replies View Related

CentOS 5 Server :: Can't Edit /etc/bashrc File / Make It Possible?

Apr 20, 2010

I am having a lil headache with it.
Some time ego i edited my /etc/bashrc file to add some aliases and colours for my ssh console.
Today i had a need to change few thing but for some reason i can't edit or delete this file any more.

I am logged as root.

rm bashrc
cannot remove, operation not permitted

chown and/or chmod fails as well with "not permitted" errors.

ls -Al | grep bashrc
-rw-r--r-- 1 root root 2514 mar 31 13:05 bashrc

Any ideas what's going on?

View 2 Replies View Related

General :: Ubuntu - Recover A File Deleted Using Rm Command

Jul 9, 2010

How to recover a removed file under linux

Is there any free undelete software for the Mac?

I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.

Is there any way to recover it?

View 6 Replies View Related

General :: Recover Deleted File If It Is Still Opened By Some Process?

May 13, 2011

$ cat important_file > /dev/null &
[1] 9711
$ rm important_file

[code]....

View 2 Replies View Related







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