Documente Academic
Documente Profesional
Documente Cultură
Team 1-25
ssh X user#@10.21.1.166
(replace # by team number. Ex: user16@...)
cd codes
cd helloworld
make
./helloworld
Team 26-50
ssh X guest@10.6.5.254
password is guest123 (typing will not be visible)
ssh X user#@192.168.1.211
(replace # by team number. Ex: user32@...)
cd codes
cd helloworld
make
./helloworld
cd ..
cd helloworld_blocks
make
./helloworld_blocks
cd ..
cd ..
cd helloworld_blocks
make
./helloworld_blocks
cd ..
Linux commands
ls list files in the current directory
mkdir name create new directory name
cd name changes current directory to name directory.
pwd - print current directory path
gedit filename & opens filename file in text editor
nvcc filename.cu compiles filename.cu and creates binary executable a.out
nvcc filename.cu -o exefile compiles filename.cu and creates binary executable exefile
./a.out executes a.out binary
./exefile executes exefile binary
cp name1 name2 - copies file name1 to file name2
mv name1 name2 rename file name1 to filename name2
rm name - permanently deletes the file name
rmdir dirname delete empty directory dirname
rm rf name delete directory and its contents or file name
rm na* - delete all files starting with na
logout logout the session.