The way to spit large zip files into small zip files on linux (ubuntu 12.10 and older version)
cd /home/vina/Desktop/ieeezip (change the file path to where you want to keep the split files)
to split
tar -cvj /home/vina/LTEieee.zip | split -b 5m -d – “LTEieee.tar.bz.”
m denotes MB
to get back
cat large-files.tar.bz.* > large-files.tar.bz
tar -xvj large-file.tar.bz
How to View .Chm files in Linux
Chm files are Microsoft help files. They can be viewed or opened in linux using Gnochm, Kchm, Kchmviewer and Xchm.
Gnochm is used in Gnome desktop environment (you can use this in KDE but its recommended to use Kchm or kchmviewer). Kchm and Kchmviewer are KDE desktop applications and they can be used to view .CHM Files in KDE. Xchm is a xwindow application with minimal graphical interface. It looks outdated but works fine.
to open a file you have to type it like
$xchm filename.chm
Data packets conversions in seconds
1000 bps = 125 B/s
1 byte= 8 bits
kbit/s=10^3
Kibits/s = 2^10 = 1024
megabit = 1,000,000
Megibit = 1,048,576
k -kilo - 1000
ki- kilobinary -1024
KiB-1024^1
kB = 1000^1
MB = 1000^2
GB = 1000^3
TB = 1000^4
PB = 1000^5
The location for MatLab application on Linux (ubuntu 12.10 and older versions)
Use the command in the open terminal to run matlab application
CTRL+ALT+T
/usr/local/MATLAB/R2012a/bin/
./matlab
How to compile and run the progam in C,C++ code on linux terminal
The gcc command compiles a C program, and g++ compiles a C++ program
You can compile a C program (written using a text editor such as vi) by using the gcc command. For example, if the name of your program file is "assignment1.c", to compile it you may type in the following:
vina>gcc assignment1.c
OR
To compile a C++ program called "assignment1.cpp":
vina>g++ assignment1.cpp
At this point if there are errors in your program the compiler will show them on the screen and then return you to the prompt. You should then correct these errors by opening the program in your text editor.
After you have corrected your errors, you may use the same gcc or g++ command to compile it again. If there are no errors in your code the compiler will return you to the prompt without any error messages. This means that your code has been compiled into a separate executable file which by default is named as a.out. You may run the code by typing in a.out at the prompt as follows:
vina>a.out
If you wish to give a specific name to your compiled program (suppose you want to call it "assignment1") you may do this using one of the following commands instead of the regular gcc or g++ command:
For a C program:
vina>gcc -o assignment1 assignment1.c
OR
For a C++ program:
vina>gcc -o assignment1 assignment1.c
You program will be compiled into a executable file called "assignment1". As in the case of "a.out" you may run this by simply typing in "assignment1" at the prompt as follows.
vina>assignment1
cd /home/vina/Desktop/ieeezip (change the file path to where you want to keep the split files)
to split
tar -cvj /home/vina/LTEieee.zip | split -b 5m -d – “LTEieee.tar.bz.”
m denotes MB
to get back
cat large-files.tar.bz.* > large-files.tar.bz
tar -xvj large-file.tar.bz
How to View .Chm files in Linux
Chm files are Microsoft help files. They can be viewed or opened in linux using Gnochm, Kchm, Kchmviewer and Xchm.
Gnochm is used in Gnome desktop environment (you can use this in KDE but its recommended to use Kchm or kchmviewer). Kchm and Kchmviewer are KDE desktop applications and they can be used to view .CHM Files in KDE. Xchm is a xwindow application with minimal graphical interface. It looks outdated but works fine.
to open a file you have to type it like
$xchm filename.chm
Data packets conversions in seconds
1000 bps = 125 B/s
1 byte= 8 bits
kbit/s=10^3
Kibits/s = 2^10 = 1024
megabit = 1,000,000
Megibit = 1,048,576
k -kilo - 1000
ki- kilobinary -1024
KiB-1024^1
kB = 1000^1
MB = 1000^2
GB = 1000^3
TB = 1000^4
PB = 1000^5
The location for MatLab application on Linux (ubuntu 12.10 and older versions)
Use the command in the open terminal to run matlab application
CTRL+ALT+T
/usr/local/MATLAB/R2012a/bin/
./matlab
How to compile and run the progam in C,C++ code on linux terminal
The gcc command compiles a C program, and g++ compiles a C++ program
You can compile a C program (written using a text editor such as vi) by using the gcc command. For example, if the name of your program file is "assignment1.c", to compile it you may type in the following:
vina>gcc assignment1.c
OR
To compile a C++ program called "assignment1.cpp":
vina>g++ assignment1.cpp
At this point if there are errors in your program the compiler will show them on the screen and then return you to the prompt. You should then correct these errors by opening the program in your text editor.
After you have corrected your errors, you may use the same gcc or g++ command to compile it again. If there are no errors in your code the compiler will return you to the prompt without any error messages. This means that your code has been compiled into a separate executable file which by default is named as a.out. You may run the code by typing in a.out at the prompt as follows:
vina>a.out
If you wish to give a specific name to your compiled program (suppose you want to call it "assignment1") you may do this using one of the following commands instead of the regular gcc or g++ command:
For a C program:
vina>gcc -o assignment1 assignment1.c
OR
For a C++ program:
vina>gcc -o assignment1 assignment1.c
You program will be compiled into a executable file called "assignment1". As in the case of "a.out" you may run this by simply typing in "assignment1" at the prompt as follows.
vina>assignment1
No comments:
Post a Comment