OpenSUSE :: Bash Aliases For Root - Where They Are Defined

Sep 26, 2010

Output of my #alias command looks just as normal as one would expect:
Code:
alias +='pushd .'
alias -='popd'
alias ..='cd ..'
alias ...='cd ../..' .....

And still whenever I (as root) type in bash
#ll
which would be short for
#ls- l
i get output of the command
#ls -al

So where aliases for root overwritten? Usually I would expect .bashrc in the /root directory. Or at least .alias file. But there none of those in my current /root. So, my question is where root user gets it's aliases from? This concerns only root user. Normal user has .bashrc and I made up my own aliases in .alias and that's works jut fine. And yes I could make .bashrc file in the /root and .aliases where I would define my own things.

View 4 Replies


ADVERTISEMENT

Fedora :: Where Are The Aliases Defined

Oct 15, 2009

Upon a fresh install of Fedora 11 (and as a Fedora n00b), I noticed there are several aliases defined for me.

Code:

$ alias
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'

[code]...

files had these aliases. So where are they?

View 14 Replies View Related

Fedora :: Defined Aliases In File Not Working - No Command Found

Apr 15, 2011

Defining tcsh aliases through a .aliases file has worked perfectly for me for years and years using cygwin and older versions of mandriva. I am encountering very annoying and mysterious problems when attempting to do the same thing with a .aliases file in a fedora 64-bit VM. Strangely, if I define aliases in the file, they won't work, but if I do so on the command line, then they will.

Here's a simple example: Suppose I define an alias for "ls" in the file:
alias ls '/bin/ls'
Then source the file. This happens:
me: ls : Command not found.
me: alias ls
/bin/ls
me: /bin/ls
file1 file2 file3 etc.
me: unalias ls
me: ls
file1 file2 file3 etc.
me: alias ls '/bin/ls'
me: ls
file1 file2 file3 etc.

A second example: if I place either of these lines in my .aliases file:
alias d '/bin/ls -alF !:1'
alias d '/bin/ls -alF !*'and source the alias file, this happens:/ me: d
Bad ! arg selector. However, if I define the alias on the command line:
/ me: alias d '/bin/ls -alF !*'then the alias behaves correctly:/ me: dtotal 376
drwxr-xr-x. 10 r r 4096 Apr 14 16:05 ./
drwxrwxr-x. 6 r r 4096 Feb 21 16:15 ../
drwxr-xr-x. 3 r r 4096 Apr 14 16:05 bin.v2/
-rwxr-xr-x. 1 r r 193872 Apr 14 15:35 bjam*
-rw-r--r--. 1 r r 52804 Apr 14 17:20 bjam.my.log
drwxr-xr-x. 77 r r 4096 Nov 17 09:49 boost/
-rw-r--r--. 1 r r 989 Nov 17 04:51 boost.css

View 2 Replies View Related

Ubuntu :: Bash Set Aliases Not Staying?

Feb 23, 2010

If I set an alias in the terminal it stays.

Code:
alias echo="echo whoaoaaoaoaoaoaoa"

But...if I write a bash script with the identical command and execute it...

Code:
./setalias
echo

I get nothing... How do I fix this?

View 9 Replies View Related

Ubuntu :: How To Activate Bash Aliases In Lucid

May 16, 2010

So I checked the /etc/bash.bashrc file and it doesn't have the
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

I expected it to. So I checked the The /usr/share/base-files, and there it is. Problem is, it isn't part of the system wide bash, or is it? How do I activate the bash_aliases in Lucid Lynx?
Quick un-related question. Is ./ = /.??

View 2 Replies View Related

Ubuntu :: Create Some Aliases For Bash Shell?

Jun 14, 2010

I would like to create some aliases for bash shell. On other Unix/Linux machines I have done this using the alias command like this: alias rm rm -i

When I type that into a terminal on Ubuntu, it looks like alias is not installed. I get this:

bash: alias: rm: not found
bash: alias: rm: not found
bash: alias: -i: not found

I tried adding the alias to .bashrc instead, but then I get the same error message every time I start terminal. Just for fun I tried apt-get install alias, just to see what would happen, and it installed something called libperl-alias instead, and alias still doesn't work.

View 2 Replies View Related

General :: Bash Aliases Lost Within Tmux

Jul 8, 2011

I just noticed that my .bashrc aliases (eg. alias www='cd ~/data/public_html') don't work from within tmux. They work fine from screen, though.

I don't think I've got anything special in ~/tmux.conf

Code:
# C-a just like in screen
unbind C-b
set -g prefix C-a

[Code].....

View 3 Replies View Related

Slackware :: Getting Aliases To Work As Root?

Aug 22, 2010

How can I get aliases working as root? Here is my Slackware 13.1's /etc/profile file followed by my *Slackware 11's* /etc/profile file [as a comparison]. My Slackware 11's root aliases work in addition to my username ones *without* needing a separate .bashrc in my home dir. In S13.1 I have created a .bashrc for my username and it works fine, but I want those same aliases operating when I'm root, and cannot for the life of me figure how to achieve it.

S13.1 /etc/profile:
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
# If the user doesn't have a .inputrc, use the one in /etc.....

View 15 Replies View Related

Ubuntu :: Root File Not Defined

Oct 14, 2010

I've recently installed Ubuntu 10.04 64bit Desktop onto my 640GB hard drive. I used Wubi to download and install it onto a 100GB drive partitioned out from my 640GB hard. After I reboot and log into Ubuntu, it says that Roof File is Not Defined. The only thing I can do is to force my computer to shut down as so i did. After that I went to the demo mode of Ubuntu 10.04 as I can't do anything on the Normal Mode.

View 1 Replies View Related

Ubuntu :: No Root Filesystem Defined?

Mar 1, 2010

ive been recently experiencing some problems with my ubuntu studio 9.10 setup, with the filesystem failing to mount. after deciding to try a new hard drive and cable, as well as clean install ubuntu, fedora and now mint, im still finding no filesystem.im using a live cd created for mint (like it ). having clicked install to hard drive, all is well until the partition manager, where all the boxes are greyed out. clicking forward produces a box saying "no root filesystem defined". i see there are a few on here from a few years back and having read through them, cannot find a fix for myself.

View 9 Replies View Related

Ubuntu :: No Root Filesystem Is Defined

Jan 10, 2011

Using Ubuntu 10.10, 64-bit, installing after LiveCD testing.sda3 can't really be erased due to its contents, something I can't exactly get back or transfer.

View 2 Replies View Related

General :: No Root System Defined?

Jun 29, 2011

i installed an old hdd that i had laying around to my new desktop PC SO THAT I COULD USE IT SPECIFICALLY FOR UBUNTU. I FORMATTED IT THEN WENT TO RUN THE UBUNTU SET UP DISK.BUT I GOT THE MESSAGE "NO ROOT SYSTEM DEFINED" WHAT DO I NEED D

View 3 Replies View Related

Software :: Aliases - Using /etc/aliases - Does Not Get Routed To My Email

Apr 1, 2009

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....

Added:
root: myemail@company.com

and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

View 3 Replies View Related

Software :: Apache - Make Aliases To Folders Outside Of Main Document Root - Access Forbidden

Jun 9, 2009

I am on mac os x and whenever I make aliases in my apache config file to point to folders outside of main web document root folder, I get access forbidden. I have chmod -R 777 the whole destination directory (to test it) and still no go. Access forbidden. I have also tried pointing directly to [URL].

View 1 Replies View Related

Ubuntu :: No Root File System Is Defined

May 18, 2010

I have been using Ubuntu 9.10 Desktop version for around 1 month then i stoped using after installing windows 7, as I knew that there were the 10.04 version coming. So when it was released i went to torrent download the file and burned it on a cd. After that i insert the cd and use the wubi installer in there as i want to install them side by side. so after installing ubuntu i restarted the system and got into it. After a few minutes it appeared this error message "Not root file system is defined. Please correct this from the partitioning menu." So i was expecting it to be downloading problems. I went on to ubuntu website requested for a CD and it came today. So i inserted the cd did the same thing again.

View 9 Replies View Related

Ubuntu :: No Root File System Is Defined 11.04?

May 11, 2011

Classic partition problem apparently. What do I do? the 11.04 wubi doesn't give a lot of installation options, so i just selected C drive, and gave it 10GB of space. instilled it, and when it goes to the desktop menu, that pop up appears saying No root file system is defined. Please correct this from the partitioning menu

In dual booting with XP. what do I do?

View 1 Replies View Related

Ubuntu :: No Root File System Is Defined?

Aug 6, 2011

I'm trying to install 11.04 and get the error warning in the title. It says "Please correct this from the partitioning menu."How do I do that?I don't see any options for that.Puppy will already boot from that device and has grub installed.

View 9 Replies View Related

General :: No Root File System Defined?

Feb 4, 2010

im trying to prepare my partitions for fresh installation. The partition manager didnt list anything with an error message that said:Quote:No root file system is defined. Please correct this from the partitioning menu?This is what Gparted displays Quote:

/dev/sda1 ext3 /tmp/boot
/dev/sda2 unknown
/dev/sda3 ext3 /tmp/opsys

View 14 Replies View Related

Ubuntu Installation :: No Root File System Is Defined / What To Do?

Jun 10, 2010

So I have an external hard drive (wd passport) that I want to install ubuntu on. I created 100gb partition via diskutility (fat32) and it seems I can't install ubuntu on this partition.

View 3 Replies View Related

Ubuntu :: No Root Defined When Trying To Install Wubi On Top Of Windows 7?

Jun 25, 2010

Has anyone found a fix for the "No root defined" when trying to install wubi on top of Windows 7?

View 1 Replies View Related

Ubuntu Installation :: No Root File System Is Defined?

Oct 20, 2010

When I tried to install 10.10 'side by side' with 10.04 and OpenArtist for triple booting I get the messageQuote:No root file system is defined. Please correct this from the partitioning menu.I don't have the screen in front of me now but what5 does it want me to do and how do I do it?

View 9 Replies View Related

Ubuntu Installation :: 10.10 No Root File System Is Defined

Feb 11, 2011

I'm having a problem and it seems like partitions during the dual boot install.

Here's EXACTLY what I get...

Menu: Allocate drive space
Erase and use entire disk
X Specify partitions manually (advanced) [X denotes I chose this option]

I have 3 partitions on my gateway laptop...

[graphical bar across the top]
sda1 NTFS - 10g - weird partition w/recovery software or something from Vista
sda2 NTFS - 140g - Windows Vista
47g FREE SPACE [this is where I want ubuntu]

[Code].....

I click "Install Now" and I get this error:

"No root file system is defined. Please correct this from the partitioning menu."

View 4 Replies View Related

General :: No Root System Defined Install Error?

May 11, 2011

I am trying to install Linux Mint 10 on a newly formatted 40gb hard drive. I have not been able to get the the install program to see my hard drive. The program seems to work well off of the CD. I have checked the md5 sum and it is a good copy of the program. It will be the only operating system on a Athlon64 3200, PC Chips M861g mb combo. I have also tried Ubuntu with similar results.

View 9 Replies View Related

Ubuntu Installation :: No Root File System Is Defined - 10.04 / RAID

May 3, 2010

I am running a RAID0 array, with Windows 7 Ultimate x64 installed.

When i install LL10.04 through Wubi, it installs fine, reboots, continues the installation procedure, then it gives me an error box "No root file system is defined".

I have attempted pressing the "OK" button 10 or 15 times, however it does not progress. The box just keeps on popping up. My only option is a hard reset.

I've tried downloading the latest version of Wubi from the official website, and allowing Wubi to download ubuntu itself, and still nothing.

I do not want to create a new partition for Ubuntu and use the GRUB loader. I have a multi boot system and would like to stick to the windows boot loader.

View 9 Replies View Related

Ubuntu Installation :: No Root File System Is Defined Partitioning ?

Dec 2, 2010

So I keep getting this error from the 10.10 installer:

"No root file system is defined. Please correct this from the partitioning menu."

However the partitioning menu shows no disks or partitions at all.

The disk browser can however see and mount both partitions from my disk.

It is a terabyte SATA drive and the bios has been set to IDE.

It has 2 partitions with windows installed on the first partition.

Gparted can see both partitions but claims it cannot find the mount point of the second partition. (both are NTFS)

I have attached a screenshot.

How to proceed from here so I can install Ubuntu.

View 4 Replies View Related

Ubuntu Installation :: No Root File System Defined / Solution For This?

Jan 22, 2011

I'm trying to install ubuntu on d partition i deleted, which now is "free space" but its giving me that error

So im guessing i have to click on add, what do what i click on? primary? beginning? end? ext 4 im guesing and which mount point?

Im installing it on d portition which i deleted and is now free space, i have windows 7 on c.

View 5 Replies View Related

Ubuntu Installation :: Error - No Root File System Is Defined

Apr 7, 2011

When I get to installation step "Allocate drive space" I get this message, "No root file system is defined. correct this from the partitioning menu." What is the source of this error and what do I need to do to correct it? I don't see a partition menu other than a choice of using the whole drive or a partition? Below are the choices that I have made. Specify partitions manually (advanced) Allocate drive space Choice are device (/dev/sda4) Type ((ext3) size) Mount Point (no choices offered) Size (42088 mb) used (670 mb) boot looder is sda Windows 7 ext3 42088 MB I am installing Ubuntu 10.1 on a seperate partition. Windows 7 is on another partition. The machine is an ASUS A52F Laptop

View 2 Replies View Related

Ubuntu Installation :: Error: "No Root File System Is Defined?

Jun 19, 2010

if this is an error that has already been solved, but I am running Windows 7, and when I finish installing Wubi in Windows, it asks me to reboot. I select Ubuntu and it gives me the error: "No root file system is defined. Please correct this list from the partition menu." I can't get past this error.

View 5 Replies View Related

Ubuntu :: 10.10 Installed With WISE In Windows7 RAID0 - Root Filesystem Not Defined

Oct 25, 2010

i have a M1730 with 2 HD in RAID 0. Windows 7 64bit installed. I tried to install Ubuntu 10.10 with WUBI, all ok the installation in Windows. Restarted the system I have 2 multiboot options with the new Ubuntu... it starts but in graphic mode it tries to finish the installation and stops with an error message like that: "root filesystem not defined...".The problem is the raid0 of my disks or other?

View 5 Replies View Related

General :: No Root File System Is Defined. Please Correct This From The Partitioning Menu?

Apr 29, 2011

From Ubuntu 11.04 installer. What does this mean? how do I do it correctly?

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved