Archive

Posts Tagged ‘command’

List number of files in a particular folder – Linux Command

September 9th, 2009 No comments
List number of files in a particular folder – Linux Command Determine how many files there are in the current folder/directory: many ways ;) 1.  list files and folders: [root@server1]# du -a /folders/test | cut -d/ -f2 | sort | uniq -c | sort -nr 17616 data 2. list files and folders [root@server1]# ls -Ra1 /folders/test|grep -v ...

Delay in Batch File ( Batch File Help )

August 9th, 2009 No comments
Delay in Batch File ( Batch File Help ) The simple way to make a bat file wait a or delay a set period of time like 60 sec: ping -n 60 localhost >nul or ping -n 60 127.0.0.1 >nul Batch File Examples: @echo off start "command1" "c:\Program Files\...." ping -n 10 localhost >nul start "command2" "C:\Program ...

Configure your system to start Services at boot time ? – LINUX

July 29th, 2009 1 comment
Configure your system to start Services at boot time ? – LINUX Easy and fast, using chkconfig linux command. To configure your system to start Apache at boot time: chkconfig --levels 235 httpd on for manual start apache: /etc/init.d/httpd start create the system startup links for Proftpd and start it: chkconfig --levels 235 proftpd on /etc/init.d/proftpd start Chkconfig provides a ...
GoCache - ByREV-Cache v1.0 - live served in : 0.355591 sec (gzip)