Displaying 12 results from an estimated 12 matches for "bash_aliases".
2016 Jun 18
2
/root is wrongly copied during update
...elete-during $dir $backupdir
The problem is that every file in /root folder and its subfolders is
copied each time when this command is run. In all other folders only
new or modified files are copied. The files and the folder itself have
the following attributes:
[root at kw var]# getfattr /root/.bash_aliases
[root at kw var]# getfattr /root
[root at kw var]# ls -ld /root
drwxr-x--- 29 root root 4096 Jun 18 13:51 /root
[root at kw var]# ls -l /root/.bash_aliases
-rw-r--r-- 1 root root 113 May 17 2015 /root/.bash_aliases
On backup dir:
[root at kw var]# getfattr /mnt/backup/home/root/.bash_aliases...
2016 Jun 18
0
/root is wrongly copied during update
...> The problem is that every file in /root folder and its subfolders is
> copied each time when this command is run. In all other folders only
> new or modified files are copied. The files and the folder itself have
> the following attributes:
>
> [root at kw var]# getfattr /root/.bash_aliases
> [root at kw var]# getfattr /root
> [root at kw var]# ls -ld /root
> drwxr-x--- 29 root root 4096 Jun 18 13:51 /root
> [root at kw var]# ls -l /root/.bash_aliases
> -rw-r--r-- 1 root root 113 May 17 2015 /root/.bash_aliases
>
> On backup dir:
>
> [root at kw var]# g...
2010 Mar 01
2
[Bug 1729] New: Bash environmental associative arrays not getting set
...ty: minor
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: woodsdog at gmail.com
In Bash 4.0 associative arrays were introduced. There are some
environmental variables that are associative arrays. One of these
variables is the BASH_ALIASES associative array. Documentation can be
found here:
http://www.gnu.org/software/bash/manual/bashref.html#Bash-Variables
In short, it's an active array of the system aliases, with both the
alias and the corresponding command kept track of.
For example, to set:
$ BASH_ALIASES[cdt]="cd...
2019 May 13
3
root .bash_profile?
...ells
First, the ~ which might not apply to root. Second, it?s a ?personal? init file, which also might not pertain to root. Going from user to root (su) might not initiate a login shell. I?m not clear on this.
But, .bash_profile is not loading.
I have my aliases in another file called /root/.bash_aliases, which is a duplicate of my /home/myuser/.bash_aliases which is NOW sourced in my /root/.bashrc so it now works.
So ya, got it to work, but knowing the cascade of inclusions is important. root is as important to me as my normal user.
> On May 13, 2019, at 1:17 PM, Christian, Mark <mark...
2012 Feb 26
1
Problem with excludes and includes
...all gets
transferred.
The rsync command:
# do the backup
nice -n 15 rsync -av \
--include-from="/home/bob/backup_includes" \
--exclude-from="/home/bob/backup_excludes" \
$fromdir $todir
The excludes file:
.*
*~
Videos/
Downloads/
Dropbox/
The includes file:
.vimrc
.gitconfig
.bash_aliases
.bashrc
Videos/Music/Playlist/
Videos/Music/Originals/
Downloads/Iso/
I've spent hours on the man page getting nowhere.
Thanks Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120226/4235f11e/attachmen...
2012 Mar 15
3
Problem with stored configs / Invalid unicode escaping
...fi
# some more ls aliases
#alias ll=''''ls -l''''
#alias la=''''ls -A''''
#alias l=''''ls -CF''''
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don''''t need to enable
# this, if it''''s already...
2019 May 13
2
root .bash_profile?
Ah thank you. Having forgotten this, I already had all my aliases and instructions in there. For some reason they aren?t loading. If I do this, then everything loads:
source /root/.bash_profile
So there?s an indication this isn?t loading upon entry into su. Is this normal?
> On May 13, 2019, at 8:38 AM, Nux! <nux at li.nux.ro> wrote:
>
> Hi,
>
> The $home of root
2019 May 13
0
root .bash_profile?
...ot (su) might not initiate a login shell. I?m
> not clear on this.
Are you logging in? (i.e. typing the username and password at a login
prompt.) If not, then it's not a login shell.
>
> But, .bash_profile is not loading.
>
> I have my aliases in another file called /root/.bash_aliases, which
> is a duplicate of my /home/myuser/.bash_aliases which is NOW sourced
> in my /root/.bashrc so it now works.
>
> So ya, got it to work, but knowing the cascade of inclusions is
> important. root is as important to me as my normal user.
>
Yes. If you are going to be p...
2019 May 13
6
root .bash_profile?
...username and password at a login
> prompt.) If not, then it's not a login shell.
Isn?t moving from my own user using su, then prompted for password count as a login?
>>
>> But, .bash_profile is not loading.
>>
>> I have my aliases in another file called /root/.bash_aliases, which
>> is a duplicate of my /home/myuser/.bash_aliases which is NOW sourced
>> in my /root/.bashrc so it now works.
>>
>> So ya, got it to work, but knowing the cascade of inclusions is
>> important. root is as important to me as my normal user.
>>
>...
2011 Sep 16
2
Cannot get the syntax of --include-from right
Here is part of my backup script:
nice -n 15 rsync -avl --exclude=".*" \
--include-from="/home/bob/backup_includes" \
"$fromdir" "$todir"
Here is the content of /home/bob/backup_includes
/home/bob/.vimrc
/home/bob/.gitconfig
My problem is that neither the .vimrc nor .gitconfig are copied to the
backup directory.
I have read the man page about
2018 Oct 09
3
Test report xen_4.11.1~pre.20180911.5acdd26fdc+dfsg-2
...sg
[...]
(XEN) Xen version 4.11.1-pre (Debian ) (@) (gcc (Debian 6.3.0-18+deb9u1)
6.3.0 20170516) debug=n Sat Oct 6 00:24:06 UTC 2018
[...]
Maybe it makes sense to 'hard'code the team list email address in here
instead.
---- >8 ----
10. xl/xen tab completion
-# xl .
./ .bash_aliases .bashrc .profile .vim/
../ .bash_history .lesshst .ssh/ .vimrc
-# xen .
./ .bash_aliases .bashrc .profile .vim/
../ .bash_history .lesshst .ssh/ .vimrc
xl and xen now tab-complete filenames in the local...
2014 Apr 01
10
[Bug 10532] New: Rsync fails with older version.
https://bugzilla.samba.org/show_bug.cgi?id=10532
Summary: Rsync fails with older version.
Product: rsync
Version: 3.1.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: r.e.wolff at bitwizard.nl