Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envrcd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
isgphys
envrcd
Commits
28d40eb3
Commit
28d40eb3
authored
1 year ago
by
Sven Mäder
Browse files
Options
Downloads
Patches
Plain Diff
Add aliases for ssh with new session and ps with cgroups and threads
parent
e8d6dd28
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
profile/default/envrcd.d/20-aliases
+4
-0
4 additions, 0 deletions
profile/default/envrcd.d/20-aliases
profile/rda/envrcd.d/20-aliases
+4
-0
4 additions, 0 deletions
profile/rda/envrcd.d/20-aliases
with
8 additions
and
0 deletions
profile/default/envrcd.d/20-aliases
+
4
−
0
View file @
28d40eb3
...
@@ -28,6 +28,7 @@ alias lsa='ls -AF'
...
@@ -28,6 +28,7 @@ alias lsa='ls -AF'
alias
llt
=
'ls -hlFtr'
alias
llt
=
'ls -hlFtr'
alias
lat
=
'ls -hlAFtr'
alias
lat
=
'ls -hlAFtr'
alias
snk
=
'ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
alias
snk
=
'ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
alias
snc
=
'ssh -o ControlMaster=no -o ControlPath=none'
alias
ldapsearch
=
'ldapsearch -o ldif-wrap=no'
alias
ldapsearch
=
'ldapsearch -o ldif-wrap=no'
alias
lds
=
'ldapsearch -xZZ'
alias
lds
=
'ldapsearch -xZZ'
alias
ccze
=
'ccze -A -o nolookups'
alias
ccze
=
'ccze -A -o nolookups'
...
@@ -64,6 +65,9 @@ alias pping='prettyping'
...
@@ -64,6 +65,9 @@ alias pping='prettyping'
alias
pping6
=
'prettyping -6'
alias
pping6
=
'prettyping -6'
alias
p
=
'prettyping -i 0.2'
alias
p
=
'prettyping -i 0.2'
alias
p6
=
'p -6'
alias
p6
=
'p -6'
alias
psc
=
'ps xawf -eo pid,user:12,cgroup:54,args'
alias
psct
=
'ps xawf -ewwo pid,nlwp,ppid,c,tname,stat,time:12,user:12,cgroup:54,args'
alias
psctt
=
'ps xaw -eTwwo pid,lwp,nlwp,ppid,c,tname,stat,time:12,user:12,cgroup:54,args'
# use colordiff if it exists
# use colordiff if it exists
if
[
$(
which colordiff
)
]
;
then
if
[
$(
which colordiff
)
]
;
then
...
...
This diff is collapsed.
Click to expand it.
profile/rda/envrcd.d/20-aliases
+
4
−
0
View file @
28d40eb3
...
@@ -32,6 +32,7 @@ alias llt='ls -hlFtr'
...
@@ -32,6 +32,7 @@ alias llt='ls -hlFtr'
alias
lat
=
'ls -hlAFtr'
alias
lat
=
'ls -hlAFtr'
alias
s
=
'ssh'
alias
s
=
'ssh'
alias
snk
=
'ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
alias
snk
=
'ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
alias
snc
=
'ssh -o ControlMaster=no -o ControlPath=none'
alias
sr
=
'ssh -J rda.ethz.ch'
alias
sr
=
'ssh -J rda.ethz.ch'
alias
shci
=
'ssh -J phd-jump-hci.ethz.ch'
alias
shci
=
'ssh -J phd-jump-hci.ethz.ch'
alias
shit
=
'ssh -J phd-jump-hit.ethz.ch'
alias
shit
=
'ssh -J phd-jump-hit.ethz.ch'
...
@@ -86,6 +87,9 @@ alias pping='prettyping'
...
@@ -86,6 +87,9 @@ alias pping='prettyping'
alias
pping6
=
'prettyping -6'
alias
pping6
=
'prettyping -6'
alias
p
=
'prettyping -i 0.2'
alias
p
=
'prettyping -i 0.2'
alias
p6
=
'p -6'
alias
p6
=
'p -6'
alias
psc
=
'ps xawf -eo pid,user:12,cgroup:54,args'
alias
psct
=
'ps xawf -ewwo pid,nlwp,ppid,c,tname,stat,time:12,user:12,cgroup:54,args'
alias
psctt
=
'ps xaw -eTwwo pid,lwp,nlwp,ppid,c,tname,stat,time:12,user:12,cgroup:54,args'
alias
a
=
'ansible'
alias
a
=
'ansible'
alias
a10
=
'ANSIBLE_TIMEOUT=10 ansible'
alias
a10
=
'ANSIBLE_TIMEOUT=10 ansible'
alias
ap
=
'ansible-playbook'
alias
ap
=
'ansible-playbook'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment