Tiny Core Linux
General TC => General TC Talk => Topic started by: nitram on October 27, 2015, 10:10:09 PM
-
Was playing around previously and maybe something messed up. Please confirm, is this correct for default TC?
tc@box:~/Desktop$ echo $0
sh
tc@box:~/Desktop$ echo $SHELL
/bin/sh
Inputing the following causes error, is this an issue with my shell configuration or a busybox limitation?
tc@box:~/Desktop$ touch seventy
tc@box:~/Desktop$ mkdir seventy
mkdir: can't create directory 'seventy': File exist
Looking at .ashrc aliases, this works:
alias ce='cd /etc/sysconfig/tcedir'
This doesn't:
alias d='dmenu_run &'
Is this 'd' alias no longer valid?
Edit: To clarify, i don't even know what dmenu_run is?
-
Hi nitram
Was playing around previously and maybe something messed up. Please confirm, is this correct for default TC?
tc@box:~/Desktop$ echo $0
sh
tc@box:~/Desktop$ echo $SHELL
/bin/sh
I get the same result.
Inputing the following causes error, is this an issue with my shell configuration or a busybox limitation?
tc@box:~/Desktop$ touch seventy
tc@box:~/Desktop$ mkdir seventy
mkdir: can't create directory 'seventy': File exist
Neither, it's an issue with what you are trying to do. The touch command created a file called seventy. You can't
create a directory of the same name in the same directory.
-
I get the same result.
Thanks for confirming.
Neither, it's an issue with what you are trying to do. The touch command created a file called seventy. You can't
create a directory of the same name in the same directory.
Hmmmph. Everything in Linux is a file...even if it's a directory!
Just booted a bash distribution, same thing.
Thought my file manager was broken :)
Any enlightenment with this: alias d='dmenu_run &' ?
Doesn't appear to be a bonafide TC executable, yet it's in default .ashrc.
Should it be removed from default TC?
tc@box:~$ dmenu_run &
tc@box:~$ sh: dmenu_run: not found
-
Hi nitram
Any enlightenment with this: alias d='dmenu_run &' ?
Doesn't appear to be a bonafide TC executable, yet it's in default .ashrc.
Should it be removed from default TC?
tc@box:~$ dmenu_run &
tc@box:~$ sh: dmenu_run: not found
That is probably a remnant from dmenu.tcz or dmenu-mod.tcz.
-
Or I gave you my .ashrc as I have script named dmenu-run, stolen from another distro and modified.
-
Thanks for the help guys, mystery solved :) Misalf tutored me in compiling a while ago. I had no idea what i was doing and willy-nilly pasted a bunch of stuff into ashrc. Cleaned it up later, obviously not very well, didn't realize this wasn't a stock file entry.