Search Results

Search: Posts Made By: krlos07
2,078
Posted By krlos07
i have changed script #!bin/bash cd $1 ls...
i have changed script
#!bin/bash
cd $1
ls -lS $1

I can to see the files for descending size /miscript.sh /root for example.
How i can to place at the end of the command, if I place -d one...
3,667
Posted By krlos07
Ordenar Carpetas o Archivos
Hola tengo el siguiente script

#!bin/bash
cd $1
ls -lS $1
Me muestra de orden por tamaņo de archivos de mayor a menor ./miscript.sh /root por ejmplo. Como puedo asignarle si al final de...
2,078
Posted By krlos07
For example when i execute the command sh...
For example when i execute the command sh scriptejemplo.cap -d /home one arranges only the folders.

sh scriptejemplo.cap -a /home one arranges only the files. of the directory home.
3,537
Posted By krlos07
Script Send Mail by Parameters avec Attached file
Hi i have a script for show the information files. ls -l

how do you for to place this result in a file of text and to send it attached for e-mail.

The information of the mail must be in...
2,078
Posted By krlos07
hi When I execute the script the following...
hi When I execute the script the following mistake goes out.
root@ubuntu:~# sh scrph.cap
scrph.cap: 6: ls: not found
scrph.cap: 6: grep: not found
2,078
Posted By krlos07
sorting files or folders
I have the small script to arrange files of a descending way.
ls -l |sort -r -k4
i wanted for example if I place -d one arranges only the folders or -a to arranges only the files.

Cheers
Showing results 1 to 6 of 6

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