Lines Matching +full:ps +full:- +full:hold

1 Any user that is a member of the wheel group can use "su -" to simulate
3 pw groupmod -n wheel -m user_name
4 -- Konstantinos Konstantinidis <kkonstan@duth.gr>
11 -x port_name".
15 -- David Scheidt <dscheidt@tumbolia.com>
20 -- Dru <genesis@istar.ca>
23 -- Dru <genesis@istar.ca>
25 Forget when Easter is? Try "ncal -e". If you need the date for Orthodox
26 Easter, use "ncal -o" instead.
27 -- Dru <genesis@istar.ca>
36 -- David Scheidt <dscheidt@tumbolia.com>
52 If you have a CD-ROM drive in your machine, you can make the CD-ROM that is
53 presently inserted available by typing 'mount /cdrom' as root. The CD-ROM
55 removing the CD-ROM (it will usually not be possible to remove the CD-ROM
62 -- Dru <genesis@istar.ca>
64 If you need to ask a question on the FreeBSD-questions mailing list then
66 https://docs.freebsd.org/en/articles/freebsd-questions
81 -- Dru <genesis@istar.ca>
84 kilobytes instead of 512-byte blocks, set BLOCKSIZE in your
87 then use 'df -h'.
99 username/password when it encounters a password-protected web page, you can set
107 also do a lot more advanced searches - type 'man grep' for details.
111 variable LC_ALL to 'en_US.UTF-8'.
114 -- David Scheidt <dscheidt@tumbolia.com>
117 -- David Scheidt <dscheidt@tumbolia.com>
135 -- David Scheidt <dscheidt@tumbolia.com>
140 -- Dru <genesis@istar.ca>
143 -- Dru <genesis@istar.ca>
146 Use "lock -p". When you return, use your password as the key to unlock the
148 -- Dru <genesis@istar.ca>
151 -- Dru <genesis@istar.ca>
154 -- Dru <genesis@istar.ca>
158 tr -d \\r < dosfile > newfile
159 -- Originally by Dru <genesis@istar.ca>
162 whole year, type "cal -y".
163 -- Dru <genesis@istar.ca>
166 "sockstat -4l" for IPv4, and "sockstat -l" for IPv4 and IPv6.
167 -- Dru <genesis@istar.ca>
169 Need to see your routing table? Type "netstat -rn". The entry with the G
171 -- Dru <genesis@istar.ca>
174 -- Mathieu <mathieu@hal.interactionvirtuelle.com>
176 Over quota? "du -sh * | sort -h " will give you a sorted list of your
178 -- David Scheidt <dscheidt@tumbolia.com>
183 sh (the default Bourne shell in FreeBSD) supports command-line editing. Just
184 ``set -o emacs'' or ``set -o vi'' to enable it. Use "<TAB>" key to complete
190 learned it, but somewhat user-unfriendly. To use ee (an easier but less
194 -- Dru <genesis@istar.ca>
204 To clear the screen, use "clear". To re-display your screen buffer, press
207 -- Dru <genesis@istar.ca>
209 You can press Ctrl-L while in the shell to clear the screen.
215 -- Dru <genesis@istar.ca>
224 To erase a line you've written at the command prompt, use "Ctrl-U".
225 -- Dru <genesis@istar.ca>
229 drill -x IP_address
230 -- Dru <genesis@istar.ca>
232 To obtain a neat PostScript rendering of a manual page, use ``-t'' switch
233 of the man(1) utility: ``man -t <topic>''. For example:
235 man -t grep > grep.ps # Save the PostScript version to a file
237 man -t printf | lp # Send the PostScript directly to printer
240 -- Dru <genesis@istar.ca>
245 -- Dru <genesis@istar.ca>
249 -- Dru <genesis@istar.ca>
253 find / -name "*GENERIC*" -ls
256 -- Stephen Hilton <nospam@hiltonbsd.com>
260 find / -type d | less
264 find / -type f | less
268 -- Dru <genesis@istar.ca>
272 df -h
273 -- Dru <genesis@istar.ca>
277 du -h /partition_or_directory_name | sort -rh | head
278 -- Dru <genesis@istar.ca>
281 "ifconfig -u".
282 -- Dru <genesis@istar.ca>
286 to a file, use "tail -f filename".
287 -- Dru <genesis@istar.ca>
290 -- Dru <genesis@istar.ca>
294 ifconfig -a
295 -- Dru <genesis@istar.ca>
299 -- Francisco Reyes <lists@natserv.com>
301 Want colour in your directory listings? Use "ls -G". "ls -F" is also useful,
302 and they can be combined as "ls -FG".
307 make search name=<port-name>
313 -- Dru <genesis@istar.ca>
318 Want to strip UTF-8 BOM(Byte Order Mark) from given files?
320 sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile
325 sed -i.bak s/e/o/g foo
330 sed -i '' s/e/o/g foo
333 you can't write it, type ``<ESC>!rm -f %'' then ``:w!'' to force the
358 You can use "vidcontrol -i mode | grep T" for a list of supported text
360 -- Konstantinos Konstantinidis <kkonstan@duth.gr>
382 You can look through a file in a nice text-based interface by typing
393 You can open up a new split-screen window in (n)vi with :N or :E and then
398 depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use
402 You can press Ctrl-D to quickly exit from a shell, or logout from a
404 -- Konstantinos Konstantinidis <kkonstan@duth.gr>
406 You can press up-arrow or down-arrow to walk through a list of
420 alias lf="ls -FA"
421 alias ll="ls -lA"
422 alias su="su -m"
426 alias lf ls -FA
427 alias ll ls -lA
428 alias su su -m
452 -- Konstantinos Konstantinidis <kkonstan@duth.gr>
458 Type "cd -"
460 Can't delete /usr/obj? Enter "chflags -R noschg /usr/obj" to remove the
463 -- Lars Engels <lme@FreeBSD.org>
466 "pkg info -l packagename".
468 -- Lars Engels <lme@FreeBSD.org>
473 -- Lars Engels <lme@FreeBSD.org>
477 "cp -a source target"
479 -- Lars Engels <lme@FreeBSD.org>
485 -- Lars Engels <lme@FreeBSD.org>
488 "freebsd-version -ku" to display kernel and userland version.
490 -- Lars Engels <lme@FreeBSD.org>
495 -- Lars Engels <lme@FreeBSD.org>
500 -- Lars Engels <lme@FreeBSD.org>
505 -- Lars Engels <lme@FreeBSD.org>
511 # gpart create -s MBR ${devicename}
512 # gpart add -t fat32 ${devicename}
513 # newfs_msdos -F 32 -L thumbdrive ${devicename}s1
515 -- Lars Engels <lme@FreeBSD.org>
518 enter "service -e".
520 -- Lars Engels <lme@FreeBSD.org>
524 -- Lars Engels <lme@FreeBSD.org>
531 -- Lars Engels <lme@FreeBSD.org>
533 Do you want to do a binary upgrade of your running FreeBSD installation? Use freebsd-update(8).
536 # freebsd-update fetch
537 # freebsd-update install
540 # freebsd-update upgrade -r ${name_of_release}
542 -- Lars Engels <lme@FreeBSD.org>
548 -- Lars Engels <lme@FreeBSD.org>
551 Use "sysrc name=value" to add an entry and "sysrc -x name" to delete an entry.
553 -- Lars Engels <lme@FreeBSD.org>
557 curl -v -d "nickname=$USER" -d "description=FreeBSD/$(uname -m) on \
558 $(kenv smbios.system.maker) $(kenv smbios.system.product)" -d "do=add" \
559 --data-urlencode 'dmesg@/var/run/dmesg.boot' http://dmesgd.nycbug.org/index.cgi
573 -- Benedict Reuschling <bcr@FreeBSD.org>
578 Use the built-in "zfs list" command to get a better overview of space usage:
580 zfs list -o space
582 -- Benedict Reuschling <bcr@FreeBSD.org>
589 systat -vmstat
597 -- Benedict Reuschling <bcr@FreeBSD.org>
609 -- Benedict Reuschling <bcr@FreeBSD.org>
617 To view individual disk activities, specify the -v parameter:
619 zpool iostat -v
622 -- Benedict Reuschling <bcr@FreeBSD.org>
627 top -m io
629 -- Benedict Reuschling <bcr@FreeBSD.org>
636 More details are available using the -i and -l parameters. Note that ZFS
639 -- Benedict Reuschling <bcr@FreeBSD.org>
652 -- Benedict Reuschling <bcr@FreeBSD.org>
655 using the -d parameter. To display only the first level of datasets below
658 zfs list -d 1 mypool/usr
660 -- Benedict Reuschling <bcr@FreeBSD.org>
663 the dataset name, use the -o parameter:
665 zfs list -o name mypool/usr
669 zfs list -o mountpoint,name,avail
671 -- Benedict Reuschling <bcr@FreeBSD.org>
673 The output of "zfs list" can be sorted by a specific column using -s. To
676 zfs list -s used
678 To sort in descending order instead, use -S:
680 zfs list -S used
682 -- Benedict Reuschling <bcr@FreeBSD.org>
684 To make the "zfs list" output more script-friendly, you can suppress the
685 output of the headers for each column by passing the -H parameter:
687 zfs list -H
689 Another helpful option for script writers is -p, which displays the numbers
690 in non-rounded, exact values:
692 zfs list -p
694 -- Benedict Reuschling <bcr@FreeBSD.org>
696 Before deleting a dataset or snapshot, perform a dry run using the -n
699 action when -n is combined with the -v option without actually performing
702 zfs destroy -nrv mypool@mysnap
704 Once you are sure this is exactly what you intend to do, remove the -n
706 -- Benedict Reuschling <bcr@FreeBSD.org>
708 You can delete a range of ZFS snapshots (a-z) in multiple ways.
721 Make sure to let ZFS perform a dry run (-n option) first and display (-v) what
724 -- Benedict Reuschling <bcr@FreeBSD.org>
728 separator and identifier from the built-in ZFS properties:
730 # zfs set warranty:expires=2038-01-19 mypool
733 built-in properties using zfs get:
741 Removing a custom property from a pool is done using the -r flag to the
744 # zfs inherit -r warranty:expires mypool
746 -- Benedict Reuschling <bcr@FreeBSD.org>
752 # zfs destroy -rvn mypool/tmp@a%d
754 Once you are sure that this is what you want, remove the -n option:
756 # zfs destroy -rv mypool/tmp@a%d
758 -- Benedict Reuschling <bcr@FreeBSD.org>
760 You can prevent the removal of a ZFS snapshot by using the hold subcommand.
764 # zfs hold milestone_hold mypool/projects@my_milestone
767 this way (-r for a recursive list):
769 # zfs holds -r mypool
772 hold was created, not the snapshot it holds. The "zfs destroy" command will
773 echo a "dataset is busy" message on the console when it encounters a hold.
774 Use "zfs release" to release the hold on the snapshot:
778 -- Benedict Reuschling <bcr@FreeBSD.org>
782 # zfs allow -u sender send,snapshot txpool
786 # zfs allow -u receiver compression,mountpoint,mount,create,receive rxpool
788 -- Benedict Reuschling <bcr@FreeBSD.org>
793 # zfs create -o refreservation=<5% of total pool space> <poolname>/reserved
798 -- Benedict Reuschling <bcr@FreeBSD.org>
803 # gstat -I5s | sort -rn -k9 | head
805 -- Alan Somers <asomers@FreeBSD.org>
807 FreeBSD's ps(1) can create a dependency tree based on parent/child
810 $ ps -d
812 -- Daniel Ebdrup Jensen <debdrup@FreeBSD.org>
816 $ vmstat -o | awk 'NR>1 { t[$7] += $1 } \
830 $ sysctl -n hw.pagesize
832 -- Daniel Ebdrup Jensen <debdrup@FreeBSD.org>
837 $ cu -s 115200 -l /dev/ttyU0
839 -- Daniel Ebdrup Jensen <debdrup@FreeBSD.org>
846 -- Michael Gmelin <grembo@FreeBSD.org>
848 To determine which fonts provide a particular Unicode character, fc-list from
850 that the emoji you sent won't display, run fc-list with the hex value of the
853 $ fc-list ':charset=0x1F4A1'
857 /usr/local/share/fonts/noto/NotoColorEmoji.ttf was installed by package noto-emoji-2.042
861 $ netstat -I bge0 8