Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by s-macke

4 days ago

Not quite right. Try the following.

  echo *
  cd /proc
  echo *
  while read line; do echo $line; done < /proc/cpuinfo

The last line should work and print the entire file, but it seems there's a bug.

1 comment

s-macke

Reply

throwaway031125  4 days ago

Well, it should not surprise you that the virtual file systems of the kernel remain.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities