a tiny problem

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

a tiny problem

Postby tsarevitch on Fri Jan 13, 2012 12:20 pm

hi guys,
I have a small problem. I installed lmde few days ago, all is working great, but i noticed that everytime i open terminal it first says this: bash: /dev/cgroup/cpu/user/5239/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/5239/notify_on_release: No such file or directory. Have no idea what's that,but terminal seems to be working fine. It's not a big deal, i'm just curious. I'm guessing i've changed something somewhere, but i don't know where.
Thanks in advance :D
tsarevitch
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 13, 2012 12:06 pm

Linux Mint is funded by ads and donations.
 

Re: a tiny problem

Postby overthetop on Fri Jan 13, 2012 3:39 pm

Open up a file called .bashrc which is in your home directory and remove these lines:
Code: Select all
if [ "$PS1" ] ; then
    mkdir -m 0700 /dev/cgroup/cpu/user/$$
    echo $$ > /dev/cgroup/cpu/user/$$/tasks
    echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
fi

That should do it! :P
Image
"A wise man can learn more from a foolish question than a fool can learn from a wise answer." -- Bruce Lee
User avatar
overthetop
Level 4
Level 4
 
Posts: 331
Joined: Thu Oct 06, 2011 10:25 am
Location: /home/overthetop

Re: a tiny problem

Postby tsarevitch on Sat Jan 14, 2012 8:41 am

thanks. done it!
tsarevitch
Level 1
Level 1
 
Posts: 2
Joined: Fri Jan 13, 2012 12:06 pm


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests