Bash Cheatsheet/Astuces

  • Connect directly to destination host via aiadm

function ssh-aiadm() { ssh -A -t fbarreir@aiadm.cern.ch ssh -A -t fbarreir@$1;} #Define it in your ~/.bash_profile
>> ssh-aiadm <MACHINE>
Password: 
...

  • See the crontab for all users
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2015-02-26 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback