The kill command is used in conjunction with a process ID (PID),
The killall command is used in conjunction with command names.
For command names and PIDs, the ps aux comes into use.
name@host:~/$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 231 0.0 0.0 0 0 ? D Apr30 0:16 [jbd2/sda5-8] root 232 0.0 0.0 0 0 ? S< Apr30 0:00 [ext4-dio-unwrit] hans 312 0.0 0.0 0 0 ? ZN 13:29 0:00 [debconf-communi] syslog 644 0.0 0.0 28940 1524 ? Sl Apr30 0:05 rsyslogd -c5
Descriptions as below
USER = user owning the process PID = process ID of the process %CPU = It is the CPU time used divided by the time the process has been running. %MEM = ratio of the process’s resident set size to the physical memory on the machine VSZ = virtual memory usage of entire process RSS = resident set size, the non-swapped physical memory that a task has used TTY = controlling tty (terminal) STAT = multi-character process state START = starting time or date of the process TIME = cumulative CPU time COMMAND = command with all its arguments
name@host:~/$ ps aux | grep sublime
Should do the work to find the suitable process information to kill.