Blogging Fusion Blog Directory the #1 blog directory and oldest directory online.

errorBits - Tutorials Downloads Tools News

Home errorBits - Tutorials Downloads Tools News

errorBits - Tutorials Downloads Tools News

Rated: 4.00 / 5 | 891 listing views errorBits - Tutorials Downloads Tools News

United-States/New-York

 

General Audience

  • errorBits
  • June 22, 2017 04:10:00 AM
SHARE THIS PAGE ON:

A Little About Us

Whenever you want to learn more about Computers, Technology, Linux, Windows, Networking, Cyber Security and Hacks you can come and visit our website, you will find here the greatest topics, nice community, people ready to help you and to respond to your questions. Join us now!

Listing Details

Listing ID: 32397 Get VIP Status?

Website URL: https://errorbits.com/

: Report Blog Listing This is a free listing which requires a link back!

Google Pagerank: 1

Website Tags: Internet - Linux - RedHat - Internet - Technology - CentOS - eLearning - https://errorbits.com/

Categories:
Computer Blogs

Audience Rating: General Audience

Platform: WordPress

Listing Statistics

Add ReviewMe Button

Review errorBits - Tutorials Downloads Tools News at Blogging Fusion Blog Directory

Add SEO Score Button

My Blogging Fusion Score

Google Adsense™ Share Program

Alexa Web Ranking: N/A

Alexa Ranking - errorBits - Tutorials Downloads Tools News

Subscribe to errorBits - Tutorials Downloads Tools News

Microsoft’s Newest OS is Based on Linux – OMG! Ubuntu!

Microsoft loves Linux so much that its latest operating system is based on Linux. Azure Sphere OS is designed to run on embedded devices and IoT. Source: Microsoft’s Newest OS is Based on Linux – OMG! Ubuntu!

Microsoft loves Linux so much that its latest operating system is based on Linux. Azure Sphere OS is designed to run on embedded devices and IoT.

Source: Microsoft’s Newest OS is Based on Linux – OMG! Ubuntu!



Simple Linux Script

First Linux Script In this first script I will show you all the details and preparations that you will need to do prior creating an running your first Linux script. I will use VIM text editor (see the tutorial in the link), but you can use any editor that you might like. Go to the...

Linux_logo_errorbits.comFirst Linux Script

In this first script I will show you all the details and preparations that you will need to do prior creating an running your first Linux script. I will use VIM text editor (see the tutorial in the link), but you can use any editor that you might like.

Go to the folder in which you want to create the file for the script and type:

vim test.sh

The editor will create a new file called test.sh (if the file already exist, it will be opened for editing), then input the following commands in the file:

#!/bin/sh
echo “This is my first Linux script”
echo “I will learn more advanced Linux scripts…”
echo “… but a little bit later”

Save your script and exit editor.

Make sure that your file is allowed to run by running chmod command (see the permissions tutorials: File permissions in Linux and Permissions in Linux: Octal/Absolute mode):

chmod +x test.sh

Run the script file with:

./test.sh

 

 


Useful links:

Most used Linux commands

Linux Directory Map / Structure

Introduction to Linux

Using Help in Linux

Download and install Oracle VirtualBox

How to install CentOS on Oracle VirtualBox



Permissions in Linux: Octal/Absolute mode

Octal/Absolute mode Permissions Are specified by adding them in numeric/digit mode, as they are kept in file’s inode. This way previous permission settings are lost and overwritten by the new ones. Permissions of a file are stored in inode as bits, and they form a construct of 12 bits as follows: (3 groups * 3...

Linux_logo_errorbits.comOctal/Absolute mode Permissions

Are specified by adding them in numeric/digit mode, as they are kept in file’s inode. This way previous permission settings are lost and overwritten by the new ones.

Permissions of a file are stored in inode as bits, and they form a construct of 12 bits as follows:

(3 groups * 3 basic permissions) + 3 special permissions = 12 bits in total

Let’s say we have a file with the following permissions: rs-rSxr–

SUID SGID sticky | r w x | r w x | r w x
1 1 0 |  1 1 0 |  1  1  1 | 1 1 0
22 21 20 | 22 21 20 |  22 21 20 | 22 21 20
4 2  0 |  4 2 0 | 4 2  1 |  4 2 0
   6   |     |     |  

Each permission has a value assigned, to get a clear view, take a look at the tables below:

  • Basic Permissions
Octal value  File permission set  Permission details 
 0  —  no permission
1  –x  execute only
 2  -w-  write only
 3  -wx  write & execute
 4  r–  read only
 5  r-x  read & execute
 6  rw-  read & write
 7  rwx  read, write & execute
  • Special Permissions
Octal value  Special permissions set 
 1  Sticky
 2  SetGUID/SGID
 4  SetUID/SUID

Usually, octal mode is the fastest and easiest way to set permissions on files/folders, for the example above we have to type in  the command line:

chmode -R 6676 /file/location/example.txt

If more guidance is needed or something is missing, fell free to ask.


Useful links:

Most used Linux commands

Linux Directory Map / Structure

Introduction to Linux

Using Help in Linux

Download and install Oracle VirtualBox

How to install CentOS on Oracle VirtualBox



Listen to Tidal Music from the Command Line – OMG! Ubuntu!

Tidal subscribers have a new way to listen to the high-fidelity music streaming service while using the Linux desktop. The Spotify rival touts better sound Source: Listen to Tidal Music from the Command Line – OMG! Ubuntu!

Tidal subscribers have a new way to listen to the high-fidelity music streaming service while using the Linux desktop. The Spotify rival touts better sound

Source: Listen to Tidal Music from the Command Line – OMG! Ubuntu!



Ubuntu 17.10.1 ISOs available with corrupting BIOS fix

Canonical has disabled the SPI driver in the latest version of Ubuntu in order to stop BIOSes on computers being corrupted. The new update is classified as Ubuntu 17.10.1 and is supported until July. Source: Ubuntu 17.10.1 ISOs available with corrupting BIOS...

Canonical has disabled the SPI driver in the latest version of Ubuntu in order to stop BIOSes on computers being corrupted. The new update is classified as Ubuntu 17.10.1 and is supported until July.

Source: Ubuntu 17.10.1 ISOs available with corrupting BIOS fix



GIT Commands

Git Commands List Installation: sudo apt install git – installs GIT from repositories; Configuration: git config –global user.name “Your Name” – the name that will be added to commits and tags; git config –global user.email “you@example.com” – the e-mail address that will be added to commits and tags; git config –global color.ui auto – enables...

Linux_logo_errorbits.comGit Commands List

Installation:
sudo apt install git – installs GIT from repositories;

Configuration:
git config –global user.name “Your Name” – the name that will be added to commits and tags;
git config –global user.email “you@example.com” – the e-mail address that will be added to commits and tags;
git config –global color.ui auto – enables the colors in GIT output;

Starting:
git init [project name] – creates a new local repository;
git clone [project url] – gets a project from remote repository;

Common:
git status – shows the status of your work;
git diff – shows the changes;
git checkout – discards changes in working directory;
git add – adds a file to staging area;
git reset [file] – gets file back from staging area;
git commit [-m “message”] – commits the changes added to staging area;
git rm [file] – removed the file from working directory and adds deletion to staging area;
git stash – puts changes into stash;
git stash pop – applies the changes in the stash and clears its contents;
git stash drop – clears the stash contents;

Branching:
git branch [-a] – lists all branches in repository;
git branch [name] – creates a new branch;
git checkout [-b] [name] – changes working directory to the mentioned one;
git merge [from name] – Combines the specified branch with the current one;
git branch -d [name] – removes branch;

Tags:
git tag – lists tags;
git tag [name] [commit *] – creates a tag for current commit;
git tag -a [name] [commit *] – creates a tag object for current commit;
git tag -d [name] – removes a tag from repository;

Review:
git log [-n count] – lists commit history;
git log –oneline –graph –decorate – shows references and history graph;
git log ref.. – shows commits that are present on current branch and not merged into ref;
git log ..ref – lists commits that are present on ref and not merged into current branch;
git reflog – list operations made on local repository;

Sync:
git fetch [remote] – gets changes from the remote but does not update the branches;
git fetch –prune [remote] – removes refs from remote;
git pull [remote] – gets changes from the remote and combines current branch with it;
git push [–tags] [remote] – pushes local changes to remote;
git push -u [remote] [branch] – pushes local branch to remote repository;

Reverting:
git reset [–hard] [target reference] – switches current branch to the target reference;
git revert [commit *] – createa a new commit, reverting changes from the specified commit;

Ignoring:
cat .gitignore
#Contents of .gitignore
/logs/*
!logs/.gitkeep
/tmp
*.swp


Useful links:

How to use GIT in Linux

Most used Linux commands

Linux Directory Map / Structure

Introduction to Linux

Using Help in Linux

Download and install Oracle VirtualBox

How to install CentOS on Oracle VirtualBox



Link to Category: Computer Blogs

Or if you prefer use one of our linkware images? Click here

Social Bookmarks


Available Upgrade

If you are the owner of errorBits - Tutorials Downloads Tools News, or someone who enjoys this blog why not upgrade it to a Featured Listing or Permanent Listing?


Get listed in one of the most popular directories online, and start generating quality traffic.