View Single Post
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#4531
I keep getting errors about .bashrc everytime I open xterm:

Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-sh: /home/user/.bashrc: line 5: cannot create /dev/cgroup/cpu/user/3870/tasks: nonexistent directory
-sh: /home/user/.bashrc: line 5: cannot create /dev/cgroup/cpu/user/3870/notify_on_release: nonexistent directory
The directory with the numbers after "user" is changing every time whenever I start xterm.

So there is some error with a file called .bashrc, this is the content of the file:

Code:
~ $ cat .bashrc 
if [ "$PS1" ] ; then
mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
echo $$ > /dev/cgroup/cpu/user/$$/tasks
echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
fi
How can I solve this?
is it save to remove the .bashrc file?
What is the command trying to do anyway?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.

Last edited by HtheB; 2011-09-07 at 23:44.