Tuesday, 2 December 2014

linux

You have to install the open-terminal package :
sudo apt-get install nautilus-open-terminal
Then:
nautilus -q

in order to reset Nautilus


find . -type f -exec chmod 644 {} \;



Linux command:
-> To check server space
df -h 

-> To check folder space
du -sh foldername/

--> To check version and flavor of linux on server
cat /proc/version

--> Creating a tar.gz file
tar -czvf truconnect_qa_20170601.tar.gz truconnect_qa_20170601.sql

--> To view appended content in real time
tail -f filename

--> to find last 1 day changed files
find /directory_path -mtime -1 -ls


No comments :

Post a Comment