WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: alias  (Read 8225 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alias
« Reply #15 on: March 22, 2009, 12:46:59 AM »
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^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: alias
« Reply #16 on: March 22, 2009, 01:47:44 AM »
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 22, 2009, 01:52:15 AM by ^thehatsrule^ »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alias
« Reply #17 on: March 22, 2009, 02:17:37 AM »
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 22, 2009, 02:19:42 AM by jpeters »

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alias
« Reply #18 on: March 22, 2009, 03: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, 08:04:01 AM by jpeters »