[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
Modules
/
init
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 ksh-functions
SET
[ DEL ]
📁 zsh-functions
SET
[ DEL ]
📄 bash
4,134 B
SET
[ EDIT ]
|
[ DEL ]
📄 bash_completion
11,464 B
SET
[ EDIT ]
|
[ DEL ]
📄 cmake
1,925 B
SET
[ EDIT ]
|
[ DEL ]
📄 csh
3,874 B
SET
[ EDIT ]
|
[ DEL ]
📄 fish
1,733 B
SET
[ EDIT ]
|
[ DEL ]
📄 fish_completion
9,647 B
SET
[ EDIT ]
|
[ DEL ]
📄 ksh
4,162 B
SET
[ EDIT ]
|
[ DEL ]
📄 lisp
3,230 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl.pm
1,118 B
SET
[ EDIT ]
|
[ DEL ]
📄 profile-compat.csh
197 B
SET
[ EDIT ]
|
[ DEL ]
📄 profile-compat.sh
309 B
SET
[ EDIT ]
|
[ DEL ]
📄 profile.csh
105 B
SET
[ EDIT ]
|
[ DEL ]
📄 profile.sh
448 B
SET
[ EDIT ]
|
[ DEL ]
📄 python.py
1,539 B
SET
[ EDIT ]
|
[ DEL ]
📄 r.R
961 B
SET
[ EDIT ]
|
[ DEL ]
📄 ruby.rb
1,379 B
SET
[ EDIT ]
|
[ DEL ]
📄 sh
4,004 B
SET
[ EDIT ]
|
[ DEL ]
📄 tcl
1,071 B
SET
[ EDIT ]
|
[ DEL ]
📄 tcsh
3,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 tcsh_completion
5,521 B
SET
[ EDIT ]
|
[ DEL ]
📄 zsh
4,151 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: profile.sh
# get current shell name by querying shell variables or looking at parent # process name if [ -n "${BASH:-}" ]; then if [ "${BASH##*/}" = 'sh' ]; then shell='sh' else shell='bash' fi elif [ -n "${ZSH_NAME:-}" ]; then shell=$ZSH_NAME else shell=$(/usr/bin/basename $(/usr/bin/ps -p $$ -ocomm=)) fi if [ -f /usr/share/Modules/init/$shell ]; then . /usr/share/Modules/init/$shell else . /usr/share/Modules/init/sh fi