Registered since September 28th, 2017
Has a total of 3393 bookmarks.
Showing top Tags within 32 bookmarks
Tag selected: unix.
Saved by uncleflo on January 4th, 2019.
go-daemon Build Status GoDoc. Library for writing system daemons in Go. Now supported only UNIX-based OS (Windows is not supported). But the library was tested only on Linux and OSX, so that if you have an ability to test the library on other platforms, give me feedback, please (#26). Features: Goroutine-safe daemonization; Out of box work with pid-files; Easy handling of system signals; The control of a daemon.
daemon desktop chrome compatibility unix recommend backward jump commit os execution manage parent perform windows administrator development developer go golang support system writing status library feature signal control
Saved by uncleflo on January 4th, 2019.
If a user wants to execute a command, he has to first log in into a system. But some users in the system have /bin/false or /sbin/nologin set as a default shell in the /etc/password file. If I change /bin/bash to /bin/false in case of my user, I won't be able to log in into the system, so I also won't be able to run commands. But the shellless users do it anyway: How can a user without a shell execute a command? In POSIX, every running process has three User IDs (UIDs) associated with it; the real UID, which identifies the user who launched the process, the effective UID, which is used to determine what resources the process can access, and the saved Set-User-ID (SUID), which is the effective UID the process had when it started (at the point of the last exec() call). Of these, the effective UID is the most significant, since it is the one used when determining access control decisions regarding the process.
Saved by uncleflo on January 3rd, 2019.
Mounting an NFS (Network File System) share using a Unix-like operating system is pretty straight forward. But how do you mount an NFS share of a UNIX system from a Windows 10 machine? Keep reading to find out how. With that said let’s install the Services for NFS feature and mount an NFS share. The first thing we need to do is install the NFS Client which can be done by following the steps below: With the default options you will only have read permissions when mounting a UNIX share using the anonymous user. We can give the anonymous user write permissions by changing the UID and GID that it uses to mount the share.
mount tutorial click unix samba install scroll default share anonymous desktop windows step update user enterprise steps device instructions client write option machine file output feature version administration development developer workflow design files filesystem nfs howto linux server nas service operating system permission
Saved by uncleflo on October 23rd, 2018.
hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired to the ping(8) unix command, but hping isn't only able to send ICMP echo requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel, and many other features. While hping was mainly used as a security tool in the past, it can be used in many ways by people that don't care about security to test networks and hosts.
Saved by uncleflo on February 14th, 2017.
How do I find out all large files in a directory? There is no single command that can be used to list all large files. But, with the help of find command and shell pipes, you can easily list all large files.
Saved by uncleflo on January 27th, 2017.
It’s very easy, but also easy to forget how to convert to or from a DOS format file in Unix using “vim” (Vi iMproved), the Open Source “vi”. If the file is in DOS format and you want to convert to Unix, use the command:
Saved by uncleflo on November 4th, 2016.
What is ClearOS - is an operating system for your Server, Network, and Gateway systems. It is designed for home, small and medium businesses etc. Know how ClearOS works. ClearOS is an operating system for your Server, Network, and Gateway systems. It is designed for homes, small to medium businesses, and distributed environments. ClearOS is commonly known as the Next Generation Small Business Server, while including indispensable Gateway and Networking functionality. It delivers a powerful IT solution with an elegant user interface that is completely web-based. Simply put.. ClearOS is the new way of delivering IT.
Saved by uncleflo on October 28th, 2016.
A Bourne Shell Programming / Scripting Tutorial for learning about using the Unix shell. Learn Linux / Unix shell scripting by example along with the theory. I'll have you mastering Unix shell scripting in no time.
Saved by uncleflo on October 28th, 2016.
The primary reason for writing this document is that a lot of readers feel the existing HOWTO to be too short and incomplete, while the Bash Scripting guide is too much of a reference work. There is nothing in between these two extremes. I also wrote this guide on the general principal that not enough free basic courses are available, though they should be. This is a practical guide which, while not always being too serious, tries to give real-life instead of theoretical examples. I partly wrote it because I don't get excited with stripped down and over-simplified examples written by people who know what they are talking about, showing some really cool Bash feature so much out of its context that you cannot ever use it in practical circumstances. You can read that sort of stuff after finishing this book, which contains exercises and examples that will help you survive in the real world. From my experience as UNIX/Linux user, system administrator and trainer, I know that people can have years of daily interaction with their systems, without having the slightest knowledge of task automation. Thus they often think that UNIX is not userfriendly, and even worse, they get the impression that it is slow and old-fashioned. This problem is another one that can be remedied by this guide.
Saved by uncleflo on March 26th, 2015.
SELinux (Security Enhanced Linux) is a Mandatory Access Control system built on Linux's LSM (Linux Security Modules) interface. In practice, the kernel queries SELinux before each system call to know whether the process is authorized to do the given operation. SELinux uses a set of rules — collectively known as a policy — to authorize or forbid operations. Those rules are difficult to create. Fortunately, two standard policies (targeted and strict) are provided to avoid the bulk of the configuration work. With SELinux, the management of rights is completely different from traditional Unix systems. The rights of a process depend on its security context. The context is defined by the identity of the user who started the process, the role and the domain that the user carried at that time. The rights really depend on the domain, but the transitions between domains are controlled by the roles. Finally, the possible transitions between roles depend on the identity.
Saved by uncleflo on August 9th, 2014.
GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying to rescue the good parts first in case of read errors. Ddrescuelog is a tool that manipulates ddrescue logfiles, shows logfile contents, converts logfiles to/from other formats, compares logfiles, tests rescue status, and can delete a logfile if the rescue is done. Ddrescuelog operations can be restricted to one or several parts of the logfile if the domain setting options are used. The basic operation of ddrescue is fully automatic. That is, you don't have to wait for an error, stop the program, read the log, restart it from a new position, etc. If you use the logfile feature of ddrescue, the data is rescued very efficiently, (only the needed blocks are read). Also you can interrupt the rescue at any time and resume it later at the same point.
Saved by uncleflo on August 9th, 2014.
GNU Parallel For people who live life in the parallel lane. GNU parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU parallel can then split the input and pipe it into commands in parallel.
Saved by uncleflo on July 15th, 2014.
CATIA (Computer Aided Three-dimensional Interactive Application) is a multi-platform CAD/CAM/CAE commercial software suite developed by the French company Dassault Systèmes directed by Bernard Charlès. Written in the C++ programming language, CATIA is the cornerstone of the Dassault Systèmes software suite. CATIA started as an in-house development in 1977 by French aircraft manufacturer Avions Marcel Dassault, at that time customer of the CAD/CAM CAD software to develop Dassault's Mirage fighter jet. It was later adopted in the aerospace, automotive, shipbuilding, and other industries.
Saved by uncleflo on June 20th, 2014.
Simple tool to download video lectures from edx.org. It requires the Python interpreter (> 2.6), youtube-dl, BeautifulSoup4 and it's platform independent. It should work fine in your Unix box, in Windows or in Mac OS X. We use youtube-dl to download video lectures from Youtube, with the main idea being that "we don't want to reinvent the wheel". Make sure you have youtube-dl installed in your system. Also, since Youtube changes its layout frequently, make sure that the version of youtube-dl that you have installed is the latest. If in doubt, run youtube-dl --update.
Saved by uncleflo on September 15th, 2013.
A shell script is a sequence of commands for which you have a repeated use. This sequence is typically executed by entering the name of the script on the command line. Alternatively, you can use scripts to automate tasks using the cron facility. Another use for scripts is in the UNIX boot and shutdown procedure, where operation of daemons and services are defined in init scripts. To create a shell script, open a new empty file in your editor. Any text editor will do: vim, emacs, gedit, dtpad et cetera are all valid. You might want to chose a more advanced editor like vim or emacs, however, because these can be configured to recognize shell and Bash syntax and can be a great help in preventing those errors that beginners frequently make, such as forgetting brackets and semi-colons.
Saved by uncleflo on September 8th, 2013.
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
Saved by uncleflo on August 31st, 2013.
The special file /dev/initrd is a read-only block device. Device /dev/initrd is a RAM disk that is initialized (e.g. loaded) by the boot loader before the kernel is started. The kernel then can use the the block device /dev/initrd's contents for a two phased system boot-up. In the first boot-up phase, the kernel starts up and mounts an initial root file-system from the contents of /dev/initrd (e.g. RAM disk initialized by the boot loader). In the second phase, additional drivers or other modules are loaded from the initial root device's contents. After loading the additional modules, a new root file system (i.e. the normal root file system) is mounted from a different device.
Saved by uncleflo on August 30th, 2013.
The LDP Wiki is the entry point for any work in progress. LDP is a loosely knit team of volunteers who provide documentation for many aspects of Linux. There are several forms of documentation: Guides, HOWTOs, man pages, and FAQs.
Saved by uncleflo on August 6th, 2013.
Traditional Unix systems keep user account information, including one-way encrypted passwords, in a text file called ``/etc/passwd''. As this file is used by many tools (such as ``ls'') to display file ownerships, etc. by matching user id #'s with the user's names, the file needs to be world-readable. Consequentally, this can be somewhat of a security risk.
Saved by uncleflo on July 25th, 2013.
Before we get into setting up Linux networking on a Debian system, we'll cover the basics of how to set up a network with both Windows and Linux systems and how to make it a "private" network. Here the term "private" may not mean what you think it does. It has to do with the IP addresses you use on your home or business network. You'll then understand the value of having a broadband router (for home networks), proxy/NAT server, or a firewall system which also performs the proxy/NAT function on your network.
Saved by uncleflo on January 10th, 2013.
The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). Literally speaking the epoch is Unix time 0 (midnight 1/1/1970), but 'epoch' is often used as a synonym for 'Unix time'. Many Unix systems store epoch dates as a signed 32-bit integer, which might cause problems on January 19, 2038 (known as the Year 2038 problem or Y2038).
Saved by uncleflo on January 3rd, 2013.
One of the most asked features for Samba is a graphical user interface to help with configuration and management, there are now several GUI interfaces to Samba available, one of these tools is samba server configuration tool. "The Samba Server Configuration Tool is a graphical interface for managing Samba shares, users, and basic server settings. It modifies the configuration files in the /etc/samba/ directory. Any changes to these files not made using the application are preserved." In our previous post we showed you how to configure samba via command line, today we will see together how to configure samba using a graphical interface in Ubuntu
Saved by uncleflo on December 19th, 2012.
On the fileserver I run, I use samba to conveniently access my files. I like Samba. I can mount it on any machine I run and access my files like it’s any other filesystem, but when it comes to sharing files to other (anonymous) users, Samba has to cope with some ugly Windows legacy. After all, Samba is just an open source implementation of SMB/CIFS which Windows calls “Windows File Sharing”. Let’s look at the differences and how to cope with them.