background preloader


syslog(3): send messages to system logger syslog(3): send messages to system logger Name closelog, openlog, syslog, vsyslog - send messages to the system logger Synopsis #include <syslog.h> void openlog(const char *ident, int option, int facility); void syslog(int priority, const char *format, ...); void closelog(void); #include <stdarg.h> void vsyslog(int priority, const char *format, va_list ap); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): vsyslog(): _BSD_SOURCE Description closelog() closes the descriptor being used to write to the system logger. openlog() opens a connection to the system logger for a program. The option argument specifies flags which control the operation of openlog() and subsequent calls to syslog(). syslog() generates a log message, which will be distributed by syslogd(8). The function vsyslog() performs the same task as syslog() with the difference that it takes a set of arguments which have been obtained using the stdarg(3) variable argument list macros. option The option argument to openlog() is an OR of any of these: LOG_CONS
DebugBreak in Unix/ Linux?
Linux world

Linux Linux Chegou o Netbeans 8, um dos melhores IDEs para programação O mundo da programação de aplicações está em constante mudança. Se há uns anos atrás uma aplicação nativa era o ideal para correr numa máquina, hoje em dia a vertente Web e os dispositivos móveis mudaram por completo todo o paradigma associado ao desenvolvimento de aplicações. Quando se fala em plataformas para desenvolvimento, o Netbeans da Oracle é sem duvida uma das mais robustas, completas e populares pois dá suporte a um conjunto vasto de tecnologias. Hoje vamos conhecer as novidades do Netbeans 8. Leia a notícia completa » PiPplware – Algumas dicas de utilização (Parte II) Foi no passado dia 10 de Março que o Pplware deu a conhecer o PiPplware, uma distribuição portuguesa para o Raspberry PI. Esta distribuição foi desenvolvida pelo nosso leitor Diogo Santos e tem como principal objectivo a simplicidade de uso, não sendo necessário grandes conhecimentos técnicos de linux para se poder usufruir das suas capacidades.
Command line tricks for smart geeks Everyone knows the answer to the question of life, the universe and everything is "42", but for the first time we can reveal the question. It is this: how many command-line tricks must a man memorise? You see, graphical user interfaces are all well and good, but when you want to get real work done it's time to switch to the terminal. And so, we squeezed our brain cells, dug through dusty piles of old issues of Linux Format, and sat reflecting quietly over many a pint of ale, all with the goal of bringing you this: 42 awesome new command line tricks we think you ought to commit to memory. So, strap yourself in and get ready for command-line heaven: it's time to kick ass and chew bubble gum, and we're all out of gum... (PS: if you're looking for general Linux tips, check out our previous two articles: Linux tips every geek should know and More Linux tips every geek should know. Make your own Bash wormholes Before we look at how to use it, it's worth going over how we typically see pipes. . . Command line tricks for smart geeks
4 Strange And Disturbing Linux Distros You Probably Won’t Be Installing Linux is the operating system of choice for those who decide to go their own way. The open source model means the building blocks are there for you if you decide that you need your very own operating system. This has resulted in more Linux distros than you could ever imagine. I’ll be saving the very worst for last, so prepare yourselves… Ubuntu Satanic Edition The distro of choice for satanists the world over, Ubuntu Satanic Edition is proof that there’s an Ubuntu distro for everyone. If you’d like to try out Satan’s own OS then you’ll have to download a live CD, which the team have predictably dubbed the “undead CD”, though I can’t really see why you’d be doing that. Ubuntu Satanic Edition has received numerous complaints and messages of discouragement. Hannah Montana Linux While most people won’t find Hannah Montana Linux anywhere near as “offensive” as the previous distro, it’s still probably not going to be your OS of choice unless you watch way too much Disney channel. Red Star OS 4 Strange And Disturbing Linux Distros You Probably Won’t Be Installing

40 Linux Shell Commands for Beginners | A Platform to Express Your Ideas and Thoughts | fortystones Linux has more than 650 commands and every command has its own set of options all performing different operations. Going through each and every one of these commands will be a very tedious task. However limiting yourself to only a few of them is never an option. The trick here to learning all these commands, is to categorise them according to their function. By doing this, you will know atleast the basic commands and have some measure of control over the Linux command line. When you go through these commands, you will be able to perform different function as per your need in the Linux command line. Basic CommandsEditorUser AccountNetwork CommandsArchive CommandsHelp CommandsPackage Management UtilitiesProcess Commands The ‘must’ know commands fall in this category. Directory Commands pwd : Print working directorymkdir : Create directoriescd : Change the current directoryrmdir : Remove directories File Commands view contents of a short file, cat is recommended. I use ‘Vim’ frequently. $ man ls 40 Linux Shell Commands for Beginners | A Platform to Express Your Ideas and Thoughts | fortystones
La mejor distribución Linux En nos cuentan cuál es, según su criterio, la mejor distribución Linux dependiendo del uso que le vayamos a dar. Útil para aquellos que quieran empezar en el mundo Linux y no sepan qué distribución elegir. Si es el caso, también te puede interesar el artículo sobre las 10 distros Linux más populares del mercado que escribí hace unos meses. Mejor distribución Linux para escritorio Ubuntu vence por estrecho margen a sus más inmediatos competidores, Fedora y openSUSE, principalmente porque sus desarrolladores siempre tienen en mente como prioridad la experiencia del usuario final. Además, el nivel de soporte de Ubuntu para sus productos de escritorio es claramente superior, lo que es muy importante en este clase de distribuciones, que son las que la mayoría de usuarios que empiecen a usar Linux utilizarán. Mejor distribución Linux para portátiles Mejor distribución Linux para la empresa Mejor distribución Linux para servidores de empresa Mejor distribución Linux LiveCD La mejor distribución Linux
Que Linux Es Mejor???
BaBE - Bash By Examples; Your significant Linux scripting tutorial;; The easiest way to get your feet wet with a programming language is to start with a program that simply outputs a trivial text, the so-called hello-world-example. Here it is for bash: create a file named hello in your home directory with the following content: #!/bin/bashecho "Hello, world!" open a console, enter cd chmod +x hello now you can execute your file like this: # . or like this: # bash hello Hello, world! You see - the output of your shell program is the same as if you had entered the commands into a console. In your shell script you can call every command that you can call when opening a console: echo "This is a directory listing, latest modified files at the bottom:" ls -ltr echo "Now calling a browser" firefox echo "Continuing with the script" input To show you how to deal with variables, we will now write a script that asks for your name and greets you: echo "what is your name? echo "$name" or echo "${name}" read name #! #! BaBE - Bash By Examples - LinuxIntro BaBE - Bash By Examples - LinuxIntro

At first blush, Conky is a system monitor that will display pertinent information on your desktop. When you peel past the top layer, you will see Conky is actually much more than that. Not only can Conky display information about your CPU, memory, swap, disk space, temperature, top, upload, download, system messages… it can display things like world time, calendars, email notifications, weather, battery status… the list goes on and on. Conky works in conjunction with themes. A theme instructs Conky what to display and how to display it. I will show you how to install Conky and then how to make use of one of the many themes to configure Conky to suit your needs. Installation Because we’re working with a Ubuntu-based distribution, the installation of Conky couldn’t be easier. Adding a Theme Naturally, you’re not going to want to stick with that generic out-of-the-box theme. To install the qlocktwo-conky theme, you need to follow these instructions: Configuring Conky Get GUI Conky Rocks How to Install and Configure Conky | The source for Linux information How to Install and Configure Conky | The source for Linux information
Why and How to Use Ring Instead of Skype on Linux | The source for Linux information I'm fed up with the word "alternative." There, I said it. When you use alternative to refer to an open source application, you are sure to get on my wick. "Linux is an alternative to Windows," "GIMP is an alternative to Photoshop," "LibreOffice is an alternative to Microsoft Office," and so on. It is like when you say Ring is an alternative to Skype. Installing Installing Ring is pretty straightforward on many Linux distros. On the likes of Debian and Ubuntu, you add a repository, update, and install using APT. sudo sh -c "echo 'deb ring main' > /etc/apt/sources.list.d/ring-nightly-man.list"sudo apt-key adv --keyserver --recv-keys A295D773307D25A33AE72F2F64CD5FA175348F84 sudo apt-get update && sudo apt-get install ring-gnome For the latest Ubuntu (16.04 at the moment of writing), you would do this: Likewise for Fedora: sudo dnf config-manager sudo dnf install ring-gnome Installing on Android Getting Ring to work on Android is also quite easy. Why and How to Use Ring Instead of Skype on Linux | The source for Linux information
Get started | Meteor Get started | Meteor Current version: 1.2.1 Meteor supports OS X, Windows, and Linux, and is simple to install. The command line installer supports Mac OS X 10.7 (Lion) and above, and Linux on x86 and x86_64 architectures. On OS X or Linux? Install the latest official Meteor release from your terminal: curl | sh On Windows? Download the official Meteor installer What Next? Now that you've installed Meteor, check out the tutorial that teaches you how to build a collaborative todo list app while showing you Meteor's most exciting and useful features. Get on the mailing list - the latest Meteor news, new releases, critical security alerts, and nothing else.
These are tools for blockchain developers. The command line tools will allow you to connect your server to or run your application on the Ethereum blockchain – or your own private blockchain. For security purposes, three independent implementations were created for Ethereum. The clients have almost identical functionality, so the one you pick is left to personal choice on platform, language and what your planned use is for the network. If you are building a business that needs to have maximum uptime guarantees to the Ethereum network, we recommend that you run at least one instance of both clients to ensure reliability. Geth The Go implementation is called Geth. Install on Mac Install Homebrew and make sure it's up to date: brew update brew upgrade Then use these commands to install ethereum: brew tap ethereum/ethereum brew install ethereum For more, see the full documentation on Mac OSX Geth Windows chdir <path to extracted binary> open geth.exe Install on Linux On Ubuntu, execute these commands: Install the Command Line Tools
Pixiewps, Reaver & Aircrack-ng Wireless Penetration Testing Tool Updates | Kali Linux A short while ago, we packaged and pushed out a few important wireless penetration testing tool updates for aircrack-ng, pixiewps and reaver into Kali’s repository. These new additions and updates are fairly significant, and may even change your wireless attack workflows. Here’s a short run-down of the updates and the changes they bring. Pixiewps – Bruteforce WPS pins in seconds In the correct environment, pixiewps dramatically speeds up the WPS brute force attack time from what was taking up to 12 hours to a a few seconds. Aircrack-ng v1.2 RC2 Update Aircrack-ng is the de facto penetration tool suite – essential for any wireless penetration tests or assessments. pixiewps reaver aircrack-ng Also notice the new naming convention of the wireless virtual interfaces – wlanXmon, as opposed to monX. Goodbye mon0, hello wlan0mon! More verbose airmon-ng output When things are going right, everything is great! Updated Reaver WPS attack tool The Kali Community Rocks Stay fresh with Kali-Linux
Useful Commands for Kali Linux | kali linux tutorial New to Kali Linux ? or to Linux world at all ... yes welcome to this new experience be sure you will enjoy once you start to try ... and why not to try over and over we are learning at end and this is the most import part of it, commands and commands almost everything in Linux need a command we are not in Windows to click we are in Linux to write! so here is a list for some of the basic commands for Kali Linux lets start with details of commands1.Command: lsThe command “ls” stands for (List Directory Contents), List the contents of the folder, be it file or folder, from which it runs. exp: root@Kali:~# sudo add-apt-repository ppa:tualatrix/ppa Note: sudo allows user to borrow superuser privileged, while a similar command ‘su‘ allows user to actually log in as superuser. 4. exp: root@Kalitut:~# mkdir Kalitut Read (r)=4Write(w)=2Execute(x)=1 rwxr-x--x root@Kali:~# chmod 777 only read and write permission to all three. root@Kalitut:~# chmod 666 7. 8. 10.
Linux related

Regular expressions 4.1.1. What are regular expressions? A regular expression is a pattern that describes a set of strings. Regular expressions are constructed analogously to arithmetic expressions by using various operators to combine smaller expressions. The fundamental building blocks are the regular expressions that match a single character. 4.1.2. A regular expression may be followed by one of several repetition operators (metacharacters): Table 4-1. Two regular expressions may be concatenated; the resulting regular expression matches any string formed by concatenating two substrings that respectively match the concatenated subexpressions. Two regular expressions may be joined by the infix operator "|"; the resulting regular expression matches any string matching either subexpression. Repetition takes precedence over concatenation, which in turn takes precedence over alternation. 4.1.3. In basic regular expressions the metacharacters "?"
Use multiple CPU Cores with your Linux commands -- awk, sed, bzip2, grep, wc, etc. | RankFocus - Systems and Data Here’s a common problem: You ever want to add up a very large list (hundreds of megabytes) or grep through it, or other kind of operation that is embarrassingly parallel? Data scientists, I am talking to you. You probably have about four cores or more, but our tried and true tools like grep, bzip2, wc, awk, sed and so forth are singly-threaded and will just use one CPU core. To paraphrase Cartman, “How do I reach these cores”? Let’s use all of our CPU cores on our Linux box by using GNU Parallel and doing a little in-machine map-reduce magic by using all of our cores and using the little-known parameter –pipes (otherwise known as –spreadstdin). cat bigfile.bin | bzip2 --best > compressedfile.bz2 Do this: cat bigfile.bin | parallel --pipe --recend '' -k bzip2 --best > compressedfile.bz2 Especially with bzip2, GNU parallel is dramatically faster on multiple core machines. grep pattern bigfile.txt do this: cat bigfile.txt | parallel --pipe grep 'pattern' or this: do this! wc -l bigfile.txt Enjoy!
GNU Parallel tutorial
30 Best Linux Apps and Software For 2015
The Best Linux Software
Mounting Storage
Start containers automatically - Docker
How to Share Files Between Windows and Linux
Remove broken indicator from XFCE indicator panel? - Linux Mint Forums
Geen of slecht draadloos internet (wifi) in Ubuntu of Linux Mint - Computertip
Linux General Tips & Tricks

Cub Linux Is a Worthy Chromixium Offspring
Cub Linux - Wikipedia
Linux Systems

Linux Users and Groups
An Introduction to Linux Permissions
linux - How to make MySQL table name case insensitive in Ubuntu?
Come creare una chiavetta Usb multiboot - PC Professionale
SARDU - Multi Boot USB pendrive e CD o DVD Builder
YUMI - Multiboot USB Creator | USB Pen Drive Linux
MultiBoot Linux su chiavetta USB

dhcpd6 server
Linux & stuff

PS3 Linux - GPU computing