Fish - Um shell fácil de usar
Este artigo mostra a instalação e uso do Shell Fish (Friendly Interactive Shell). É uma alternativa configurável e fácil de usar, ao mais conhecido Bash (Bourne-Again Shell), comumente encontrado como padrão nas distribuições GNU/Linux.
[ Hits: 30.921 ]
Por: Alberto Federman Neto. em 18/09/2013 | Blog: https://ciencialivre.blog/
Welcome to fish, the friendly interactive shell Type help for instructions on how to use fishPrimeira coisa, ele tem um help geral, digite help e tecle Enter para obter ajuda.
fish: The '$' begins a variable name. It was given at the end of an argument. Variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'.Viu? O Fish me avisa o que é $.
ls: não é possível acessar /var/**.log: Arquivo ou diretório não encontradofish
Welcome to fish, the friendly interactive shell Type help for instructions on how to use fishls /var/**.log
/var/lib/texmf/web2c/updmap.log /var/log/anaconda.log /var/log/anaconda.program.log /var/log/anaconda.storage.log /var/log/emerge-fetch.log /var/log/emerge.log /var/log/entropy/entropy.log /var/log/entropy/packagekit.log /var/log/entropy/rigo-daemon.log ....................................mais arquivos, todos os logsE muitos outros recursos, vários diferentes do bash:
bash: functions: comando não encontrado$ functions
N_, alias, cd, contains_seq, delete-or-exit, dirh, dirs, down-or-search, eval, fish_command_not_found_setup, fish_config, fish_default_key_bindings, fish_indent, fish_prompt, fish_sigtrap_handler, fish_update_completions, funced, funcsave, grep, help, history, isatty, la, ll, ls, man, math, mimedb, nextd, nextd-or-forward-word, open, popd, prevd, prevd-or-backward-word, prompt_pwd, psub, pushd, seq, setenv, sgrep, trap, type, umask, up-or-search, vared,No diretório "/usr/share/fish/functions", existe um grande número de funções e comandos de fish, vários deles editáveis, inclusive suporte a Vim ,Git, SVN, etc...
./ __fish_complete_svn_diff.fish __fish_print_users.fish ../ __fish_complete_svn.fish __fish_print_xdg_mimeapps.fish alias.fish __fish_complete_tar.fish __fish_print_xdg_mimetypes.fish cd.fish __fish_complete_tex.fish __fish_print_xrandr_modes.fish contains_seq.fish __fish_complete_unrar.fish __fish_print_xrandr_outputs.fish delete-or-exit.fish __fish_complete_users.fish __fish_print_xwindows.fish dirh.fish __fish_complete_vi.fish fish_prompt.fish dirs.fish __fish_complete_wvdial_peers.fish __fish_prt_no_subcommand.fish down-or-search.fish __fish_complete_xsum.fish __fish_prt_packages.fish eval.fish fish_config.fish __fish_prt_ports.fish _.fish __fish_config_interactive.fish __fish_prt_use_package.fish __fish_append.fish __fish_contains_opt.fish __fish_prt_use_port.fish __fish_bind_test1.fish __fish_crux_packages.fish __fish_seen_subcommand_from.fish __fish_bind_test2.fish fish_default_key_bindings.fish __fish_test_arg.fish __fish_commandline_test.fish __fish_describe_command.fish fish_update_completions.fish __fish_complete_abook_formats.fish __fish_filter_ant_targets.fish __fish_use_subcommand.fish __fish_complete_ant_targets.fish __fish_filter_mime.fish funced.fish __fish_complete_atool_archive_contents.fish __fish_git_prompt.fish funcsave.fish __fish_complete_atool.fish __fish_gnu_complete.fish grep.fish __fish_complete_bittorrent.fish fish_indent.fish help.fish __fish_complete_cabal.fish __fish_is_first_token.fish history.fish __fish_complete_cd.fish __fish_is_token_n.fish isatty.fish __fish_complete_command.fish __fish_list_current_token.fish la.fish __fish_complete_convert_options.fish __fish_make_completion_signals.fish ll.fish __fish_complete_diff.fish __fish_move_last.fish ls.fish __fish_complete_directories.fish __fish_no_arguments.fish man.fish __fish_complete_file_url.fish __fish_not_contain_opt.fish math.fish __fish_complete_ftp.fish __fish_paginate.fish mimedb.fish __fish_complete_grep.fish __fish_ports_dirs.fish nextd.fish __fish_complete_groups.fish __fish_print_abook_emails.fish nextd-or-forward-word.fish __fish_complete_list.fish __fish_print_addresses.fish N_.fish __fish_complete_lpr.fish __fish_print_arch_daemons.fish open.fish __fish_complete_lpr_option.fish __fish_print_commands.fish popd.fish __fish_complete_ls.fish __fish_print_debian_services.fish prevd.fish __fish_complete_man.fish __fish_print_encodings.fish prevd-or-backward-word.fish __fish_complete_mime.fish __fish_print_filesystems.fish prompt_pwd.fish __fish_complete_pacman.fish __fish_print_function_prototypes.fish psub.fish __fish_complete_pgrep.fish __fish_print_help.fish pushd.fish __fish_complete_pids.fish __fish_print_hostnames.fish seq.fish __fish_complete_ppp_peer.fish __fish_print_interfaces.fish setenv.fish __fish_complete_proc.fish __fish_print_lpr_options.fish sgrep.fish __fish_complete_python.fish __fish_print_lpr_printers.fish __terlar_git_prompt.fish __fish_complete_setxkbmap.fish __fish_print_lsblk_columns.fish trap.fish __fish_complete_ssh.fish __fish_print_make_targets.fish type.fish __fish_complete_subcommand.fish __fish_print_mounted.fish umask.fish __fish_complete_subcommand_root.fish __fish_print_packages.fish up-or-search.fish __fish_complete_suffix.fish __fish_print_svn_rev.fish vared.fish
Instalando e Usando a Versão Mais Recente do BleachBit no Linux
Ambiente gráfico MATE no Sabayon Linux
Ultimate Boot CD - Um Fantástico "Canivete Suíço" para recuperar seu Linux
Sabayon Linux: Migrando KDE4 para KDE5
Introdução aos ambientes gráficos e gerenciadores de janelas menos conhecidos
Linux e Windows - Prós e Contras
Curiosidades e mitos sobre Slackware
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)