miercuri, 30 septembrie 2015

Linux Mint terminal commands



cat /proc/cpuinfo - CPU informations
lspci ; Show date about  : motherboard,video ,sound
cat /etc/issue - to see about your Linux version
whoami - show root name
mkdir , rmdir - create a folder and also delete one
sudo ifconfig - show mac,ip server and my ip
sudo passwd - change root password
last -where I was connected(logs like ip adress)
sudo fdisk -l - see partitions
df - see free space on hard
cat /etc/shadow - show scripted passwords
reboot - restart PC ;
ftp -  estabilishes a FTP connection
clear - clear terminal window
ls /usr/bin - Show all commands you can give with the terminal
date - show date 
sudo apt-get install openssh-server - open port 22
sudo apt-get remove openssh-server - close port 22
sudo /etc/init.d/ssh stop - close port 22
sudo /etc/init.d/ssh restart - restart port 22 (refresh)
gzip - arhivate     (bad english)
gunzip ; dezarhivate
zip ./virus.zip ./new.txt ; arhivate virus file .txt
zip -r - arhivate a folder
unzip virus.zip - dezarhivate archive named virus
cd director ; enter in chosen director
cd - -  -back at previous director
dir ; show the files in director you are
file ; learn a file type
useradd user ; create a new user
useradd -o -u 0 user ; create new user but with root privileges
userdel user -delete maked user
groupadd user - add groups
groupdel user - delete groups
cat /etc/passwd ; show all users
wget -r -l 1; copy complete site with posts
kill -1 -1 - kill al process
sudo apt-get remove (purge) ; softwares uninstalling
sudo apt-get autoclean - clear system
sudo aptitude safe-upgrade - if current fall during an update , restore the system to be able to enter it

Un comentariu:

  1. Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job! Mp3 Download

    RăspundețiȘtergere