tagged [shell]

Linux: Which process is causing "device busy" when doing umount?

Linux: Which process is causing "device busy" when doing umount? Linux: Which process is causing "device busy" when doing umount?

10 Mar at 23:0

Difference between single and double quotes in Bash

Difference between single and double quotes in Bash In Bash, what are the differences between single quotes (`''`) and double quotes (`""`)?

Linux shell sort file according to the second column?

Linux shell sort file according to the second column? I have a file like this: How can I sort it by FamilyName?

9 Apr at 17:23

How to remove space from string?

How to remove space from string? In ubuntu bash script how to remove space from one variable string will be Want to remove all blank space.

1 Dec at 18:21

How to create a link to a directory on linux

How to create a link to a directory on linux How to create a link to an existing file or directory using a GNU Linux shell command?

28 Feb at 14:51

How to find the difference in days between two dates?

How to find the difference in days between two dates? A="2002-20-10" B="2003-22-11" How to find the difference in days between two dates?

11 Jul at 20:27

Running php script (php function) in linux bash

Running php script (php function) in linux bash How we run php script using Linux bash? php file `test.php` `test.php` contains:

1 Aug at 19:45

What are the uses of the exec command in shell scripts?

What are the uses of the exec command in shell scripts? Can anyone explain what are the uses of the exec command in shell scripting with simple examples?

24 Nov at 16:51

How to run a shell script on a Unix console or Mac terminal?

How to run a shell script on a Unix console or Mac terminal? I know it, forget it and relearn it again. Time to write it down.

11 Jan at 08:43

Getting the last argument passed to a shell script

Getting the last argument passed to a shell script `$1` is the first argument. `$@` is all of them. How can I find the last argument passed to a shell script?

10 Feb at 15:27