Jump to content

Basic commands in Linux: Difference between revisions

From IdeaWazaWiki
wikademia>Erkan Yilmaz
No edit summary
Line 9: Line 9:
* !touch -repeat last touch command
* !touch -repeat last touch command
* cp -copy
* cp -copy
* mv -rename file
* mv - move or rename file
* top -list top 25 running processes  
* top -list top 25 running processes  
* who -list which users are logged on
* who -list which users are logged on

Revision as of 16:09, 25 August 2008

Here are some basic commands

  • ls -list files
  • su -substitute user
  • $ -shell variable
  • touch -make file and update timestamps
  • rm -delete file
  • mkdir -make directory
  • !touch -repeat last touch command
  • cp -copy
  • mv - move or rename file
  • top -list top 25 running processes
  • who -list which users are logged on
  • w -show what users are doing