linux软连接、类似window的快捷方式可以跨磁盘块(硬连接不可以)。

#软硬链接  
ln -sf  source  target  
ln  source target  #硬链接不能跨分区

#批量解压文件 -n1 一条一条进行
ls *.tar.gz | xargs -n1 tar zxf 
unzip -o xx.zip   -d /tmp/  

#杀掉用户的全部进程
lsof -u weblogic | xargs kill -9

#释放cached内存,cache缓存过大
sync   #把在内存中未写到磁盘,写到磁盘
echo 3 > /proc/sys/vm/drop_caches  #1 --true   0 --false
echo 0 > /proc/sys/vm/drop_caches
cache   #从内存中读数据,分配的内存空间
buffer  #从数据写到内存,分配的内存空间

相关文章:

  • 2022-12-23
  • 2021-07-01
  • 2021-08-03
  • 2021-07-15
  • 2021-09-14
  • 2022-01-14
猜你喜欢
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-12-31
  • 2021-11-09
相关资源
相似解决方案