Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: unix programming

unix programming 14 years 2 months ago #607

  • rebecca
  • rebecca's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
:oops: please help me with this code generation i need help urgently..

Implement a unix (shell) script equivalent to ls but which differs with ls in the following:
1. -A :lists all files including hidden files (same as -a of ls)
2. -L :long format (same as -l of ls)
3. -F : same as -F of ls
4. -D : this option should be followed by a directory name(means list contents of directory)
5. -f :this option should be followed by a filename, just like issuing: ls filename
6. Also allow the script to combine options just like with ls.

thanks alot please sooo lost
The administrator has disabled public write access.

Re: unix programming 14 years 1 month ago #939

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
Hmm I'm no shell scripting wizard, but it doesn't sound that difficult. Perhaps you should post this to a newsgroup / site with information on shell script programming. I've included a few links for you unix-shell-script-programming.shtml (good forum) (very good forum)

Hope that helps.
Sahir Hidayatullah. Staff - Associate Editor & Security Advisor
The administrator has disabled public write access.
Time to create page: 0.102 seconds


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


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