Some of Cpanel ssh command and Scripts

Here are some for your command when used SSH linux platform and Control is Cpanel

rm -rf ( file_name ) xóa file hoặc foder, bạn có thể xóa nhiều file cùng lúc bằng dấu cách, for example : rm -rf file1 file2 file3

rm -rf * ( delete all the files in the folder you're standing ) You can combine this command to delete a file format as you like, for example : rm -rf *.txt This command will delete all files ending .txt

ls -la ( Display the list of files and you are standing foder )

ls -alh ( display detailed file storage )

ls -alhS | more ( Display file size in order from largest to smallest )

ls -alh | grep file_name hoặc foder ( Advanced search for a file or foder desired )

cat file_name ( display file contents)

nano file_name ( edit the contents of any file )

Zip and unzip files

tar zcvf ( file_name.tar.gz file_name hoặc foder ) This tar file or foder compressed data back when you tar

tar cvf ( file_name.tar.gz file_name hoặc foder ) This command tar without compression or foder ( you can use this command to avoid CPU Server hay VPS High load when your server or VPS configurations are weak or high load )

tar zxvf ( file_name.tar.gz ) unpack the tar file

The command of Cpanel Scripts

/scripts/adddns Add a Dns Entry
/scripts/addfpmail Install Frontpage Mail Exts
/scripts/addservlets Add JavaServlets to an account (jsp plugin required)
/scripts/adduser Add a User
/scripts/admin Run WHM Lite
/scripts/apachelimits Add Rlimits (cpu and mem limits) to apache
/scripts/dnstransfer Resync with a master DNS Server
/scripts/editquota Edit A User’s Quota
/scripts/finddev Search For Trojans in /dev
/scripts/findtrojans Locate Trojan Horses
/scripts/findtrojans < /var/log/trojans
/scripts/fixtrojans < /var/log/trojans
/scripts/fixcartwithsuexec Make Interchange work with suexec
/scripts/fixinterchange Fix Most Problems with Interchange
/scripts/fixtrojans Run on a trojans horse file created by findtrojans to remove them
/scripts/fixwebalizer Run this if a user’s stats stop working
/scripts/fixvaliases Fix a broken valias file
/scripts/hdparamify Turn on DMA and 32bit IDE hard drive access (once per boot)
/scripts/initquotas Re-scan quotas. Usually fixes Disk space display problems
/scripts / initsuexec Turn on Suexec (probably a bad idea)
/scripts/installzendopt Fetch + Install Zend Optimizer
/scripts/ipusage Display Ipusage Report
/Scripts / killacct Terminate an Account
/scripts/killbadrpms Delete ”Security Problem Infested RPMS”
/scripts/mailperm Fix Various Mail Permission Problems
/scripts/mailtroubleshoot Attempt to Troubleshoot a Mail Problem
/scripts/mysqlpasswd Change a Mysql Password
/scripts/quicksecure Kill Potential Security Problem Services
/scripts/rebuildippool Rebuild Ip Address Pool
/scripts/remdefssl Delete Nasty SSL entry in apache default httpd.conf
/scripts/restartsrv Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)
/scripts/rpmup Syncup Security Updates from RedHat/Mandrake
/scripts/runlogsnow Force a webalizer/analog update
/scripts/secureit Remove non-important suid binaries
/scripts/setupfp4 Install Frontpage 4+ on an account
/scripts/simpleps Return a Simple process list. Useful for finding where cgi scripts are running from
/scripts/suspendacct Suspend an account
/scripts/sysup Syncup Cpanel RPM Updates
/scripts/ulimitnamed RH 6 only. Install a version of bind to handle many many zones
/scripts/unblockip Unblock an IP
/scripts/unsuspendacct UnSuspend an account
/scripts/upcp Update Cpanel
/scripts/updatenow Update /scripts
/scripts/wwwacct Create a New Account

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)