Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › I don't understand what this is wanting me to do...
New Posts  All Forums:Forum Nav:

I don't understand what this is wanting me to do... - Page 2

post #11 of 16
It's possible that the lab system is bugged. I know a buddy of mine was taking a certification test for Cisco, and one of their "labs" in the test was bugged, forcing him to get that one wrong. Fortunately, it didn't matter much since he still passed, but it is a pain. Just thought I'd throw that in there since it looks like all the bases are covered pretty well.
Big Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Wolfdale 3.0 Ghz Asrock P45R2000 WiFi 460 GTX 6GB Patriot Viper DDR3 1333 (2x1GB and 2x2GB) 
Hard DriveOptical DriveOSMonitor
Kingston 64GB SSD, 1TB Hitachi and 3 160GB drives ASUS dual layer SATA II DVD burner Windows 7 Pro 64 Bit and a few virtual machines ;) Hanns.G Hi221D 22" LCD Widescreen 
KeyboardPowerCaseMouse
standard junker nothin' fancy. Yet... HIPER 730 W Rosewill Conqueror Logitech Trackball (TrackMan is the model I think) 
Mouse Pad
The Desk! 
  hide details  
Reply
Big Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Wolfdale 3.0 Ghz Asrock P45R2000 WiFi 460 GTX 6GB Patriot Viper DDR3 1333 (2x1GB and 2x2GB) 
Hard DriveOptical DriveOSMonitor
Kingston 64GB SSD, 1TB Hitachi and 3 160GB drives ASUS dual layer SATA II DVD burner Windows 7 Pro 64 Bit and a few virtual machines ;) Hanns.G Hi221D 22" LCD Widescreen 
KeyboardPowerCaseMouse
standard junker nothin' fancy. Yet... HIPER 730 W Rosewill Conqueror Logitech Trackball (TrackMan is the model I think) 
Mouse Pad
The Desk! 
  hide details  
Reply
post #12 of 16
What exactly does the output look like? I ran the file command on /var/log/* (since I don't have /etc/sysconfig) and got output like this:

Code:
/var/log/apache2:                          directory
/var/log/apparmor:                         directory
/var/log/apt:                              directory
/var/log/auth.log:                         ASCII text
/var/log/auth.log.1:                       ASCII text
/var/log/auth.log.2.gz:                    gzip compressed data, from Unix, last modified: Tue Mar  1 19:33:02 2011
/var/log/auth.log.3.gz:                    gzip compressed data, from Unix, last modified: Fri Jan 21 21:39:01 2011
/var/log/auth.log.4.gz:                    gzip compressed data, from Unix, last modified: Sun Jan  2 19:17:01 2011
/var/log/boot:                             ASCII text
/var/log/boot.log:                         ASCII text, with CRLF, CR line terminators, with escape sequences
/var/log/bootstrap.log:                    ASCII English text
/var/log/btmp:                             empty
/var/log/btmp.1.gz:                        regular file, no read permission
/var/log/ConsoleKit:                       directory
/var/log/cups:                             directory
/var/log/daemon.log:                       ASCII English text
/var/log/daemon.log.1:                     ASCII Pascal program text
/var/log/daemon.log.2.gz:                  gzip compressed data, from Unix, last modified: Tue Mar  1 19:30:08 2011
Make sure you include the * as well (ie. /etc/sysconfig/*), or you'll only get output for /var/sysconfig and not everything in it.
Edited by randomizer - 3/18/11 at 8:44pm
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #13 of 16
Quote:
Originally Posted by GH0 View Post
The lab system. It downloads and runs a script to check the output of the files, if the output doesn't match what is prespecified, then it grades you on certain aspects of what is there. It has to match exactly otherwise it won'
t be a 10 out of 10;
Either your instructions are wrong or the lab test is wrong. The command I gave does exactly what the instructions you pasted specify.

I should note that this is the second time I've seen this problem with one of the lab questions you've posted here. Just what lab is this, so the rest of us can avoid it?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #14 of 16
Thread Starter 
I think one of the past labs, was actually an issue with me putting the command in, or it might have been a test question.

Either way, it is a RedHat Academy.

Someone suggested tweaking the command I posted earlier by hrolfr and removing the -type f, that worked and I got a 10 out of 10.
Gaming
(23 items)
 
  
CPUMotherboardGraphicsGraphics
AMD Phenom II X6 1090T Crosshair IV Formula GTX 560 GTX 580 
RAMRAMRAMRAM
G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI  G. Skill F3-12800CL6D-4GBPI 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Hard Drive Seagate Hard Drive Crucial M4 SSD Sony Optiarc 
CoolingOSMonitorMonitor
Corsair H70 Windows 7 Professional x64 ASUS VH242H 23" Monitor ASUS VH242H 23" Monitor 
MonitorKeyboardPowerCase
Samsung SyncMaster 906BW 19" Monitor Logitech G15 Corsair 1K PSU Lian-Li 70A 
MouseMouse PadAudio
Logitech Performance MX Razer Vespula HT Omega Pro+ 
  hide details  
Reply
Gaming
(23 items)
 
  
CPUMotherboardGraphicsGraphics
AMD Phenom II X6 1090T Crosshair IV Formula GTX 560 GTX 580 
RAMRAMRAMRAM
G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI  G. Skill F3-12800CL6D-4GBPI 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Hard Drive Seagate Hard Drive Crucial M4 SSD Sony Optiarc 
CoolingOSMonitorMonitor
Corsair H70 Windows 7 Professional x64 ASUS VH242H 23" Monitor ASUS VH242H 23" Monitor 
MonitorKeyboardPowerCase
Samsung SyncMaster 906BW 19" Monitor Logitech G15 Corsair 1K PSU Lian-Li 70A 
MouseMouse PadAudio
Logitech Performance MX Razer Vespula HT Omega Pro+ 
  hide details  
Reply
post #15 of 16
Thread Starter 
Here is another:
Quote:
The file big.links, which contains a list of the filenames of regular files underneath the /usr/lib/locale directory which have a link count of greater then 100.
So far, the following doesn't work:
find -L /usr/lib/locale -ls|awk '$2>=100'|awk '{print $NF}'
find -L /usr/lib/locale -type f -ls|awk '$2>=100'|awk '{print $NF}'
find /usr/lib/locale/ -links 100 > ~/big.links
find /usr/lib/locale/ -links +100 > ~/big.links
find /usr/lib/locale/* -links 100 > ~/big.links
Gaming
(23 items)
 
  
CPUMotherboardGraphicsGraphics
AMD Phenom II X6 1090T Crosshair IV Formula GTX 560 GTX 580 
RAMRAMRAMRAM
G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI  G. Skill F3-12800CL6D-4GBPI 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Hard Drive Seagate Hard Drive Crucial M4 SSD Sony Optiarc 
CoolingOSMonitorMonitor
Corsair H70 Windows 7 Professional x64 ASUS VH242H 23" Monitor ASUS VH242H 23" Monitor 
MonitorKeyboardPowerCase
Samsung SyncMaster 906BW 19" Monitor Logitech G15 Corsair 1K PSU Lian-Li 70A 
MouseMouse PadAudio
Logitech Performance MX Razer Vespula HT Omega Pro+ 
  hide details  
Reply
Gaming
(23 items)
 
  
CPUMotherboardGraphicsGraphics
AMD Phenom II X6 1090T Crosshair IV Formula GTX 560 GTX 580 
RAMRAMRAMRAM
G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI G. Skill F3-12800CL6D-4GBPI  G. Skill F3-12800CL6D-4GBPI 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Hard Drive Seagate Hard Drive Crucial M4 SSD Sony Optiarc 
CoolingOSMonitorMonitor
Corsair H70 Windows 7 Professional x64 ASUS VH242H 23" Monitor ASUS VH242H 23" Monitor 
MonitorKeyboardPowerCase
Samsung SyncMaster 906BW 19" Monitor Logitech G15 Corsair 1K PSU Lian-Li 70A 
MouseMouse PadAudio
Logitech Performance MX Razer Vespula HT Omega Pro+ 
  hide details  
Reply
post #16 of 16
find /usr/lib/locale -H -links +100 > big.links


-- regular files -- try to tell find not to follow links (with -H)
Edited by tasker - 3/18/11 at 10:10pm
royce
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD 1090T Black ASUS M4N98TD EVO 2x MSI N460GTX 1GB 2x4G G.Skill Ripjaw 1600 (8 8 8 24) 
Hard DriveOptical DriveOSMonitor
128G Crucial SSD, 3x1.5TB WD AV-GP (SW Raid 5) Blu-ray Combo Drive Arch_64 (2.6.37.4-zen_stable) 27" HP2711x 
KeyboardPowerCaseMouse
Luxeed U5 ABS Dark Beret 1KW Antec Lanboy Air (YLW) Logitech PS/2 Optical 
  hide details  
Reply
royce
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD 1090T Black ASUS M4N98TD EVO 2x MSI N460GTX 1GB 2x4G G.Skill Ripjaw 1600 (8 8 8 24) 
Hard DriveOptical DriveOSMonitor
128G Crucial SSD, 3x1.5TB WD AV-GP (SW Raid 5) Blu-ray Combo Drive Arch_64 (2.6.37.4-zen_stable) 27" HP2711x 
KeyboardPowerCaseMouse
Luxeed U5 ABS Dark Beret 1KW Antec Lanboy Air (YLW) Logitech PS/2 Optical 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › I don't understand what this is wanting me to do...