The built-in echo command is an older form of printf command. Bash provides it for compatibility with almost all the shells. echo does not use a format string format like printf command It [ … ]
Executing a Shell Script
The easy way to run shell script in Linux or UNIX is to type the following commands. In the terminal type the following commands. $ sh myscript.sh OR $ bash [ … ]
Shell Script Comments
We should be aware of the fact that we might not be the only person reading our code. A lot of users and system administrators run script that were written [ … ]
Shebang
The #! Syntax used in scripts to indicate an interpreter for execution under UNIX/Linux operating systems. Most Linux shell and Perl/Python script starts with the following line. #!/bin/bashOR#!/usr/bin/perlOR#!/usr/bin/python It is [ … ]
File Type Attributes And File Permissions
Each and every content in Unix/Linux is a file and it supports a several different types of files. To determine the file type, specify the -/ optional to the /s command. [ … ]
Creating a Shell Script
We can create a shell script using the basic editors like the vi and nano. After creating a script file we can check the permission and attributes of the file. [ … ]
Getting Help In UNIX
To get the help in LINUX Command Line you can use the following commands followed by the command name to get displayed the information of the command detail. help man [ … ]
To Auto Compile in Angular JS (Ubuntu)
sudo sysctl fs.inotify.max_user_watches=524288 sudo sysctl -p –system
Unable To Access Ubuntu Terminal
1) Just opened xterm and fo to below path /usr/share/applications And ran the command DISPLAY=:0 gnome-terminal -x sleep 10 Just after this a Terminal appeared. And closed the both xterm [ … ]
How to mount and umount a file system in Linux
Mount a File System After formatting a partition we cannot add the data into the partition> In order to add the data in the partition it is required to be [ … ]