# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). PATH="/usr/local/bin:/usr/bin:/bin" [ "$TERM" ] || TERM="xterm-256color" # Basic terminal capab. For screen etc. # Add /sbin & co to $PATH for the root user [ "$HOME" != "/root" ] || PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin # Set the prompt for bash and ash (no other shells known to be in use here) [ -z "$PS1" ] || PS1='\[\e[1;35m\]\u@\h\[\e[0m\]:\[\e[1;36m\]\w\[\e[0m\]\$'
# Use the EDITOR not being set as a trigger to call resize later on FIRSTTIMESETUP=0 if [ -z "$EDITOR" ] ; then FIRSTTIMESETUP=1 fi
if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -f $i -a -r $i ]; then . $i fi done unset i fi
if [ -t 0 -a $# -eq 0 ]; then if [ ! -x /usr/bin/resize ] ; then if [ -n "$BASH_VERSION" ] ; then # Optimized resize funciton for bash resize() { local x y IFS='[;' read -t 2 -p $(printf '\e7\e[r\e[999;999H\e[6n\e8') -sd R _ y x _ [ -n "$y" ] && \ echo -e "COLUMNS=$x;\nLINES=$y;\nexport COLUMNS LINES;" && \ stty cols $x rows $y } else # Portable resize function for ash/bash/dash/ksh # with subshell to avoid local variables resize() { (o=$(stty -g) stty -echo raw min 0 time 2 printf '\0337\033[r\033[999;999H\033[6n\0338' if echo R | read -d R x 2> /dev/null; then IFS='[;R' read -t 2 -d R -r z y x _ else IFS='[;R' read -r _ y x _ fi stty "$o" [ -z "$y" ] && y=${z##*[}&&x=${y##*;}&&y=${y%%;*} [ -n "$y" ] && \ echo "COLUMNS=$x;"&&echo "LINES=$y;"&&echo "export COLUMNS LINES;"&& \ stty cols $x rows $y) } fi fi # only do this for /dev/tty[A-z] which are typically # serial ports if [ $FIRSTTIMESETUP -eq 1 -a ${SHLVL:-1} -eq 1 ] ; then case $(tty 2>/dev/null) in /dev/tty[A-z]*) resize >/dev/null;; esac fi fi if [ -z "$EDITOR" ]; then EDITOR="vi" # needed for packages like cron, git-commit fi export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM alias ls='ls --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' export LS_COLORS=$LS_COLORS:'di=01;36:' export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 umask 022
scp hjk@192.168.1.111:/mnt/e/10.NXP/nxp-office/SJA1105/SJA1105Q-EVB-CONFIGURATION-TOOLS/sja1105x/tools/firmware_generation/sja1105p_cfg.bin /lib/firmware/sja1105.bin sja1105-tool config upload sja1105-tool config save bug.xml sja1105-tool config show sja1105-tool status general
# This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # # Entries in this file show the compile time defaults. Local configuration # should be created by either modifying this file (or a copy of it placed in # /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in # the /etc/systemd/journald.conf.d/ directory. The latter is generally # recommended. Defaults can be restored by simply deleting the main # configuration file and all drop-ins located in /etc/. # # Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. # # See journald.conf(5) for details.