edita
Publicado por cleber gomes 10/06/2004
[ Hits: 6.355 ]
Script que facilita a edição de alguns
scripts de configurção
#!/bin/bash #cleber_cg #editar script echo " " echo " Opções " echo " " echo " fstab -> editar o fstab" echo " xfconf -> editar o XF86Config" echo " karamba -> edita themas do karamba" echo " source -> editar o source.list" echo " s -> sair" echo " " echo "Digite o nome do arquivo que você quer editar" read arq if [ "$arq" = "s" ]; then clear exit elif [ "$arq" = "fstab" ]; then kedit /etc/fstab& exit elif [ "$arq" = "source" ]; then kedit /etc/apt/sources.list exit elif [ "$arq" = "xfcof" ]; then kedit /etc/XF86Config exit elif [ "$arq" = "karamba" ]; then cd /usr/local/k-karamba/modules/1024/ dir echo " " echo "Qual thema você quer editar ?" read tema kedit smoothy_$tema.theme& clear #################### else cd /usr/local/bin if [ -e $arq ] then echo " " cd /usr/local/bin kedit $arq & exit fi ################### dir echo " " echo " Qual script você quer editar ? " read arq1 if [ "$arq1" = "s" ] then exit fi ################## if [ -e $arq1 ] then kedit $arq1 & clear exit fi ################## echo " " echo " " echo "O arquivo que você digitou não existe !! " echo " Tente Dinovo !! " edita exit fi
Instalação de pacotes em uma lista
Nenhum comentário foi encontrado.
Atenção a quem posta conteúdo de dicas, scripts e tal (6)
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
O mínimo que você precisa saber sobre o terminal (parte 2)
O mínimo que você precisa saber sobre o terminal (parte 1)
Como iniciar uma máquina virtual do VirtualBox automaticamente no boot do LUbuntu 18 LTS
Mudar o gerenciador de login (GDM para SDDM e vice-versa) - parte 2
Como deixar as abas do Firefox mais fininhas
Mudar o gerenciador de login (GDM para SDDM)
"Tentando" fazer com que programas rodem no Wayland e no X11
Como baixar os drivers de áudio no linux mint? (6)
Erro ao iniciar Ubuntu 24.04.1 LTS - Management Owner Key - MoK (7)
Linux Mint não volta do modo suspenso ou hibernação (3)
Google Chrome não para de escrever no disco [aparentemente Resolvido!]... (15)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta