File: uptime

package info (click to toggle)
bandwidthd 2.0.1%2Bcvs20090917-10
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,204 kB
  • sloc: sh: 3,008; ansic: 2,746; php: 1,263; yacc: 216; makefile: 162; lex: 36; sql: 27
file content (3 lines) | stat: -rwxr-xr-x 50 bytes parent folder | download | duplicates (9)
1
2
3
#!/bin/bash

cat /proc/uptime | awk '{print($1)}'