Skip to content
0
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
  • Home
  • Piero Bosio
  • Blog
  • World
  • Fediverso
  • News
  • Categories
  • Old Web Site
  • Recent
  • Popular
  • Tags
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
fbfortune@mastodon.bsd.cafeundefined

FreeBSD Fortune

@fbfortune@mastodon.bsd.cafe
About
Posts
74
Topics
74
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Sometimes a single slow HDD can cripple the performance of your entire system.
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Sometimes a single slow HDD can cripple the performance of your entire system. You can spot one like this:

    # gstat -I5s | sort -rn -k9 | head

    -- Alan Somers <asomers@FreeBSD.org>
    %

    Uncategorized

  • Want to know how many words, lines, or bytes are contained in a file?
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Want to know how many words, lines, or bytes are contained in a file? Type
    "wc filename".
    -- Dru <genesis@istar.ca>

    Uncategorized

  • Want to know how much memory (in bytes) your machine has installed?
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Want to know how much memory (in bytes) your machine has installed? Let
    sysctl(8) tell you with the following command:

    sysctl hw.realmem

    The realmem value is memory before the kernel and modules are loaded, whereas
    hw.physmem is what is left after they were loaded.

    The number of active CPUs is displayed using this command:

    sysctl hw.ncpu

    -- Benedict Reuschling <bcr@FreeBSD.org>

    Uncategorized

  • You can look through a file in a nice text-based interface by typing less filename
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    You can look through a file in a nice text-based interface by typing

    less filename

    Uncategorized

  • Handy bash(1) prompt: PS1="\u@\h \w \!$ " -- David Scheidt &lt;dscheidt@tumbolia.com&gt;
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Handy bash(1) prompt: PS1="\u@\h \w \!$ "
    -- David Scheidt <dscheidt@tumbolia.com>

    Uncategorized

  • To see the 10 largest files in a directory or on a UFS partition, use du -h /partition_or_directory_name | sort -rh | head -- Dru &lt;genesis@istar.ca&gt;
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    To see the 10 largest files in a directory or on a UFS partition, use

    du -h /partition_or_directory_name | sort -rh | head
    -- Dru <genesis@istar.ca>

    Uncategorized

  • Need to see the calendar for this month?
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Need to see the calendar for this month? Simply type "cal". To see the
    whole year, type "cal -y".
    -- Dru <genesis@istar.ca>

    Uncategorized

  • If you do not want to get beeps in X11 (X Windows), you can turn them off with xset b off
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    If you do not want to get beeps in X11 (X Windows), you can turn them off with

    xset b off

    Uncategorized

  • This fortune brought to you by:$FreeBSD$
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    This fortune brought to you by:
    $FreeBSD$

    Uncategorized

  • If you have a CD-ROM drive in your machine, you can make the CD-ROM that ispresently inserted available by typing 'mount /cdrom' as root.
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    If you have a CD-ROM drive in your machine, you can make the CD-ROM that is
    presently inserted available by typing 'mount /cdrom' as root. The CD-ROM
    will be available under /cdrom/. Remember to do 'umount /cdrom' before
    removing the CD-ROM (it will usually not be possible to remove the CD-ROM
    without doing this.)

    Note: This tip may not work in all configurations.

    Uncategorized

  • If you accidentally end up inside vi, you can quit it by pressing Escape, colon(:), q (q), bang (!) and pressing return.
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    If you accidentally end up inside vi, you can quit it by pressing Escape, colon
    (:), q (q), bang (!) and pressing return.

    Uncategorized

  • Are you looking for a package?
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Are you looking for a package? Search for it with
    "pkg search part_of_package_name"

    -- Lars Engels <lme@FreeBSD.org>

    Uncategorized

  • FreeBSD's top(1) utility displays CPU statistics by default
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    FreeBSD's top(1) utility displays CPU statistics by default.
    To display I/O activity for each process instead, run top like this:

    top -m io

    -- Benedict Reuschling <bcr@FreeBSD.org>

    Uncategorized

  • Want to use sed(1) to edit a file in place?
    fbfortune@mastodon.bsd.cafeundefined fbfortune@mastodon.bsd.cafe

    Want to use sed(1) to edit a file in place? Well, to replace every 'e' with
    an 'o', in a file named 'foo', you can do:

    sed -i.bak s/e/o/g foo

    And you'll get a backup of the original in a file named 'foo.bak', but if you
    want no backup:

    sed -i '' s/e/o/g foo

    Uncategorized
  • 1
  • 2
  • 3
  • 4
  • 4 / 4
  • Login

  • Login or register to search.
  • First post
    Last post