Search Results

Search: Posts Made By: lio123
12,434
Posted By DC Slick
You can just 'mv' a file so example mv foo.txt...
You can just 'mv' a file so example
mv foo.txt foo.old
Would rename foo.txt to foo.old. Lol ooops you said to all files. Give me a second to get home, I'm driving
12,434
Posted By DC Slick
Is nova a subdirectory of the directory you're...
Is nova a subdirectory of the directory you're currently in? The period means "in the directory I'm currently in". So "./nova" means nova is a subdirectory of the directory your shell prompt is...
12,434
Posted By DC Slick
tova.bac is the directory name? And it's a...
tova.bac is the directory name? And it's a subdirectory of the directory you are currently in? If not that won't work. You need a semicolon ; after that last back slash. \;
12,434
Posted By yinyuemi
find ./ -name "*.c" -size 10 -exec cp . {}...
find ./ -name "*.c" -size 10 -exec cp . {} \;
12,434
Posted By yinyuemi
find -command -exec cp -command {} \;
find -command -exec cp -command {} \;
951
Posted By rdcwayx
Below command for your reference, which will find...
Below command for your reference, which will find out all files bigger than 100K
find /DIR -type f -size +100K
2,194
Posted By Corona688
cat *.c >> backup.bac
cat *.c >> backup.bac
17,885
Posted By cfajohnson
That doesn't do what you think it does. (I made...
That doesn't do what you think it does. (I made the same mistake when I first started shell scripting.)

The greater-than symbol, >, is a redirection operator, not a comparison operator (unless it...
4,679
Posted By Corona688
You are beginning to discover for yourself just...
You are beginning to discover for yourself just what's wrong with the C-shell. I think you missed some spaces, but the ad-hoc parser throws a wobbly and returns an error that has nothing to do with...
Showing results 1 to 9 of 9

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