Search Results

Search: Posts Made By: arun508.gatike
22,019
Posted By Corona688
Since you're not going to be running rm in the...
Since you're not going to be running rm in the first place, there's hardly any need to "override" them as much as "utterly ignore" them.

function delete
{
local FILE
local LAST...
22,019
Posted By methyl
Looks like homework to me. Searching for...
Looks like homework to me. Searching for "recycle" on this site produces many similar examples and some detailed assignments.

If you are in the commercial world imho it is much better to have a...
22,019
Posted By in2nix4life
Not sure what OS or shell you're using, but if...
Not sure what OS or shell you're using, but if it's BASH, this may work for you. First create the recycle bin directory in your home directory:


mkdir ~/.recyclebin


Then add the following...
2,685
Posted By itkamaraj
google for "absolute path in linux" and "relative...
google for "absolute path in linux" and "relative path in linux"

And in your alias, apply the absolute path for 1.sh

absolute path is nothing but, the path of the from the root directory ( /...
2,685
Posted By itkamaraj
when ever you are setting the alias, you need to...
when ever you are setting the alias, you need to provide the absolute path


alias show='sh /absolute/path/of/1.sh'
2,029
Posted By itkamaraj
It will not wait for 1 minute. And it...
It will not wait for 1 minute.

And it executes the find command continously (infinite time) and keep on searching for 1 minutes older file.
2,657
Posted By methyl
Execute the script as: . ./scriptname That is...
Execute the script as:
. ./scriptname
That is dot-space-dot-slash-scriptname.
The alias will then be retained in the current environment.
2,657
Posted By jayan_jay
If you retain aliases permanently, then put an...
If you retain aliases permanently, then put an entry in corresponding profile files (based on shell) ..

Search results for setting permanent alias in unix.com .. Click here...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy