Portál AbcLinuxu, 6. listopadu 2025 01:41
free -mtak to na mnne vybaflo
free: Multiple unit options doesn't make senseTo používá Manjaro nějakou jinou verzi tohoto příkazu? Chtěl bych tam verzi, na kterou jsem zvyklý. CO s tím mohu dělat? Pokud Manjaro skutečně používá nějakou jinou verzi, má takto pozměněno i něco dalšího? Moc díky za rady. Franta
Řešení dotazu:
free -h
[franta@nb ~]$ free --help
Usage:
free [options]
Options:
-b, --bytes show output in bytes
--kilo show output in kilobytes
--mega show output in megabytes
--giga show output in gigabytes
--tera show output in terabytes
--peta show output in petabytes
-k, --kibi show output in kibibytes
-m, --mebi show output in mebibytes
-g, --gibi show output in gibibytes
--tebi show output in tebibytes
--pebi show output in pebibytes
-h, --human show human-readable output
--si use powers of 1000 not 1024
-l, --lohi show detailed low and high memory statistics
-t, --total show total for RAM + swap
-s N, --seconds N repeat printing every N seconds
-c N, --count N repeat printing N times, then exit
-w, --wide wide output
--help display this help and exit
-V, --version output version information and exit
For more details see free(1).
[franta@nb ~]$ free -b
free: Multiple unit options doesn't make sense.
[franta@nb ~]$ free -m
free: Multiple unit options doesn't make sense.
Zvláštní chování.........
$ type set set is a shell builtin $ type type type is a shell builtintype síce napíše o príkaze že je alias ak je alias, ale alias sa nenastavuje príkazom set. To by si už mal vedieť. A jednorazové zrušenie aliasu sa dá urobiť aj jednoduchšie. Stači dať backslash pred alias.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.