Skip to main content

Posts

Showing posts from February, 2008

cut output for shell scripting

לצורך דוגמה נשתמש בבקודה iwlist eth1 scan שנמצאים בסביבה routers בקודה זו מחזירה מידע על המטרה לחתוך את מהמידע הזה " שם ה נתב" נמשיך iwlist eth1 scan | grep ESSID | cut -d '"' -f2 iwlist eth1 scan | grep ESSID | cut -d ":" -f2 הסימן "|" הוא להפניית הפלט ESSID מחזירה את השורה שיש בה את המילה grep הפקודה אחר כך עוד פעם הפניה חותכת את השורה לעמודות מתחילת הסימן שבין הגרשאים אחר כך אני מדפיס עמודה שנייה לפי הבחירה עם cut הפקודה -f2 ------------------------------------------------------------------- דוגמה 2 iwlist eth1 scan |grep Address: |awk '{print $5}' מחזירה את העמודה מספר 5 awk ------------------------------------------------------------------- דוגמה 3 iwlist eth1 scan | grep Quality | cut -d "=" -f2 | cut -d "/" -f1 מה שעשינו חתכנו את אחוז ה קליטה מ המשפט הבא Quality=96/100 Signal level=-32 dBm Noise level=-32 dBm במקרה ויש יותר מ נתב אחד באזור אז נקבל תוצאות ב התאם בשביל שנחתוך שורה נוסיף iwlist eth1 scan | g...

הרשאות

להוספת הרשאה לקובץ בכדי שמשתמש מסוים יוכל להפעיל קובץ זה נעשה בצורה הזו su כי רות בדרך כלל נותן הרשאות chmod 777 /var/www/sniper_sa.php 777 זה אומר לתת הרשאה לכול המשתמשים על השאר אפשר לקרו ב man אם יש לכה תיקיה שלמה שאתה רוצה לתת לה הרשאות והיא מכילה עוד כמה תיקיות אז cd MainFolder ואז chmod -R 777 *.* ------------------------------------------------------ סוג אחר של הרשאות של כתיבה הפעלה של קובץ וכדומה ניתן על ידי chown +x vmware-player.install +x זה הוספת הרשאת הפעלה לקובץ אפשר לבדוק את השאר ב man

Samsung Develops Fastest GDDR5 Memory at 6 Gb/s - World's Fastest Memory

Samsung Electronics announced today that it has developed the world's fastest memory, a GDDR5 (series five, graphics double-data-rate memory) chip that can transfer data at six gigabits per second, which is more than four times faster than that of memories in state-of-the-art game consoles today. Graphics memory is installed in desktop PCs, notebooks, workstations and game consoles to move huge volumes of video or animated images simultaneously. Samsung's GDDR5, which will be introduced at a density of 512 Mbit (16Mb x 32) chips, is capable of transmitting moving images and associated data at 24 gigabytes per second. We're pushing image enhancement to a limit never before realized, enabling the smoothest, clearest animation that gamers have yet to experience," said Mueez Deen, Marketing Director, Graphics Memory, Samsung Semiconductor. "Samsung's 512Mb GDDR5 will enable the kind of graphics hardware performance that will spur software developers to deliver a ...

Tiny 10nm flash memory chip around the corner

Miniscule manufacturing proven and prepped for the road We've heard plenty about the inevitably of more efficient circuitry in our gadgets as the number of nanometres used to measure their dimensions shrinks inexorably, but Toshiba 's R&D unit has excelled itself by developing 10nm processes for the first time. The minute manufacturing techniques apply to flash memory chips that are not quite ready for the big time yet - Toshiba's scientists predicts they're still four generations away - but the know-how and the prototypes are already in the labs. Double tunnelling According to the research , something called 'double tunnelling' can create 10nm pathways that allow for densities of over 100Gbits - safe to say, we're talking here about really huge flash drives within a few years. The announcement contains plenty more information on the physics involved, so if you're keen to read about the 1nm oxide films Toshiba used and the full details on Silicon Ox...