Jump to content

Forums

  1. The Highlands

    1. Announcements

      General announcements of note for all forum members.

      1.8k
      posts
    2. Bruno's All Things Linux

      The place to free your mind and explore Linux, which for many, isn't an "alternative" operating system — it's their only OS.

      207k
      posts
    3. All Things Windows

      Topics related to Windows, Microsoft, help with Windows, techniques, performance, betas, all types of Applications, Windows news, Windows server OSes, the future of operating systems, and more.

      42.6k
      posts
    4. All Things Mac

      Topics and discussions related to Apple, Macintosh hardware and accessories, OS X, Classic, iTunes / iTMS (Mac & PC), mainstream Mac software, and more.

      3.5k
      posts
    5. Hardware

      Exploring CPUs, motherboards, overclocking, building your own PC, case mods, PC brands, handhelds, peripherals of all types, DVDs, CD burners, hardware-specific software, device drivers, and anything else related to hardware.

      19.7k
      posts
    6. Mobility

      Topics related to ANY AND ALL Mobile Platforms, Mobile Devices, Mobile Operating Systems, Mobile Apps, and more.

      2.2k
      posts
    7. Security & Networking

      Protecting PCs from attack, networking, network hardware, remote access, sharing broadband, different broadband technologies, network troubleshooting, spam, encryption, firewalls, and more.

      24k
      posts
    8. Social Media

      Social Media will cover all topics related to Social Media, Web 2.0, browsers and web applications, email, and more.

      17.9k
      posts
    9. The Restaurant at the Edge of the Universe

      The The Restaurant at the Edge of the Universe, previously known as The Water Cooler, is a place to post stuff that has absolutely nothing at all to do with computers, broadband, Scot's Newsletter, or anything that's "supposed" to be here.

      51.9k
      posts
    10. Forum Feedback

      Forum-Related Feedback Only, Please: Bugs, problems, forum software, skins, graphics, webhost, stuff we're testing, suggestions, and more. NOTE: Testing Subforum is under the Forum Feedback forum.
      6.7k
      posts
  • Recent Posts

    • V.T. Eric Layton
      That's interesting. I've always seen that .bashrc in the /root directory of any distribution I ran on my systems. Does Arch rely more on sudo, as does Ubuntu? I can't remember. Been a while since I had an Arch installation.   @abarbarian, if you have to, you can just create a .bashrc in the /root directory to suit your needs. Here's a generic:   export PS1='\u@abarbarian\w\:$ ' umask 022 # root prompt = red TERM_USER_HOST_COLOR='0;31m' TERM_PATH_COLOR='0;31m' TERM_PROMPT_COLOR='0;31m' TERM_USER_HOST='<add host (computer name) here>' TERM_PATH='\w' TERM_PROMPT='\$' export PS1=\ '\[\e['${TERM_USER_HOST_COLOR}'\]'${TERM_USER_HOST}'\[\e[m\]'\ '\[\e['${TERM_PATH_COLOR}'\]'${TERM_PATH}'\[\e[m\]'\ '\[\e['${TERM_PROMPT_COLOR}'\]:#\[\e[m\] ' # You may uncomment the following lines if you want `ls' to be colorized: # export LS_OPTIONS='--color=auto' # eval "`dircolors`" # alias ls='ls $LS_OPTIONS' # alias ll='ls $LS_OPTIONS -l' # alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i'   The above .bashrc requires you to add in your host (computer name) information. This is a customized .bashrc that I use that turns your terminal font color to RED when you are root.   This is my actual .bashrc (root) on my system. You can see the format required to add your host name to the above.   export PS1='\u@ericsbane07\w\:$ ' umask 022 # root prompt = red TERM_USER_HOST_COLOR='0;31m' TERM_PATH_COLOR='0;31m' TERM_PROMPT_COLOR='0;31m' TERM_USER_HOST='\u@ericsbane07' TERM_PATH='\w' TERM_PROMPT='\$' export PS1=\ '\[\e['${TERM_USER_HOST_COLOR}'\]'${TERM_USER_HOST}'\[\e[m\]'\ '\[\e['${TERM_PATH_COLOR}'\]'${TERM_PATH}'\[\e[m\]'\ '\[\e['${TERM_PROMPT_COLOR}'\]:#\[\e[m\] ' # You may uncomment the following lines if you want `ls' to be colorized: # export LS_OPTIONS='--color=auto' # eval "`dircolors`" # alias ls='ls $LS_OPTIONS' # alias ll='ls $LS_OPTIONS -l' # alias l='ls $LS_OPTIONS -lA' # # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i'   When using this .bashrc on my system is causes the prompt to look like this:   vtel57@ericsbane07~:$ su Password: ********* root@ericsbane07/home/vtel57:#   Anyway, here's some more info on .bashrc -> https://www.journaldev.com/41479/bashrc-file-in-linux
    • securitybreach
    • securitybreach
      It will not be there by default, same as the one in your user directory. The global setting is /etc/bashrc and the user settings are in home:    /home/username/.bashrc /root/.bashrc
    • securitybreach
      BTW, I would only buy a used business class laptop. Most of the commercial ones aren't built to the same quality and specs. 
    • securitybreach
  • Who's Online (See full list)

    • V.T. Eric Layton
    • Hedon James
    • abarbarian
    • Pete!
    • Corrine
  • Today's Birthdays

    1. beckpal
      beckpal
      (71 years old)
    2. Reynaldo
      Reynaldo
      (28 years old)
    3. RichardKR
      RichardKR
      (76 years old)
    4. salb
      salb
      (79 years old)
  • Member Statistics

    • Total Members
      5,067
    • Most Online
      1,793

    Mohammed zain
    Newest Member
    Mohammed zain
    Joined
×
×
  • Create New...