top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

alias and which in Ubuntu : moving from Fedora to Ubuntu

0 votes
583 views

I am moving from Fedora to Ubuntu.
In Fedora , running "which AliasName" shows the alias.

For example, if I have

$alias myAlias='echo test'

$which myAlias
alias myAlias='echo test'
 /usr/bin/echo

In Ubuntu, this does not work.

After:
alias myAlias='echo test'
Runnin:
$which myAlias

shows nothing.

Any idea - is there any setting or any way to get the same result as in Fedora ?

posted Oct 25, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Running "alias myAlias" does the trick:

~ $ alias ll
alias ll='ls -lb --color=auto -F'
answer Oct 25, 2016 by Deepankar Dubey
0 votes

You can try the type command, even if it isn't exactly the same:

~/ > LC_ALL=C type myAlias
myAlias is aliased to `echo test'
answer Oct 25, 2016 by Deepti Singh
Similar Questions
+1 vote

I am using Fedora 20, subversion 1.8.5-2. In ~/.subversion/config I have

[miscellany]
enable-auto-props = yes

[auto-props]
*.xml = svn:eol-style=native; svn:keywords=Author Date Id Revision

When I do

svn add my.xml
svn: E200009: Can't set 'svn:eol-style': file '/data/mysvn/trunk/my.xml' has binary mime type property

But with Ubuntu 12.10/subversion 1.7.5-1 svn add my.xml works just fine.

Any idea why the behavior is different?

+1 vote

Is there a virtualized guest kernel for Fedora as there is Linux-Image-Virtual for Ubuntu?

0 votes

I have an Ubuntu VDI image (created through Virtual box) in one laptop and want to install Ubuntu on bare metal using this VDI image.
Is it possible ?

+1 vote

I am thinking of upgrading from 10.04 to 12.04, just a click away in the software centre (no particular reason other than to benefit from recent fixes and continued support).

There are probably no easy answers (though I'd like some brief ones), but I wonder how common soft/hardware in/compatibility related problems are, resulting from such an upgrade?

Also, I am assuming all custom configurations will remain unchanged after such an upgrade (default email and custom settings, www browser bookmarks, various .rc files, repository settings for auto upgrades of unsupported software, and such), please correct me if should not assume so.

+1 vote

I'm currently running Ubuntu 13.10, after upgrading from 13.04. A problem that I'm not having is copying photos from my Iphone to the 13.10 machine. I was not having this problem with 13.04. Using the 13.10
machine, when I plug my iphone in, it's recognized, and I can access the folder where photos are stored with no problems, and I can view photos with no trouble. The problem is, when I try to copy photos, using drag and drop, I get a message that says " Not supported at the backend", and the photo won't copy to the 13.10 machine. I have 2 other machines. One still running 13.04, the other running 12.04. I have no problems with either of those two machines. Does anyone have any ideas?

...