Me and BcY are having some plans for future
!!!
Servers
Where can i learn linux
Where can i learn linux
!!!
Chingy has written
Chingy has written
BOXXY: No clue dude. Sorry.
BOXXY: Add me on Xfire so I can help you out. Maybe you will learn some stuff from me, and hopefully I will answer your questions. My Contact information are in my profile
MostAfa
cd [FOLDER] - Changes the current directory to the one specified in [FOLDER]. Example: cd /home/user/cs2d
cp [FILE1] [FILE2] - Copies file1 to file2. Example: cp /home/user/cs2d/cs2d_dedicated /home/user/backup/ will copy the dedicated file to the backup folder.
mv [file1] [file2] - Same as copy, but used to move files instead of copying them. Also used to rename files (mv file1 file1NewName
chmox +x [FILE] - makes a file "runnable", most of the time used for the cs2d_dedicated file (because this is the one that you have to run
)
su USERNAME - switches user to the username specified. DON'T RUN CS2D AS ROOT!
useradd -m [USERNAME] - Creates a new user together with his "home" folder, usually in /home/USERNAME
tar -xfv [ARCHIVE] - untars an archive. e.g.: tar -xfv ./archive.tar.bz2
ps -aux - Lists all current processes. Important when you want to stop cs2d_dedicated. Search for the line containing cs2d_dedicated and keep the PID in mind (usually one of the first numbers shown).
kill [PID] - kills the process with the PID. If that doesn't work, because the server is really broken or something, use kill -9 [PID]
wget [URL] - downloads the file specified in the URL from a webpage and puts it in the current folder
./ is the folder you're currently working in (the one you've "cd"d to. Instead of always writing /home/user/... you can also just use cd /home/user and after that use ./ for the folder
To run cs2d_dedicated, use cd to get to the folder and then do: ./cs2d_dedicated . The problem with this is: it will stop as soon as you close the shell. Because of that, you need to add a & behind the command (or use screen, google for "man screen" to get an explaination):
Geez has written