Search Results

Search: Posts Made By: Nsharma3006
6,396
Posted By RudiC
Please use code tgs as required by forum rules! ...
Please use code tgs as required by forum rules!

The rc_1 is defined in that snippet you post, by assigning the last command's (or pipe's) exit code to it. Read the man page of your shell.
6,396
Posted By Corona688
It removes /path/to/ from /path/to/file and just...
It removes /path/to/ from /path/to/file and just gives you 'file'.
6,396
Posted By Corona688
I think it must be find /data/path, not...
I think it must be find /data/path, not find/data/path. Also, -print -quit not -print-quit

What it does is it looks inside /data/path for all files named 'filename.txst' (did you mean txt?) and...
6,396
Posted By dagamier
Returns the base file name of a string parameter....
Returns the base file name of a string parameter.

Basically it strips out the extra stuff and just gives you the file name:


basename /u/dee/desktop/cns.boo

returns cns.boo

You can do...
Showing results 1 to 4 of 4

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