Zum Inhalt springen

shutdown-Frnow

Mitglieder
  • Gesamte Inhalte

    334
  • Benutzer seit

  • Letzter Besuch

Alle Inhalte von shutdown-Frnow

  1. sorry, die " waren vielleicht etwas verwirrend, da " schon bei dem -F ":" vorkommt und die shell das dann nicht versteht. dann musste ein mächtigeres zeichen als " nehmen, beispielsweise ` z.B. rd@ws4-69:~> export BLA=`cat /proc/cpuinfo |grep MHz|awk -F ":" '{print $2}'` rd@ws4-69:~> echo $BLA 797.616 so gehts auf jeden
  2. export BLA="cat tmp" BLA ist die variable ... die kann mit $BLA abgerufen werden cat tmp mit deinem kommando ersetzen
  3. bei mir geht das so: cat /proc/cpuinfo |grep MHz|awk -F ":" '{print $2}' im allgemeinen suchst du mit grep zeilen die den suchbegriff enthalten also grep MHz gibt alle zeielen aus die MHz enthalten mit awk kannst du das dann "zurechtschneiden" -F ist der Field Seperator ... in diesem fall hab ich den : gewählt, standartmässig isses das leerzeichen mit dem print $2 gibst du dann das 2. feld, also das hinter dem 1. : aus. der rest ist syntax das hier alles zu erklähren würde den ramen sprengen. bei O'Reilly gibts gute bücher zu awk & co und so ... oder mal bei googel schaun
  4. die standartmeldungen und die standartfehlermeldungen kommen über andere pipes. d.h. du muss auch die standart fehlermeldungen nach /dev/null umleiten das machst du so: &2 > /dev/null
  5. zumindest gibts bei nfs ne option mit der man serverseitige permissions unterdrücken kann .... also sollte es ja auch am server was geben um das einzustellen
  6. hab mal n bisschen im man mount gelesen, aber umask gilt nur für fat und ntfs gid und uid leider auch ... mount liefert für nfs leider keine (oder keine die ich gefunden hab) option aber ich schau mal weiter ... jemand andere ideen? (serverseitige natürlich bevorzugt )
  7. hört sich gut an, danke :uli
  8. kurze frage: kann man, und wenn ja, dann wie auf einem linux server sind laufwerke per nfs gemountet. kann man irgendwie einstellen das alle dateien ordner die da per nfs hinkopiert werden automatisch mit 777 rechten ausgestattet werden, oder automatisch einer bestimmten gruppe gehören? danke
  9. das scheint auf den ersten blick zu funktionieren. ich muss das morgen mal mit der datenbank versuchen ... ob das einlesen auch wieder funzt und so. danke erstmal :uli
  10. ausgabe vom cat: 1154 0 0 0 764 512 SE 0 0 0 28800 61200 1.0000 0.0100 0 0 6 0 0 0 2 0 2 0 SX5510PI 0 SX5510 Utilities_PI 204 0 0 so siehts nach dem awk aus: 1154 0 0 0 764 512 SE 0 0 0 28800 61200 1.0000 0.0100 0 0 6 0 0 0 2 0 2 0 SX5510PI 0 SX5510 Utilities_PI 204 0 0 danke schlaubi
  11. und leider macht das posten hier auch die formatierung kaputt ... wie kann ich das denn posten ohne das das forumscript alle leerzeichen zu einem zusammenfasst??? :confused: :confused: :confused:
  12. ok sorry 1154 0 0 0 764 512 SE 0 0 0 28800 61200 1.0000 0.0100 0 0 6 0 0 0 2 0 2 0 SX5510PI 0 bla10 blabla_bla 204 das wäre eine zeile output. diese formatierung muss erhalten bleiben, sonst kann ich se nichtmehr einlesen nach dem awk würde sie nämlich so aussehen: 1154 0 0 0 0 512 SE 0 0 0 28800 61200 1.0000 0.0100 0 0 6 0 0 0 2 0 2 0 SX5510PI 0 bla10 blabla_bla 204 0 0 müsste man also irgend einen anderen weg finden leider kenn ich mich auch mit den datenbankenspezifikationen dieser datenbank aus (C-ISAM) danke schonmal fürs draufschaun, und die blas müssen sein, da firmeninterna
  13. ich hab ein problem ich muss einen datenbankendump mit spezieller formatierung bearbeiten, und das 5. feld immer auf 0 setzen. danach will ich den dump wieder in die datenbank einlesen. nun habe ich folgendes problem, awk macht die formatierung kaputt. cat dump.txt|awk '{$5=0;print}' setzt beim output zwischen jedes feld nur ein leerzeichen, aber zwischen manchen feldern sind es andere abstände usw. also geht das so nciht mit sed wäre das ja auch möglich, aber ich habe keinen weg gefunden dem sed das 5. feld mitzuteilen. es sind einfach nur zahlenreihen, also keine merkmale die ich bei einem substitute kommando mitgeben könnte. hat jemand eine idee wie ich diese nuss knacken könnte? wäre kuhl
  14. aha ... wusste nicht das es in /etc nochmal cronjobs gibt ... danke
  15. ich habe schon immer auf meinem linux server jeden abend eine mail an root bekommen, indem die patches für das YOU stehen ... was es da gibt usw ... hat mich auch nie weiter interessiert aber auch net gestört weil in die local INBOX vom root ging ... nun habe ich aber meinen server in eine domain gehängt, wegen dem forum das darauf läuft ... und nun schickt er jeden abend die mail an root@diedomain.org ... diese adresse gibt es natürlich nicht und ich bekomme immer einen failure notice vom T.Offline smtp über das ich für gewöhnlich verschicke ... das nervt ein wenig und ich wollte das abschalten mit dieser mail ... leider weiss ich nicht wie sie gesendet wird ... es gibt nämlich für keinen user auf dem System eine crontab ... und ich habe keine Ahnung von was das sonst kommen sollte ausser von der crontab oder einem at job ... da beides nicht existiert bin ich ratlos ... hat jemand ne idee oder hat das jemand schonmal gelöst bei sich? OS ist SuSE 8.2 war aber bei SuSE 8.1 auch schon so danke
  16. ansonsten vielleicht so cd ich\ bin\ heute\ blabla/ das geht bei mir zumindest in der bash
  17. das geht auch einfach so cd "ich bin heute gut drauf" sollte funzen mein ich
  18. mklar sorry für meinen egoismus hier is meine nu funzende XF86Config: Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/PEX" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1" FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/kwintv" FontPath "/usr/X11R6/lib/X11/fonts/truetype" FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1" FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/xtest" InputDevices "/dev/ttyS0" InputDevices "/dev/ttyS1" InputDevices "/dev/ttyS2" InputDevices "/dev/ttyS3" InputDevices "/dev/ttyS4" InputDevices "/dev/ttyS5" InputDevices "/dev/ttyS6" InputDevices "/dev/ttyS7" InputDevices "/dev/ttyS8" InputDevices "/dev/psaux" InputDevices "/dev/logibm" InputDevices "/dev/sunmouse" InputDevices "/dev/atibm" InputDevices "/dev/amigamouse" InputDevices "/dev/atarimouse" InputDevices "/dev/inportbm" InputDevices "/dev/gpmdata" InputDevices "/dev/mouse" InputDevices "/dev/usbmouse" InputDevices "/dev/adbmouse" InputDevices "/dev/input/mice" InputDevices "/dev/input/event0" InputDevices "/dev/pointer0" InputDevices "/dev/pointer1" InputDevices "/dev/pointer2" InputDevices "/dev/pointer3" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" Option "RandR" "on" EndSection Section "Module" Load "extmod" Load "freetype" Load "speedo" Load "glx" Load "type1" Load "dbe" Load "v4l" EndSection Section "InputDevice" Driver "Keyboard" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "de" Option "XkbModel" "pc105" Option "XkbRules" "xfree86" Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Driver "mouse" Identifier "Mouse[1]" Option "ButtonNumber" "5" Option "Device" "/dev/mouse" Option "Name" "Autodetection" Option "Protocol" "imps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Option "CalcAlgorithm" "CheckDesktopGeometry" DisplaySize 320 240 HorizSync 31-93 Identifier "Monitor[0]" ModelName "1600X1200@75HZ" VendorName "--> VESA" VertRefresh 50-75 UseModes "Modes[0]" EndSection Section "Monitor" Option "CalcAlgorithm" "CheckDesktopGeometry" DisplaySize 320 240 HorizSync 31-93 Identifier "Monitor[1]" ModelName "1600X1200@75HZ" VendorName "--> VESA" VertRefresh 50-75 UseModes "Modes[0]" EndSection Section "Modes" Identifier "Modes[0]" Modeline "1600x1200" 169.28 1600 1704 1880 2160 1200 1201 1204 1244 Modeline "1600x1200" 198.72 1600 1712 1888 2176 1200 1201 1204 1251 Modeline "1600x1200" 202.50 1600 1664 1856 2160 1200 1201 1204 1250 +HSyn c +VSync Modeline "1600x1024" 143.45 1600 1704 1872 2144 1024 1025 1028 1062 Modeline "1600x1024" 168.40 1600 1704 1880 2160 1024 1025 1028 1068 Modeline "1600x1000" 140.07 1600 1704 1872 2144 1000 1001 1004 1037 Modeline "1600x1000" 164.46 1600 1704 1880 2160 1000 1001 1004 1043 Modeline "1400x1050" 128.98 1400 1488 1640 1880 1050 1051 1054 1089 Modeline "1400x1050" 151.56 1400 1496 1648 1896 1050 1051 1054 1095 Modeline "1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068 Modeline "1280x960" 107.32 1280 1360 1496 1712 960 961 964 995 Modeline "1280x960" 126.27 1280 1368 1504 1728 960 961 964 1001 Modeline "1152x864" 86.70 1152 1224 1344 1536 864 865 868 896 Modeline "1152x864" 102.08 1152 1224 1352 1552 864 865 868 901 Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797 Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801 Modeline "800x600" 40.19 800 832 912 1024 600 601 604 623 Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626 Modeline "640x480" 25.10 640 656 720 800 480 481 484 498 Modeline "640x480" 29.84 640 664 728 816 480 481 484 501 Modeline "1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068 Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797 Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801 Modeline "800x600" 40.19 800 832 912 1024 600 601 604 623 Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626 Modeline "640x480" 25.10 640 656 720 800 480 481 484 498 Modeline "640x480" 29.84 640 664 728 816 480 481 484 501 EndSection Section "Screen" DefaultDepth 16 SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" EndSubSection SubSection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection Section "Screen" DefaultDepth 16 SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" EndSubSection SubSection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection Device "Device[1]" Identifier "Screen[1]" Monitor "Monitor[1]" EndSection Section "Device" BusID "1:0:0" Driver "nvidia" Identifier "Device[0]" Screen 0 Option "Rotate" "on" VendorName "NVidia" EndSection Section "Device" BusID "1:0:0" Driver "nvidia" Identifier "Device[1]" Screen 1 Option "Rotate" "on" VendorName "NVidia" EndSection Section "ServerLayout" Identifier "dual" InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" # Option "Clone" "on" Option "Xinerama" "on" Screen 0 "Screen[0]" Screen 1 "Screen[1]" RightOf "Screen[0]" EndSection Section "DRI" Group "video" Mode 0660 EndSection ist halt noch sauviel alter schmodder vom sax2 drin den man nicht braucht, aber es funzt ... rock on
  19. egal .... habs schon ... hab auch dick was gelernt .... so schwer wars nciht
  20. me again ich bekomm meinen xserver einfach nicht auf xinerama konfiguriert ge force 4 ti 4200 mit dualhead unter windows hats geklappt, sax2 erkennt nur ein device hab die XF86config manuell angepasst, hab aber nix als xserverabstürze geschafft hier ist das was sax2 draus macht: Modeline "1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068 Modeline "1280x960" 107.32 1280 1360 1496 1712 960 961 964 995 Modeline "1280x960" 126.27 1280 1368 1504 1728 960 961 964 1001 Modeline "1152x864" 86.70 1152 1224 1344 1536 864 865 868 896 Modeline "1152x864" 102.08 1152 1224 1352 1552 864 865 868 901 Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797 Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801 Modeline "800x600" 40.19 800 832 912 1024 600 601 604 623 Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626 Modeline "640x480" 25.10 640 656 720 800 480 481 484 498 Modeline "640x480" 29.84 640 664 728 816 480 481 484 501 Modeline "1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068 Modeline "1024x768" 67.48 1024 1080 1184 1344 768 769 772 797 Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801 Modeline "800x600" 40.19 800 832 912 1024 600 601 604 623 Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626 Modeline "640x480" 25.10 640 656 720 800 480 481 484 498 Modeline "640x480" 29.84 640 664 728 816 480 481 484 501 EndSection Section "Screen" DefaultDepth 24 SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1600x1200" EndSubSection SubSection "Display" Depth 24 Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1280x960" "1152x86 4" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection Section "Device" BoardName "GeForce4 Ti 4200" BusID "1:0:0" Driver "nvidia" Identifier "Device[0]" Screen 0 Option "Rotate" "off" VendorName "NVidia" EndSection Section "ServerLayout" Identifier "Layout[all]" InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" Option "Clone" "off" Option "Xinerama" "off" Screen "Screen[0]" EndSection Section "DRI" Group "video" Mode 0660 EndSection hat einer schonmal son ding mit xinerama zum laufen gebracht und ne fähige XF86Config für mich oder jemand nen tipp wie ich se anpassen sollte? SuSE 9.0, ofizieller Nvidia Driver von deren Homepage wäre kuhl ...
  21. oh, hab mal wieder zu vorschnell gepostet ... winerack liefert sein eigenes tool für diesen fall mit jetzt klappt alles sehr zu empfehlen für alle dioe gerne mal unter linux zocken und nicht viel arbeit mit haben möchten
  22. haiho ... ich bin seit gestern stolzer besitzer des winerack addons für suse 9.0 soweit so gut ... will ich aber nun beispielsweise diablo2 installieren oder ein anderes spiel bei der man während der installation die cds wechseln muss hab ich folgendes dummes problem. ich kann die cd nicht unmounten und ejecten, da das device noch busy ist ... das hält mich nun leider davon ab das spiel fertig zu isntallieren ... jemand eine idee?
  23. noch eine weitere frage zu: ich würde gerne ein bild vor und hinter dieses script packen ... also so in ungefähr: [bild] [auswahl] [bild] leider geht das nur [bild] [auswahl] [bild] geht das überhaupt wie ich mir das vorstelle (und wenn ja wie), oder ist das aufgrund des javascripts nicht möglich?
  24. oh so sollte es aussehen parent.FRAMENAME.location=.... jetzt klappts ... hatte dich falsch verstanden merci :uli
  25. sorry .... aber ka wo ich das ändern soll ... wenn ich vor das location parent. frame schreibe bekomme ich nur runtime fehler im browser ... hm ... sorry aber ich kenn mich mit java script nicht so aus ...

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...