Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Unix Script Error

Unix Script Error 9 years 8 months ago #20374

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
Hi Guys,

Every time i run this script, it gives me error "file not found"

Any takes why. In my home director i created the two files needed

#!/bin/ksh
#Output the login name of everyone in the class who owns no file in
#the directory ˜mm64/public_html/x52.9545/homework.
#Sample use: delinquent
˜mm64/bin/roster 45 | sort > ˜/inclass
ls -l ˜mm64/public_html/x52.9545/homework | tail +2 |
awk ’{print $3}’ | sort | uniq > ˜/didhomework
comm -23 ˜/inclass ˜/didhomework
rm ˜/inclass ˜/didhomework
The administrator has disabled public write access.

Re: Unix Script Error 9 years 8 months ago #20391

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
˜mm64/bin/roster 45 | sort > ˜/inclass
ls -l ˜mm64/public_html/x52.9545/homework | tail +2 |
You missed out the forward slash before "mm64" in both of the above lines. Should be:
[code:1]
˜/mm64/bin/roster 45 | sort > ˜/inclass
ls -l ˜/mm64/public_html/x52.9545/homework | tail +2 |
[/code:1]
The administrator has disabled public write access.

thanks alot 9 years 7 months ago #20687

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
Thank you so much! Its the little things that make such a big impact on our lives.

Thanks again!
The administrator has disabled public write access.

Re: Unix Script Error 9 years 7 months ago #20696

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
Tell me about it!
The administrator has disabled public write access.
Time to create page: 0.076 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup