Search Results

Search: Posts Made By: the.noob
1,990
Posted By the.noob
renaming
Hi, I wrote a script to rename all files in a directory from uppercase to lowercase and changing spaces to underscores:

#!/bin/sh

echo "rename"
read pathname
cd...
2
Sed
1,736
Posted By the.noob
Sed
Hi, is there a simple sed command to remove all of the following characters
# | < > $ &

I tried using

sed 's/"#|<>$&"//g'

it was worth a try but off course it did not work

Thank you in...
1,756
Posted By the.noob
display problem
hi i have written a script
#!/bin/sh

clear

menu()
{

......
echo "enter 4 for finding text in a files"
echo "input: \c"
}
switch()
{
read input
case $input in

.......

...
28,098
Posted By the.noob
sort by size in Mb and Kb
Hi
I am using the command below to list the 10 biggest directories and files in my present directory

du -hs * | sort +0 | tail -10

the output is

8K disk-space
16K rish
32K ...
1,389
Posted By the.noob
directories
how can I print the ten biggest directories in my home directory without the subdirectories along with the size of the directory

i am using bourne shell
Showing results 1 to 5 of 5

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