Linux commands

I have worked on Windows for long time. It is time that i am going to use Linux as my server, I will host most of server applications as web server, source code control, project management system... on Linux.

Now, i start to note all Linux commands that i use when i am working on Linux system.

Install a package

rpm –ivh packagename

upgrade a package

rpm –Uvh packagename
rpm -e

create a tar file

tar –cvf myfiles.tar mydir/

(add z if you are dealing with or creating .tgz (.tar.gz) files)

Creating a symlink

ln -s /home/nguyendhex/logs ./logs

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options