Skip to content

caf3676/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 6

Assignment 6

Instructions

  1. Move the existing $HOME/.bashrc file into this repository and name it bashrc (removing the period "." from the filename will make it visible by default on all filebrowser systems). Don't forget to git add bashrc to ensure the file is tracked in the repository before committing.

  2. There is a template bash_profile in this repository. Add logic to the bash_profile that checks to see if the file $HOME/.bashrc exists, if and only if it does exist, then source it from the bash_profile file.

  3. Add "vi mode" command line editing to your bash_profile.

  4. Add the following alias exactly as is appears to the first line of bashrc:

    alias lla='ls -la'

Testing

If you would like to check to see if your edits to bash_profile and bashrc are correct run

./install.sh
source $HOME/.bash_profile
alias lla > lla.txt

followed by the command python test.py at the command prompt. A status message of OK indicates you have the correct answer.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages