chmod Command: Run Shell Script In Linux Set an executable permission using the chmod command as follows: [code]chmod +x file.sh[/code] Now your can run your .sh file as follows: Execute Shell Script Using . ./ (dot space dot slash) [code]./file.sh[/code] You can also execute a unix shell script by specifying the interpreter in the command …
Tag: Linux
Permanent link to this article: https://blog.openshell.in/2013/03/execute-shell-file-in-linux-server/
Jan 01
How to reload your bashrc file
How to reload your bashrc file Here’s a quick way to reload your bachrc file without having to invoke a new shell. [code] [root@user]# source ~/.bashrc or [root@user]# . ~/.bashrc [/code]
Permanent link to this article: https://blog.openshell.in/2013/01/how-to-reload-your-bashrc-file/
Dec 04
How do I find out If Running Kernel Is 32 Or 64 Bit?
Target Audience: Beginners of Linux/Unix Users Many beginners of Linux/Unix users might struggle or uncertain when they download softwares for Linux/Unix to choose correct software according to its kernel ie. 32 bit or 64 bit. The uname command gives you the solution. Execute the following command in terminal: $ uname -a If the result contains …
Permanent link to this article: https://blog.openshell.in/2010/12/how-do-i-find-out-if-running-kernel-is-32-or-64-bit/
Dec 03
Using find command in linux
Using find command in linux find is a powerful command in linux. If u understand it then u can do most thing using it. but in this post i am not going to teach the full power of it but some basic usage. This is a simple one finding any .txt file in the home …
Permanent link to this article: https://blog.openshell.in/2010/12/using-find-command-in-linux/
Dec 01
Linux gzip and gunzip commands
gzip: gzip compresses files in linux and unix. If given a file as an argument, gzip compresses the file, adds a “.gz” suffix, and deletes the original file. With no arguments, gzip compresses the standard input and writes the compressed file to standard output( use “>” to redirect to a file). Examples:Compress the file named …
Permanent link to this article: https://blog.openshell.in/2010/12/linux-gzip-and-gunzip-commands/
Nov 22
UBUNTU the Best Linux Desktop Distribution
There are a lot of Linux distributions that have the primary focus of becoming the next best desktop replacement for Windows or OS X. Canonical’s UBUNTU is the great and most contentious group of distro which offers 4 kinds of desktop and special edition for laptops and Live Distros. you can download ubuntu from the …
Permanent link to this article: https://blog.openshell.in/2010/11/best-linux-desktop/
Nov 22
Linux and its Advantages
Linux is an operating system that was initially created as a hobby by a young student, Linus Torvalds, at the University of Helsinki in Finland. Linus had an interest in Minix, a small UNIX system, and decided to develop a system that exceeded the Minix standards. He began his work in 1991 when he released …
Permanent link to this article: https://blog.openshell.in/2010/11/linux-and-its-advantages/