Skip to content
Snippets Groups Projects
Verified Commit 85e93dee authored by David Beniamine's avatar David Beniamine
Browse files

Better test

parent 927ad28a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [ -z "$(grep 'alias ls=' /root/.bashrc)" ]
if [ -z "$(grep '^alias ls=' /root/.bashrc)" ]
then
echo 'alias ls="ls -lstrh --color=auto"' >> /root/.bashrc
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment