AMD LE-363 User's Uživatelská příručka Strana 381

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 436
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 380
Chapter 18 Scripting XgOS Commands 355
SEDIT runs as a script named sedit:
See help sedit for documentation:
Create Your Own Commands
Use the Xsigo Script Editor to create your own commands (scripts) and aliases.
1. Use file edit to create and open a file:
The Xsigo Script Editor starts.
2. Define the behavior.
3. Save the file and exit the editor:
4. Set the file access permissions and make the file executable:
5. Test the command:
file edit /bin/sedit
help sedit
file edit who
1 show user
ctrl-w
ctrl-d
chmod +x who
who
-----------------------------------------------------------------
name admin
descr
roles administrator
Zobrazit stránku 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 435 436

Komentáře k této Příručce

Žádné komentáře