vi file +I After inserting and editing, first "ESC",
the display below insert will disappear, enter:
:wq save and exit. (write+quit to write and exit)
or capitalized ZZ to save and exit
Specify to delete a specific file:
rm -f *.sql *.txt *.del
rm -rf directory name
the display below insert will disappear, enter:
:wq save and exit. (write+quit to write and exit)
or capitalized ZZ to save and exit
Specify to delete a specific file:
rm -f *.sql *.txt *.del
rm -rf directory name
(Pay special attention to using rm -rf, there is no recycle bin in linux, operate with caution!!!)
:q! to exit without saving,
more xxx.sql
more xxx.log
cat , grep search and view files such as: history|grep sqlplus; ps -ef|grep tomcat; ps -ef|grep oracle
chmod 777 databash.sh add permissions