Author Topic: alias  (Read 7338 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alias
« Reply #15 on: March 21, 2009, 09:46:59 PM »
aliases currently work under latest stable (1.2) with .ashrc if you are using the default busybox ash shell.  I am also thinking along the same lines of what curaga was saying earlier...

You can list them by running `alias` and try one, such as `ll` (a default preset in ashrc)
Code: [Select]
tc@box:~$ ash
tc@box:~$ version
tinycore_1.2
tc@box:~$ cd /usr/bin
tc@box:/usr/bin$ ls -l who
-rwxr-xr-x 1 root root 31076 Dec  5 16:14 who
tc@box:/usr/bin$ ll who
ash: ll: not found
tc@box:/usr/bin$


Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: alias
« Reply #16 on: March 21, 2009, 10:47:44 PM »
My guess is that it was upgraded from an older version and not all of the necessary files were updated.

Looks like 1.1 changelog lists .profile, but you'll probably also need to copy over .ashrc if you are using home=
« Last Edit: March 21, 2009, 10:52:15 PM by ^thehatsrule^ »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alias
« Reply #17 on: March 21, 2009, 11:17:37 PM »
My guess is that it was upgraded from an older version and not all of the necessary files were updated.

Looks like 1.1 changelog lists .profile, but you'll probably also need to copy over .ashrc if you are using home=

Maybe the new version got overwritten if $HOME wasn't backed up after the new /tinycore.gz was installed. I'll try 1.3  Thanks!
« Last Edit: March 21, 2009, 11:19:42 PM by jpeters »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alias
« Reply #18 on: March 22, 2009, 12:09:49 AM »
Loaded 1.3rc, copied .profile file from /etc/skel and .ashrc (think it was the same file I had in $HOME). No luck, same result.

edit: works with norestore, so there's some conflict.....have no idea what it is....

edit2.  It's all working...corrupted file...
« Last Edit: March 22, 2009, 05:04:01 AM by jpeters »