To edit files on the command line, you can use an editor such as vi. To open the file, run Now you see the contents of the file (if there is any. Please note that the file is created if it does not exist yet.). The most important commands in vi are these: Press i to enter the Insert mode. Now you can type in your text. To leave the Insert mode press ESC. To delete the character that is currently under the cursor you must press X (and you must not be in Insert mode because if you are …
Categoria: Linux
Acertar hora do Linux
Para acertar hora do Linux podemos executar em root o seguinte comando: # date MMddhhmmaa Em que: * MM: Dois dígitos do mês * dd: Dois dígitos do dia do mês * hh: Dois dígitos da hora * mm: Dois dígitos dos minutos * aa: Últimos dois dígitos do ano Exemplo: # date 0703203306 Irá colocar a data em: 03-07-2006 – Hora: 20:33 Depois disto para salvar as alterações faça: # date -w
FreeTDS
FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases. Technically speaking, FreeTDS is an open source implementation of the TDS (Tabular Data Stream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and three APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. If you are looking for a Java implementation, we refer you to the jTDS project on SourceForge. FreeTDS has many possible …
How to install KDE on Ubuntu
Ubuntu’s default desktop environment is Gnome. Sometimes people using Ubuntu want to try out KDE as well, though. Warning: having KDE and Gnome together means you’ll have cluttered application menus full of KDE applications and Gnome applications. You may also run into some other cosmetic problems (the KDE QT look taking over some of your Gnome themes, a hidden file on your desktop that keeps appearing in Gnome after you’ve just logged out of KDE). One of the most common problems is the new desktop environment “taking over” the boot splash screen. Here are some instructions to fix that problem. …
Que distro Linux usar?
Um artigo que pode ajudar a decidir aqui